We’ve developed some resources to help you work effectively from home during COVID-19 Click to learn more

Web panels and SOProtocol

In this article

    Web pages shown in web-panels can use SOProtocol links to manipulate the SuperOffice user interface.

     

    For example, this link will display the Appointment dialog:

    <a href="superoffice:contact.appointment">show appointment dialog</a>

     

    The problem is that the link also re-loads the page, showing a blank page as well as showing the appointment dialog.

     

    To avoid getting the blank page in our face, we use the TARGET attribute on the link to place the result of the click somewhere that the user can't see it.

    To hide the result, we use a hidden IFRAME to receive the blank page.

     
     <a href="superoffice:contact.appointment" target="hiddenframe">show appointment dialog</a>
    <iframe name="hiddenframe" style="display:none"></iframe>

    You can now click the link, and the appointment dialog appears, and the web page remains unchanged.