Hi,
I want to be able to refresh SuperOffice Online webpanels using javascript in an app hosted in azure (embedded in a SO WebPanel).
I can call SuperOffice.ClientCrossMessaging.refresh() for onPrem installations but it doesn't appear to work for Online. If this a cross-domain issue?
What is the best solution for achieving this for online?
Cheers
Rich
Allt Svar (2)
Hi Rich,
we have several webapplications running in Azure, hosted on our own domain, which are webpanels in SuperOffice Online, where ClientCrossMessaging works fine.
The javascript for ClientCrossMessaging.js is included as a static file in our webapp.
Do you get any errors in the console in the browser?
Hi Frode,
No, I don;t get anything, which is why I can't figure out the problem!
I have setup a test bench here, where I host a very simple webpage locally and expose it to the web using nkrok.
I have this installed exactly the same in both an OnPrem Version of SO and in my SOD version. All it does is call Refresh, it works in my OnPrem but not SOD!
I have not change any value on the Company record, does this make any difference? I.e. does the record only refresh if there is a change to the record?
In the OnPrem version, I can see the webpanels re-load, but nothing in SOD.
Cheers
Rich