var configurationElementPath = "<Folder>/"+tenant;
var configurationElementName = "element";
var attributeName = "RepoRestHost";
var category = Server.getConfigurationElementCategoryWithPath(configurationElementPath);
var elements = category.configurationElements;
for each ( var element in elements) {
if (element.name == configurationElementName) {
var configurationElement = element;
}
}
AttributeValue = configurationElement.getAttributeWithKey(attributeName).value;
var configurationElementName = "element";
var attributeName = "RepoRestHost";
var category = Server.getConfigurationElementCategoryWithPath(configurationElementPath);
var elements = category.configurationElements;
for each ( var element in elements) {
if (element.name == configurationElementName) {
var configurationElement = element;
}
}
AttributeValue = configurationElement.getAttributeWithKey(attributeName).value;