2 Replies Latest reply on Jul 13, 2015 7:22 PM by yingjieg

    Is it necessary to set id property in tile json definition ?

    yingjieg

      Hi all

      When I use jive-sdk to create a tile, I will get json definition like below. There is no property "id", but in jive sdk java version , I saw the "id" property filled with uuid in the json definition.

      Is it necessary to use this "id" property ? Can I ignore it ?

       

      {

         "sampleData":{

            "title":"sampletile-table tile-table",

            "contents":[

               {

                  "name":"Value",

                  "value":"Initial data"

               }

            ]

         },

         "displayName":"sampletile-table",

         "name":"sampletile-table",

         "description":"sampletile-table",

         "style":"TABLE",

         "id": "[[UUID]]",

         "icons":{

            "16":"https://community.jivesoftware.com/servlet/JiveServlet/showImage/102-99994-1-1023036/j.png",

            "48":"https://community.jivesoftware.com/servlet/JiveServlet/showImage/102-99994-1-1023036/j.png",

            "128":"https://community.jivesoftware.com/servlet/JiveServlet/showImage/102-99994-1-1023036/j.png"

         },

         "action":"http://localhost:8090/sampletile-table/action",

         "config":"http://localhost:8090/sampletile-table/configure",

         "unregister":"http://localhost:8090/unregister",

         "register":"http://localhost:8090/registration"

      }