[英]How to catch click to dial events in Unified Service Desk?
The event raised by clicking on a phone number will either be of the form "tel:" or "skype:". 通过单击电话号码引发的事件将是“tel:”或“skype:”形式。 Here are the steps I've followed so far to enable a window navigation rule to capture the event, and I've attached events to the rule to actually see the action get fired in the Debugger.
到目前为止,我已经遵循了以下步骤来启用窗口导航规则来捕获事件,并且我已经将事件附加到规则以实际看到在调试器中触发的操作。 Still, even with navigation rules set to capture tel: and skype:, the action will never fire in USD Debugger.
尽管如此,即使将导航规则设置为捕获tel:和skype:,该操作也永远不会在USD Debugger中触发。 Here is the general approach I've used so far (From another post):
这是我到目前为止使用的一般方法(来自另一篇文章):
Create a Windownavigation rule. 创建Windownavigation规则。
Don't put anything into the entity Settings but put "tel:" or "skype:" into the URL TextBox. 不要将任何内容放入实体设置中,而是将“tel:”或“skype:”放入URL TextBox中。
Routetype will be Popup Routetype将是Popup
Target will be Tab (or registercard, at least I think that's the name for it in english - I'm using a german one) 目标将是Tab(或注册卡,至少我认为这是英语的名称 - 我使用的是德语)
Define None as Action in result for your Windownavigationrule 在Windownavigationrule的结果中将None定义为Action
Create your own Action to resolve when the Navigation rule is triggered 创建自己的Action以在触发导航规则时解决
Set your own hosted control (In this case I use the CTIConnector class.) 设置您自己的托管控件(在本例中,我使用CTIConnector类。)
Define an Actionname for your Action that will be exectued (I named it "MakeCall" in CRM) 为将要执行的Action定义一个Actionname(我在CRM中将其命名为“MakeCall”)
Set Data to [[SUBJECTURL]] so the URL ist given to the Action als Parameter. 将数据设置为[[SUBJECTURL]],以便将URL提供给Action als参数。
Override the method DoAction from your hosted control 从托管控件覆盖方法DoAction
Just 2 -3 points to verify. 只需2-3点即可验证。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.