Hi all, we are trying to access from the USD to a desktop application that has different arguments when executed (or launched from command line). The arguments are:
-user
-password
-window to open
With this arguments filled correctly the desktop application authenticate with the user and open in the desired window. The window to open depends on data from the USD context, and we have user and password of this application in the USD context too.
The problem comes when creating the hosted control, as the field "arguments" in the definiton does not allow replace parameters. We have tried different approaches:
- From the toolbar launch the action "ExecuteShell" from "CRMGolbalManager" hosted control. These allow to fill the arguments but launch outside USD
- Create a Hat Application. We don't know if is there any way to change the arguments in the initstring dynamically.
- Create an "application adapter" and change the initstring. We can change the initstring, but we have found that the Hosted Control is loaded when USD starts and does not get the changes made when the events of the adapter are launched.
- Create a Custom hosted control and change the initstring to "lie" to the control and launch the desktop application instead itself. But that does'nt work either.
Has anybody knows how to deal with this requirement? Any idea would be gratefully received!! :-D
*This post is locked for comments