Dynamic Field Label based on Current View in Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Community Experts
We have a requirement where different views are being followed on a Table:
Form/List in both Native/ Workspace
Eg - Audit Engagement form will be holding View A/ View B/ etc. based on Groups on Audit Workspace
Here, the ask is to show the Field "Engagement Lead" as Audit Lead for View A and Inspection Lead for View B on Audit Workspace.
As per my knowledge, we are able to use getView() to control g_form.setLabel() in NATIVE UI. But have not been able to reach any conclusion in WORKSPACE.
Although we have Workspace View Rules to apply different UI Views for Workspace YET
"Is it possible to have extract the View applied and set Dynamic Labels based on the view applied on Workspace?"
Kindly share the possibilities for the above scenario.
Thanks in advance.
Best Regards,
Sameekshya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Your option is the view rules as you rightly stated to enforce views to different personas. However, what is the business reason of having different field labels? Some requirements are perfectly fine of being pushed back 🙂
Regards,
**Martin Virag**
ServiceNow Rising Star
