Record Producer- MRVS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-29-2024 01:39 AM
Hii... I have created a Table ABC having a field Crisis Country (ref -Country table) and then created 10 records with initial ten countries. so now they are my crisis countries. Then i created Record Producer (named Crisis Country) in this I have MRVS variables
1. Variable country - country table
2. Priority - choice type ( standard and emergency)
Now i want that if i select a country in vaiable country field and if that country belongs to my crisis country list then the priority should change to emergency and if not then priority should be standard.
How to configure it using client script and script include.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-29-2024 03:22 AM
Try creating a Client script on change of the country field. Use Glide Ajax and verify whether the country belong to crisis country, if yes then mark the priority field as emergency
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-29-2024 04:11 AM
Hi @Gaurav69 ,
Please try below code and made changes according to your requirement:
Script include: (client callable)
Catalog client script: (On change - country variable)
Mark it Helpful and Accept Solution!! If this helps you to understand.
Thank you!!
Dnyaneshwaree Satpute
Tera Guru