HP Anywhere API Reference
getAdminSetting Method
the ID in which the setting exists. the category Id is the same as the service ID.
the setting key whose value you want to retrieve
Use this method to get an App setting according to key definition in the App admin settings XML file.
The admin setting is retrieved according to the tenant if it is defined as tenant setting in the XML file.
Syntax
java.lang.String getAdminSetting( 
   java.lang.String categoryId,
   java.lang.String settingName
)

Parameters

categoryId
the ID in which the setting exists. the category Id is the same as the service ID.
settingName
the setting key whose value you want to retrieve

Return Value

string the setting value for the given setting name(key)
Exceptions
ExceptionDescription
com.hp.btoaw.integration.service.exception.MissingSettingExceptionAn exception is thrown if user tries to get a setting using a non-existing contextID/categoryID/settingID
Since
HP Anywhere 10.00 and later
See Also

Reference

AdminSettingsService Interface
AdminSettingsService Members