Changes

Jump to navigation Jump to search
910 bytes added ,  12:51, 9 September 2021
Line 49: Line 49:  
* In questionnaires
 
* In questionnaires
 
* In entity forms
 
* In entity forms
 +
* As a custom URL
    
=== Set up your questionnaire ===
 
=== Set up your questionnaire ===
Line 67: Line 68:     
[[File:Add houston command.png]]
 
[[File:Add houston command.png]]
 +
 +
=== Custom call URL ===
 +
 +
Alternatively, you can use a custom URL to initiate a call. For example, you can add the URL as a command, button, or home screen item. The URL format depends on your backend server:
 +
* Dynamics: <code><nowiki>https://<dynamics-organization-url>/webresources/resco_MobileCRM/WebClient/registerHouston.html?data={encodedData}</nowiki></code>
 +
* Resco Cloud: <code><nowiki>https://<your organization>.build.rescocrm.com/WebApp/registerHouston.html?data={encodedData}</nowiki></code>
 +
 +
If you want to initiate calls, you can for example add a button on the Dynamics user form that would point to the URL . Encoded data must be created in the following format:
 +
:<syntaxhighlight lang="js">
 +
var calleeId = "<callee's id>";
 +
var calleeName = "<callee's name>";
 +
var encodedData = encodeURIComponent("call&calleeId=" + calleeId + "&calleeName=" + calleeName);</syntaxhighlight>
    
== Start a call ==
 
== Start a call ==

Navigation menu