Domain separation of labels

SN-Murph
Kilo Contributor

Hi,

I'm wondering if there is a way to separate field labels.

Meaning a user from a different domain would be able to change the label without affecting other users from other domains.

I have added the sys_domain field on the Field Label table and also the override field.

The domain user see his customised domain label. On the form the label of the global domain is still shown.

Any idea?

3 REPLIES 3

The SN Nerd
Giga Sage
Giga Sage

Unless something has changed in Fuji, domain separation does not provide this functionality.



If you are on Fuji, you could create a onLoad Client Script that checks for the domain of the ticket and then use the setLabelOf method to change the label based on a condition.



if (g_form.getValue('sys_domain') == DOMAIN ) {


        g_form.setLabelOf('u_field','Domain Label');


}



GlideForm (g form) - ServiceNow Wiki



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

This doesn't fix the List View label and reports


You'll have to ask ServiceNow nicely to add it as a feature in future releases of the product



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022