SOProtocol: Open dialog and automatically add person, company and sale

lock
push_pin
done
Beantwoord
1

Hi,

We are working from a webpanel on the SuperOffice logo, and we need to open the dialog window to create a new appointment with pre-filled data.

We can open up specific appointments just fine with:

SuperOffice.ClientCrossMessaging.executeSoProtocol('appointment.main[refresh=false]?appointment_id='+id);
 
But, when running the following code, the Sale is not populated (but, it works when we are actually standing on the sale in the gui)

SuperOffice.ClientCrossMessaging.executeSoProtocol('appointment.main[new=true]?appointment_id=0&sale_id=12345');

How can this be achived?

Regards
Pär Pettersson

6 nov 2024 | 03:35 p.m.

Alles Antwoorden (1)

Based on the documentation, this currently isn't possible.

6 nov 2024 | 06:52 p.m.

Reply toevoegen