Reputation: 404
I am working on CRM 8.2 and 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.
I have seen some articles where we can inject our data to javaScript but only for Unified Interface Pages. 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.
Upvotes: 2
Views: 292
Reputation: 5531
You can definitely do so. I just answered the other day for passing form context to 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.
Upvotes: 0