Houston video calls: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 37: Line 37:
If you want to initiate and receive calls directly from the Dynamics backend:
If you want to initiate and receive calls directly from the Dynamics backend:
* Create an app project with the name "Houston" and enter the same Agora credentials as in your usual project.
* Create an app project with the name "Houston" and enter the same Agora credentials as in your usual project.
* Register your browser to receive notifications. This is a one-time action. As a security measure from the browser, this cannot be automated. Log in to Dynamics, go to '''Resco Suite > Houston''', and click '''Register Houston'''.<br>[[File:Register houston in dynamics.png|600px]]
* If you want to receive calls, you must register your browser to receive notifications. This is a one-time action. As a security measure from the browser, this cannot be automated. Log in to Dynamics, go to '''Resco Suite > Houston''', and click '''Register Houston'''.<br>[[File:Register houston in dynamics.png|600px]]
* 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">
var calleeId = "callee's id";
var calleeName = "callee's name";
var encodedData = encodeURIComponent("call&calleeId=" + calleeId + "&calleeName=" + calleeName);
</syntaxhighlight>


== Add the command for initiating calls ==
== Add the command for initiating calls ==
Line 44: Line 50:
* In questionnaires
* In questionnaires
* In entity forms
* In entity forms
* Custom location


=== Set up your questionnaire ===
=== Set up your questionnaire ===
Line 63: Line 68:


[[File:Add houston command.png]]
[[File:Add houston command.png]]
=== Custom command ===
The video call can also be started by opening the URL <code><nowiki>TBD</nowiki></code>. You can add the link to the app, for example, as a home screen item, but you can also add it to your Dynamics form.


== Start a call ==
== Start a call ==

Navigation menu