RE: Webhooks - Bulk Updates
Tony,
Thanks for clarifying the architecture behind the scenes, that's very valuable information for the overall understanding.
This could actually be worth adding to the documentation of "CrmScript Hooks" [1] so it gets clear what's available without having to register for a custom app, etc. Your different crmscript examples could also be valuable to add there. Just so it gets even easier to just getting started.
[1]
https://community.superoffice.com/documentation/sdk/SO.NetServer.Web.Services/html/webhooks_crmscript.htm
Different types of calling methods
It would also be worth pointing out the difference of the code needed in the called crmscript depending on if you call the crmscript using an URL vs using the crmscript-include-name.
In the URL-case your CRMScript is handled as an "web service end point CRMScript", where the crmscript code have to be wrapped using:
%EJSCRIPT_START%
<%
%>
%EJSCRIPT_END%
Whereas in the case of calling the script using the crmscript-include-name, the called crmscript is handled as any normal crmscript.
How to get the parameters
It might also be worth mentioning how parameters can be fetched from the call depending on the method used and if there are any special pros and cons using different methods.
In the case of using the crmscript-include-name, I have noticed that the parameters can be gotten using getVariables() or getVariable("variableName").
In some of the examples of the URL-method, the function getCgiContent() is used instead. I don't know if getVariables() can be used also for these type of method-calls?
This could be valuable information if one converts from one method to the other or wants to be using a generic method that could work out of the box for both types of method calls.
/Marcus