Reputation: 414
I have two questions here. I am using Microsoft USD 4.0 with CRM v9 and I am in a scenario where I want to open a third party desktop application within USD tab.
Now, opening the application is USD tab is not so difficult but what I want to do is open that application by push of a button inside a CRM page that is already opened inside USD.
So the scenario is like below,
1) We have a CRM Page opened inside USD.
2) Once user push a button inside that CRM Page a new tab will open.
3) The tab will be opened inside USD after we push the button inside CRM page.
The other question is,
We are also in the stage of developing the third party application. So what points should we keep in mind to make it compatible with USD?
Upvotes: 0
Views: 152
Reputation: 765
One of the most commonly used way of opening a tab in USD from a button click in CRM page is to trigger an USD event from JavaScript tagged to the button click.
Trigger the same event from JavaScript something like below,
window.open("http://event/?eventname=YourEventName);
Make sure you check for window.IsUSD before executing this part of code within JavaScript.
Once this event call is added to the JavaScript, you will get that triggered in USD on button click of CRM page.
Once you can track the event in USD, you should be knowing how to take it forward by adding action calls under the event which got triggered.
Hope that helps. Let us know if you have any queries regarding the same.
Upvotes: 1