5 Replies Latest reply on Jun 17, 2015 4:21 AM by nilsheuer

    Spotted a new JS api method in 2015.2

    pawans

      Hi Aron,

      After the 2015.2 webinar this week, I tried the html tile on jive preview site.

      I saw that users have option to upload images in it.

      I got curious on how you folks are uploading the images and where are they uploaded. So I checked the JS code for the tile and found out this new method in jive apps/ tiles on osapi.jive.core.container

      osapi.jive.core.container.requestXJToken.

       

       

      As I understood, this might help devs to call REST apis from apps which was not easy before due to cross domain issues.

      Can you please share more details on this new method added and how it is expected to be used?

       

      The other methods which have been there in older releases were as follows which people already have been using a lot

       

      closeApp
      editor
      gatherCredentials
      getLaunchContext
      initPlacePicker
      initUserPicker
      maximizeApp
      requestCoreApiUpload
      requestCoreApiUploadMediaItem
      requestNavigateTo
      requestXJToken
      sendNotification
      
      

       

      Wanted to know more about the new XJToken one added.