Protocol on Pocket

Does anyone know if there is a protocol in pocket like there is on web, it should be called from a web page shown on the web panels of pocket, e.g. on a sale screen? 

e.g. SuperOffice.ClientCrossMessaging.refresh();

or e.g. SuperOffice.ClientCrossMessaging.executeSoProtocol('soprotocol:sale?sale_id=222');

Or maybe there is some other way to just refresh the current page? I need it on sale, the sum of the sale can change depending on some action on the web page. As it is now, the user cannot know if he/she did update the sale, not until the sale is reloaded, and that it is not good enough.

RE: Protocol on Pocket

Hi Martin!

SuperOffice Mobile does have some soprotocol support, but not the cross-origin communication. Eventually we would like to support the same type of capabilities shared between the web client and Service Triggers (EventData, i.e. navigateTo), but that's just a wish today.

Unsupported/Unofficial capabilities (can change at any time):

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>SuperOffice links</title>

</head><body>

<h1>Tasks</h1>
<a href="superoffice://person?person_id=198&amp;call&amp;callnumber=93466021">Call person</a>
<a href="superoffice://contact?contact_id=2&amp;call&amp;callnumber=93466021">Call contact</a>
<a href="superoffice:appointment?appointment_id=24&amp;accept">Accept appointment</a>
<a href="superoffice:appointment?appointment_id=24&amp;reject">Reject appointment</a>
<a href="superoffice://diaryXxx?noscreen=$%&amp;/().,asdas%C3%B8kdas">Invalid link</a>

<h1>Open an entity screen</h1>
<a href="superoffice://person?person_id=198">Person</a><a>
</a><a href="superoffice://contact?contact_id=2">Contact</a><a>
</a><a href="superoffice://project?project_id=2">Project</a><a>
</a><a href="superoffice://appointment?appointment_id=2">Appointment</a><a>
</a><a href="superoffice://document?document_id=200">Document</a><a>
</a><a href="superoffice://sale?sale_id=123">Sale</a><a>

<h1>Home screens</h1>
</a><ul><a>
</a><li><a> </a><a href="superoffice://diaryhome">Diary (no subscreen)</a>
</li><li> <a href="superoffice://diaryhome.checklist">Diary Checklist</a>
</li><li> <a href="superoffice://diaryhome.upcoming">Diary Upcoming</a>
</li><li> <a href="superoffice://diaryhome.week">Diary Week</a>
</li><li> <a href="superoffice://diaryhome.day">Diary Day</a>
</li><li> <a href="superoffice://diaryhome.month">Diary Month</a>
</li><li> <a href="superoffice://diaryhome.year">Diary Year (invalid subscreen)</a>
</li></ul>
<br>
<ul>
<li> <a href="superoffice://contacthome">Contact</a>
</li><li> <a href="superoffice://contacthome.search">Contact Search</a>
</li><li> <a href="superoffice://contacthome.favorite">Contact Favorites</a>
</li><li> <a href="superoffice://contacthome.colleague">Contact Colleagues</a>
</li><li> <a href="superoffice://contacthome.projectmember">Contact Project</a>
</li><li> <a href="superoffice://contacthome.selectionmember">Contact Selection</a>
</li></ul>
<br>
<ul>
<li> <a href="superoffice://projecthome">Project</a>
</li><li> <a href="superoffice://projecthome.search">Project Search</a>
</li><li> <a href="superoffice://projecthome.favorite">Project Favorites</a>
</li><li> <a href="superoffice://projecthome.myopen">Project My Open</a>
</li></ul>
<br>
<a href="superoffice://salehome">Sale</a>
<br>
<a href="superoffice://imagehome">Image</a>
<br>
<a href="superoffice://invitations">Notifications</a>
<br>
<h1>Various links</h1>
<a href="mailto:pocket@superoffice.com">mailto:pocket@superoffice.com</a>
<br>
<a href="mailto:pocket@superoffice.com?cc=pocket2@superoffice.com">mailto:pocket@superoffice.com?cc=pocket2@superoffice.com</a>
<br>
<a href="mailto:pocket@superoffice.com&amp;cc=pocket2@superoffice.com">mailto:pocket@superoffice.com&amp;cc=pocket2@superoffice.com</a>
<br>
<a href="mailto:pocket@superoffice.com;pocket2@superoffice.com?subject=Custom%20mailto%20subject&amp;body=Hi,%0AIn%20this%20article%20you%20will%20find%20samples%20about%20how%20to%20use%20MailTo%20in%20HTML">mailto:pocket@superoffice.com;pocket2@superoffice.com?subject=Custom mailto subject&amp;body=Hi,%0AIn this article you will find samples about how to use MailTo in HTML</a>



</body></html>

Best regards

 

By: Tony Yates 11 Oct 2021

RE: Protocol on Pocket

Hej Tony!

Wow, I'll check them out..

Thank you very much!

By: Martin Andersen 11 Oct 2021