Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Email client attribute on incident form

Gary Larsen
Mega Sage

I need to have the  Email client attribute to show only for logged in users with a certain role. can someone please help?

1 ACCEPTED SOLUTION

@Gary Larsen 

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! šŸ™

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

13 REPLIES 13

did you try this ? šŸ™‚

Ankur Bawiskar
Tera Patron
Tera Patron

@Gary Larsen 

no direct way for this

You can use onLoad client script + DOM manipulation to show/hide it.

Note: DOM manipulation is not recommended

See below responses

AnkurBawiskar_0-1761839383662.png

 

AnkurBawiskar_1-1761839393553.png

 

šŸ’” If my response helped, please mark it as correct āœ… and close the thread šŸ”’ā€” this helps future readers find the solution faster! šŸ™

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Thank you but we do not want to do any DOM manipulation

@Gary Larsen 

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! šŸ™

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader