Skip to content

Instantly share code, notes, and snippets.

@virtualhobbit
Created May 21, 2020 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save virtualhobbit/9c4766d131a0c18c80e028c18c69b555 to your computer and use it in GitHub Desktop.
Save virtualhobbit/9c4766d131a0c18c80e028c18c69b555 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;
}
}
var result = (configurationElement.getAttributeWithKey(inName).value);
return result;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment