2 Replies Latest reply on Mar 3, 2016 9:57 AM by laurent.ducamp@ext.adeo.com

    Apps : is there a simple way to force the page refresh in browser

    laurent.ducamp@ext.adeo.com

      Hi,

       

      I developp a simple apps to update a document and move it with a contextual menu. The apps works, and the document is moved to the target community. But I can't see the new location without a manuel refresh (F5).

       

      I try this Javascript function, but it failed with cors restrictions. Is there a way to send an event to container ? or a javascript tips ?

       

       

       

       

      function refreshPage() {

         osapi.jive.core.container.closeApp({message: 'Done', severity: 'success'});

         window.location.reload();

      }

       

      Thanks in advance