How to set a default value from a list of Countries

KS11
Kilo Expert

Hi, 

I was hoping if I can get some help with the following:

I have a catalog reference type variable 'country'.  From a list of 231 countries, I would like the user to see the default as USA and then have the ability to change it to another country. 

I have tried inserting the sys id in the Default tab, it does not work. 

If possible, am looking for a simple method.

 

Thank you for your time in advance.

2 ACCEPTED SOLUTIONS

Hi @KS11 ,

Is there any UI Policy on the location field ?.

See after inactivating that particular UI Policy.

 

Regards,

Johns

View solution in original post

Hi Shraddha, 

It would work without the UI Policy for sure, but the cou try field is dependent on another field, so the UI Policy is a must. 

Thank you for your help though! 

KS

View solution in original post

9 REPLIES 9

In addition to above post, 

You can use OnLoad Client script for default value. Please find below image for your reference :

 

ShraddhaKadam_3-1680445569308.png

 

 

Please mark my answer helpful !

Appreciate your help !

 

Thank you

If my response was helpful, please mark it as correct and helpful.
Thank you.

Hi Shraddha, 

For some reason even that is not working, I wonder if my UI Policy is preventing something here. 

 

Thanks

KS

Thank you for your reply.

 

Could you please try it by Client Script. Also, for few minutes can you please deactivate your UI Policy and try if it is working or not.

 

Please mark my answer helpful !

Appreciate your help !

 

Thank you.

If my response was helpful, please mark it as correct and helpful.
Thank you.

Shraddha Kadam
Mega Sage

Hello @KS11 ,

 

It would be helpful if you please mark my answer helpful !

Appreciate your help!

 

Thank you.

If my response was helpful, please mark it as correct and helpful.
Thank you.

Hi Shraddha, 

It would work without the UI Policy for sure, but the cou try field is dependent on another field, so the UI Policy is a must. 

Thank you for your help though! 

KS