Program Service: How-to's (Batch Editing displayNames)

1st:    Search for the desired components and add a slot of type baja:NameMap named displayNames.

Note: The BNameMap stores a list of key value pairs which are separated by semicolon characters, such as the example below. Mandatory syntactical formatting: must use the curly braces as seen below, and even if there is only one key value pair it still requires the semicolon symbol.

{queriedComponent="whatEverNameYouDesire";}

Please take note that the keys are the slot names and the values are the desired display names.

An example of the syntax is as follows:.

{set="Edit Setpoint";emergencyActive="Emergency Override ON";emergencyInactive="Emergency Override OFF";emergencyAuto="Emergency Control Release Back To Normal Control";active="override on";inactive="override off";auto="automatic control";} The preceding was a bit exaggerated with the sole intention of providing a clear syntax use-case.

2nd:    Best practice: after adding the displayName slot, select the edit slot flags button, then select the displayNames slot from the drop down menu (if not already in focus), and lastly, select the hidden flag and click the set flag checkbox. This will add the hidden flag to the displayName slots so that they are not visible on the property sheet.

Note: If there are existing displayName slots created not using the batch editor, you may need to first find the slots and edit slot flags to remove the readonly flag.
Also, if there are existing displayName slots assigned, you will need to include the desired key value pairs for the existing definitions because the operation in the batch editor will overwrite the current displayName values.

Add Feedback