9,270
edits
Join the Power Platform Masterclass #2 starting April 23
No edit summary |
|||
Line 40: | Line 40: | ||
* If you want to initiate calls, you can for example add a button on the Dynamics user form that would point to the URL <code><nowiki>https://<dynamics-organization-url>/webresources/resco_MobileCRM/WebClient/registerHouston.html?data={encodedData}</nowiki></code>. Encoded data must be created in the following format: | * If you want to initiate calls, you can for example add a button on the Dynamics user form that would point to the URL <code><nowiki>https://<dynamics-organization-url>/webresources/resco_MobileCRM/WebClient/registerHouston.html?data={encodedData}</nowiki></code>. Encoded data must be created in the following format: | ||
:<syntaxhighlight lang="js"> | :<syntaxhighlight lang="js"> | ||
var calleeId = "callee's id"; | var calleeId = "<callee's id>"; | ||
var calleeName = "callee's name"; | var calleeName = "<callee's name>"; | ||
var encodedData = encodeURIComponent("call&calleeId=" + calleeId + "&calleeName=" + calleeName); | var encodedData = encodeURIComponent("call&calleeId=" + calleeId + "&calleeName=" + calleeName);</syntaxhighlight> | ||
</syntaxhighlight> | |||
== Add the command for initiating calls == | == Add the command for initiating calls == |