Display field options based on other field values in the portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 12:06 AM
Hi!
Would like to know how can we display options based on other field value in the Portal. Note that these 2 fields are reference from the same table.
Global Practice Group [Reference table: u_practice_group]
AOL [Reference table: u_practice_group]
For example:
Global Practice Group = Option A
AOL options should be = Option A1 , Option A2, Option A3
If
Global Practice Group = Option B
AOL options should be = Option B1 , Option B2, Option B3
Hope you can advise. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 12:52 AM
Hi @ss123
As your field value is reference, you can use 'Advance Reference Qualifier' on AOL.
There much be some relationship between Global Practice Group and AOL field. Assuming there is a reference field 'group' referring to Global Practice Group. So you want to display all options on AOL where 'group' is selected value on Global Practice Group. Use below Advance Reference Qualifier for it:
javascript: 'group='+current.u_global_practice_group;
Field names are based on assumption. Do update based on actual field names in your instance.
Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 12:54 AM
Hi @ss123 ,
Could you please explain exactly where do you want to set the field dependency like RPs/service catalog services?
Regards,
Karthiga