29-01-2021, 03:25 PM
You can use %CUSTOM_Cake% in the "credentials - user name" field - I just tried that - I just created an ext app for testing
Notepad.exe
Arguments: %Username%.txt
Now create a connection - protocol ExtApp - assign the credentials that have "%CUSTOM_Cake%" in user name field and the created extapp (notepad) - of course the variable must be set in global settings with any context - I just tried with test123
If I run the connection notepad trying to open test123.txt - so the Variable content is used in creds, can be read in extapp or connections :-)
For the Custom Variables (extension of connection fields) - you need to use "%Custom1%" "%Custom2%" or "%Custom3%" - didn't try it right now but can see it in code when using it in combination with ext.app.
Hope that helps - or do you miss anything else?
Notepad.exe
Arguments: %Username%.txt
Now create a connection - protocol ExtApp - assign the credentials that have "%CUSTOM_Cake%" in user name field and the created extapp (notepad) - of course the variable must be set in global settings with any context - I just tried with test123
If I run the connection notepad trying to open test123.txt - so the Variable content is used in creds, can be read in extapp or connections :-)
For the Custom Variables (extension of connection fields) - you need to use "%Custom1%" "%Custom2%" or "%Custom3%" - didn't try it right now but can see it in code when using it in combination with ext.app.
Hope that helps - or do you miss anything else?
Regards/Gruss
Oliver
Oliver