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.

Restrict Widget Access

Jason116
Tera Contributor

We have a 'Knowledge Featured Article' widget on our CSM portal that we only want to be visible to customers based on the account they belong to.

 

On the Account form, there's a field called u_account_team, which has three options:
Option A
Option B
Option C


We want this widget to be visible only to customers whose account has either 'Option A' or 'Option B' selected in the u_account_team field.

 

Is this kind of restriction possible? If this needs to be scripted, would something like user criteria work for this scenario? If so, could anyone provide a rough idea of what the script would look like?

0 REPLIES 0