SOProtocol: Open dialog and automatically add person, company and sale
Click here to subscribe
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
All Replies (1)
Add reply
info
Please log in to post a reply.