Start a new topic

Using variables in properties

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:

site="newyork1"


and then in the connections for that folder, I could call it within connection properties.

For example for hostname I could put: 

host1.${site}.mydomain.example.com

 

Is there a way to do this? 

Thanks

1 Comment

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.

Login or Signup to post a comment