Published on InterSystems Developer Community (https://community.intersystems.com)

Home > How can we set the displayed label of a SETTING in the portal ?

Question
Michel Liberado · Feb 12, 2020

How can we set the displayed label of a SETTING in the portal ?

Hi,

I need to set the label of a custom setting in the portal instead of the name of the associated property, eg.:

Class SomeClass Extends (Ens.BusinessService, %ZEN.Portal.ContextSearch)

{

Property ABadPropertyNameToChange As %Boolean;

Parameter SETTINGS = "ABadPropertyNameToChange:CustomSettingsSection"
}

will result in this in the portal

-------------------------------
CustomSettingsSection

ABadPropertyNameToChange

[ ]

It has to be possible because of you look at the Basic settings of a Business Service (just an example), there is a setting named "Call Interval" and I doubt that the associated property has a blank space in its name. 

SETTINGS documentation: https://docs.intersystems.com/irisforhealth20194/csp/docbook/Doc.View.cls?KEY=EGDV_prog#EGDV_prog_settings_options
 

#ZEN #InterSystems IRIS for Health

Source URL:https://community.intersystems.com/post/how-can-we-set-displayed-label-setting-portal