Article
· Feb 11, 2016 1m read

Displaying an Ensemble setting as read only

We heard from a customer who wanted to display a version number as a read-only production setting. During the build on the build server, this version number is added to the Production class. This works fine, and the Version is displayed in the Portal, but the customer wanted to write protect it, so the enduser can’t change it. The customer had defined the setting like this:

Property Version As %String;
Parameter SETTINGS = "Version:Info";

We advised the customer to define SETTINGS like this instead:

Parameter SETTINGS = "Version:Alerting:label"

where label is the control to use and Alerting the group where the setting will appear.

For details on this option and related ones, see

docs.intersystems.com/ensemble_latest/csp/docbook/DocBook.UI.Page.cls?KEY=EGDV_prog#EGDV_prog_settings_options

Discussion (0)0
Log in or sign up to continue