Apologies if I missed this in documentation, but I would like to use variables in connection properties. I looked at "custom properties" but it wasn't clear how to use them after they are set or the context in which they are used.
For example, at the folder level, I would like to set something like:
and then in the connections for that folder, I could call it within connection properties.
For example for hostname I could put:
Is there a way to do this?
The only way I can think of is to build a Dynamic Folder Script that would build out the host list using the token value.
You could likely put the list of host1, host2, host3 into another Custom Property (though I don't know the size limit) and even put the "my domain.example.com" in a third property.
The Dynamic script is then just a loop over the host list that concatenates the rJSON output.
you can set a Custom Property TextField in your connections folder, like so:
Afterwards, open the properties of your (RDP) connection and enable the "Use Custom Properties from parent folder" setting:
This allows you to access these in the Computer Name Field via "$CustomProperty.Hostname$":
I hope this helps!