- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I need to have the Email client attribute to show only for logged in users with a certain role. can someone please help?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Then please inform customer that this requirement is not feasible.
š” If my response helped, please mark it as correct ā and close the thread šā this helps future readers find the solution faster! š
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
There is a field that the incident management team can set to Initial, Update, or Resolve, on the incident form which changes the template and triggers an email to all of leadership. The problem is that anyone viewing the ticket and using the email button will inadvertently email all of leadership, which has already happened. To prevent this, I would like to restrict the email button so that only the Incident Management team can use it when one of these templates is active.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Me Being Mustaq can you please elaborate on the "email_client_attribute_field_name"?
please share a screenshot from your PDI or client in anonymised view, to better understand where you found it?
Thank you very much for sharing validated content
/* If my response wasnāt a total disaster āļø ā drop a Kudos or Accept as Solution ā āļø Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Gary Larsen yes exactly this, not sure if a on load client script or display business rule could manipulate this according to the role of logged in user..
/* If my response wasnāt a total disaster āļø ā drop a Kudos or Accept as Solution ā āļø Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
as I mentioned yesterday there is no OOTB way to show/hide the email client based on some condition.
Either it will be shown or hidden always.
You can use onLoad client script + DOM and then show/hide that based on your form field value.
Note: DOM manipulation is not recommended
See below responses
š” If my response helped, please mark it as correct ā and close the thread šā this helps future readers find the solution faster! š
Ankur
⨠Certified Technical Architect || ⨠9x ServiceNow MVP || ⨠ServiceNow Community Leader
