1 Reply Latest reply on Dec 10, 2014 2:42 PM by ryanrutan

    Populating the list tile contents dynamically

    krishnapriya

      Hi Ryan,

       

      I am trying to populate list tile contents dynamically by calling OSAPI. But when i try to add osapi code in my services.js, the add-on is not working.

      Am i adding my code in wrong place? Is OSAPI available in services.js file?

      Please suggest.

       

      Here is the sample code that i have added in processTileInstance method from services.js file to see whether osapi is available in services.js

      osapi.jive.corev3.contents.getPopularContent({"place": instance.config.parent}).execute(function(data) {

              jive.logger.info(data);

          });

       

      Thanks!

      krishna Priya.