1 Reply Latest reply on Apr 20, 2015 7:31 AM by butch

    jive.tile.onOpen - config not retrievable?

    butch

      I have been trying to get tiles working, but I am having a hard time retrieving the config that I saved in config.html in view.html.

       

      Saving the config seems to work fine!  jive.tile.onOpen always has what I previously saved.

       

      My server is sent the pushData on tile registration.  Am I mistaken that the config data is stored in the Jive instance when "dataProviderKey": "internal" is set? Do I actually need to store that pushData on my server and retrieve it from my server whenever the tile is loaded?  I feel this is not the case, as config.html has access to the previously stored pushData.

       

      definition.json

       

      I have tried both with and without using dataProviderKey and sampleData in the definition.json with no different result.

      Screenshot from 2015-04-20 10:03:31.png

       

      config.html

       

      source

      Screenshot from 2015-04-20 09:47:28.png

      rendered

      Screenshot from 2015-04-20 09:45:34.png

       

      The pushData is sent over to my server.

      Screenshot from 2015-04-20 09:56:07.png

       

      view.html

       

      source

      Screenshot from 2015-04-20 09:50:13.png

       

      rendered

       

      Screenshot from 2015-04-20 09:50:55.png

       

       

      The console.log of config in view.html does not contain the pushData that config.html seems to always contain.

       

      I must be missing something pretty basic - I just can't figure out what it is!

       

      Thanks for any help  you can provide.