Skip to content

Instantly share code, notes, and snippets.

@virtualhobbit
Created May 21, 2020 13:01
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save virtualhobbit/0f76546f67f93513f3e869fe657e87ca to your computer and use it in GitHub Desktop.
var category = Server.getConfigurationElementCategoryWithPath(inConfigurationElementPath);
var elements = category.configurationElements;
for each ( var element in elements) {
if (element.name == inConfigurationElementName) {
var configurationElement = element;
}
}
configurationElement.setAttributeWithKey(inName, inValue);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment