I have a constant SQL connection string that I am looking to programmatically update as the Data Source name does change with deployments. Is there a function that could perform this?
Using Automate 10.6.
Hi Moses,
You will need to populate a variable with the constant value during execution and then update the datasource. Currently there is no functionality to update constants programmatically.
-Leonard
If I recall correctly, the API does allow for the modification of constants created at the agent level, but not at the server level.
you can edit the xml config / registry
@David Seibel - Are you able to direct me to more information about the agent level API?
@Stephen Woodward - Do you mean the AML code? If not, can you provide some more information on this?
@David Seibel - Are you able to point me in the direction of some documentation for this API?
@Stephen Woodward - Do you mean the AML code? If not, can you explain further?
The API documentation:
http://cloud.networkautomation.com/installs/AutoMate/v10/10.5.0.56/BPA_RESTful_API.html#07
The constants are stored in the registry in version 10 in:
HKEY_LOCAL_MACHINE\SOFTWARE\AutoMate\AutoMate 10\Constants
_
You must be signed in to post in this forum.