> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SOProtocol and web panels - web

> SoProtocol and web panels - web

\[dialog=stop]

\[mode=display|edit] (issues via crossmessaging, in app JavaScript)

* info\[mode=edit]

\[refresh=false]

\[usesuperstatecopy=true] (disconnect dialog from current updates)

* Only for dialogs use.

Normal operation is to refresh card, but refresh is used to stop
rerendering card, but still update the current (superstate).

Can force card refresh by setting to true.

webPaneName\[refresh=false].minipreview?appointment\_id=245

Use SoProtocol to set the currents...

Currents are History Items:
person\_id =>

person:

* id
* name: shortcut to reduce access to the DB, list items contain IDs and name.
* type: used for different things. (differentiate)
  * associate or resource

## Sample

To get started, explore the [SoClientCrossMessaging.js sample on DevNet][1]. This sample demonstrates how `window.postMessage` can be used for communication from embedded web panels to SuperOffice CRM.

[1]: https://github.com/SuperOffice/DevNet/tree/master/CrossMessaging


## Related topics

- [SuperOffice.WebApi.Data.UserPreferenceStrings.MiniPanel](/en/api/reference/webapi/SuperOffice.WebApi.Data.UserPreferenceStrings.MiniPanel.md)
- [SuperOffice.WebApi.Data.TaskListItemType](/en/api/reference/webapi/SuperOffice.WebApi.Data.TaskListItemType.md)
- [SuperOffice.WebApi.Agents.IConfigurationAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IConfigurationAgent.md)
- [SuperOffice.WebApi.Agents.ConfigurationAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ConfigurationAgent.md)
- [Get C R M Url](/en/api/reference/restful/agent/configuration_agent/get-c-r-m-url.md)
- [Add a button or link](/en/customization/screen-designer/admin/add-button.md)
- [Legg til en knapp eller kobling](/no/customization/screen-designer/admin/add-button.md)
