how to restrict data in reference field dynamically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 11:15 PM
Hi,
I want to restrict caller filed based on location field value on catalog form.
for example, if I select india location I want only indian users populate in reference filed.
Can anyone help me out.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 11:28 PM
Hi @anjali viswanad ,
You need to add an advance reference qualifier on the caller field
Replace the variable name (u_location)if it's different:
javascript: 'location.country='+current.variables.u_location;
If my answer has helped with your question, please mark it as correct and helpful
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 11:34 PM
Hi Anjali,
You can use a simple reference qualifier to achieve this.
Go to the 'Configure Dictionary' and set the reference qualifier.
Regards,
Arun
Please mark this as 'Solution Accepted' , if it helped you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2023 03:15 AM - edited 07-19-2023 03:16 AM
My requirement is to restrict caller field based on current location selected by using script.
here both are reference fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 11:47 PM
it's not working, when i select location then users are not reflecting in caller field.
Thanks