简体   繁体   English

在 Javascript webresource CRM 中传递统一服务台上下文参数值

[英]Pass Unified Service Desk Context Parameter value inside Javascript webresource CRM

I am working on CRM 8.2 and Unified Service Desk 4.1.我正在开发 CRM 8.2 和 Unified Service Desk 4.1。 Now, there is a requirement where i want to pass some parameter values from within inside Unified Service Desk Data Parameters to JavaScript Webresource.现在,需要将一些参数值从统一服务台数据参数内部传递给 JavaScript Webresource。

I have seen some articles where we can inject our data to javaScript but only for Unified Interface Pages.我看过一些文章,我们可以将数据注入 javaScript,但仅限于统一接口页面。 But mine are not those.但我的不是那些。

My actual requirement is to show/hide ribbon button on basis of USD Data parameter value, so if there is any workaround then I can work on that as well.我的实际要求是根据USD Data 参数值显示/隐藏功能区按钮,因此如果有任何解决方法,那么我也可以进行处理。

You can definitely do so.你绝对可以这样做。 I just answered the other day for passing form context to webresource.前几天我刚刚回答了将表单上下文传递给 webresource 的问题。 Here is the link这是链接

But for your specific case, you need Ribbon workbench and form context and primary context.但是对于您的特定情况,您需要功能区工作台以及表单上下文和主要上下文。 This is also directly possible and you can do so.这也是直接可能的,您可以这样做。 Here is the perfect example for you.这是适合您的完美示例 I have used exact same in lot of my projects.我在很多项目中都使用了完全相同的方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用javascript将参数值传递给Web服务 - pass parameter value to web service using javascript 从 MS Dynamics CRM 中的 html webresource 窗口传递数据 - Pass data from html webresource window in MS Dynamics CRM 动态365 crm托管解决方案不覆盖Javascript Web资源 - dynamics 365 crm managed solution not overriding Javascript webresource 在Webresource Javascript CRM 2011中更改字符串字体大小 - Change string font size in webresource Javascript CRM 2011 Dynamics Crm 365 webapi - 通过 javascript 发布网络资源 - Dynamics Crm 365 webapi - publish webresource via javascript CRM 9 - 使用JavaScript WebResource基于ID从CRM实体获取记录 - CRM 9 - Fetch records from a CRM entity based on ID using JavaScript WebResource 使用Javascript从CRM内部调用WSDL Web服务 - Calling WSDL web service from inside CRM using Javascript 如何在 Dynamics CRM 4.0 中传递 Javascript 中的 Null 值? - How to pass the Null Value in Javascript in Dynamics CRM 4.0? 如何将 HTML webresource 中的值传递给 window 上的 javascript 关闭 MSCRM - How to pass values from HTML webresource to javascript on window close MSCRM Javascript将参数传递给变量内部的函数 - Javascript Pass parameter to function inside variable
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM