How to make card on SOW visible on the basis of roles or user criteria?

Damayanti Sarod
Tera Guru

Hi Community, 

 

I have created a card called 'VIP Incidents' by making changes in client script include 'SowIncidentLandingPageUtils' . I want this card visible only to members of two assignment groups say A and B .How can I achive this?
I have created Evam definition record for VIP incident and made changes in SowIncidentLandingPageUtils. Attached code for reference


DamayantiSarod_0-1780402978425.png

 

 

6 REPLIES 6

Ankur Bawiskar
Tera Patron

@Damayanti Sarod 

share all the config screenshots along with script

I believe in the data visualization itself there could be an option to show it based on role

💡 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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron

@Damayanti Sarod 

see this for help

Hide a component on workspace based on role 

💡 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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@Damayanti Sarod 

Following up—were you able to review the shared approach and links?
Please let me know if any assistance is needed.

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

Hi  @Ankur Bawiskar ,
I reviewed the articles, but they did not help us.
The data visualization which is visible in screenshot , we haven't build it from UI builder , but it it appearing from the scripting we have done in OOB client script include called SowIncidentLandingPageUtils, and Evam definition record which we have created particularly for VIP incident card. We are looking if we can develop some logic in the client script include itself , for which I have attached the code in main question

Thanks!