Facing an issue in portal level

sontam lavanya
Tera Contributor

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.

2 REPLIES 2

Sanjay191
Tera Sage

Hello @sontam lavanya 

Please use this Auto Population  for your variables like location  and also please check the type of the field.

Sanjay191_0-1729668600955.png


If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Thank You


Moin Kazi
Kilo Sage
Kilo Sage

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