Posted: 16 Aug 2017 9:47 EDT Last activity: 6 Nov 2018 20:02 EST
How to set Path property value at Runtime for Windows adaptor
I wants to read the Path value from text file for windows application and assign to Path Property of Windows adaptor at runtime. Windows application .exe file path is not in specific path. It deepens upon the user profile. The application is installed on the AppData path in user profile.
example : C:\Users\testUserid\AppData\Local\Apps
So Path will be changed on the client machine. if user is try to run .openspan file from user machine.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
In order to do this, make sure your adapter's StartOnProjectStart property is set to false. You'll then add your logic to read the path or otherwise determine what it needs to be, and pass hat value to the Path property of the adapter. You might also need to set the WorkingDirectory property as well (I have found some applications that do not work when this is incorrect).