SO Protocol in external window

lock
push_pin
done
Besvart
3

In the Online we have an application running in the web panel. Application is using superoffice protocol to navigate and open documents and it is working fine. But when run in the external browser window, superoffice protocol keeps opening SuperOffice in the new browser tab.

Is this something that can be somehow fixed so the SuperOffice keeps the same tab all the time?

23. mai 2023 | 07:18 a.m.

Alle Svar (3)

Hi Josip!

When you say external browser window, do you mean "default.aspx?browser.YOUR_WEBPANEL_NAME" ?

Are you using the CrossMessaging javascript library to issue soprotocol through the browser postMessage? If not, you should. 

Best regards!

 

23. mai 2023 | 09:55 a.m.
Hi Tony,

when I say external browser windowI mean to open web panel applicaytion outside the SUperOffice in a separate browser window (click link 'Open in a separate window' in web panel inside the SuperOffice).

I used the CrossMessaging javascript library and it is working fine from the SuperOffice window but does not work at all from the separate window.

I tried with standard SO Protocol and it is working from both SuperOffice and separate window but it always opens SuperOffice in the new browser or in the another tab.

Best regards!
23. mai 2023 | 02:29 p.m.

Hi! 

We have an app that uses SuperOffice: protocol from the desktop (via SuperOffice web extensions), and sometimes SuperOffice reuses the tab and just jumps to the entity you wish, but also sometimes, a new tab is opened. 

But remember, if you are typing on something in SuperOffice, e.g. an appointment, you don't want it to jump to another place, you want a new tab to be opened.

So I think SuperOffice do it as they should, even if they sometimes open a new tab, even if you are not in editmode on the current SuperOffice page.

 

BTW: we also use Crossmessaging in other products and it is the same pattern we see.

24. mai 2023 | 07:45 a.m.

Legg til svar