Facing an issue in portal level
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2024 01:47 AM
Hi All,
I am new to ServiceNow, can you please help me on this issue.
In a catalog item, I have a reference field (i.e. Location) that is dependent on another field (i.e. Reference for). When I select a value in the Reference for field, the Location field should auto-populate, and based on these two fields, another field (i.e. A) should populate certain values. However, in the Service Portal, the Location field appears as a dropdown, and based on the selections of both the Location and Reference for fields, I am seeing extra values in the dropdown for field A. How can I resolve this issue in the portal?
Advance Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2024 12:31 AM
Hello @sontam lavanya
Please use this Auto Population for your variables like location and also please check the type of the field.
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2024 01:05 AM
Hi @sontam lavanya ,
Once a user fill up the reference field, the Location should auto-populate. You'll need to determine what data should populate the Location field, which you can do using a client script or the variables dictionary auto-populate section.
To auto-populate Field A based on the Location, you can write an OnChange client script for the Location field to specify the data to be populate on Field A.
Hope this help you.
Regard
Moin