How to populate field using advanced ref qualifier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 08:45 AM
Is there any way to call a script include using advanced ref qualifier and actually insert a value to the reference field and not just show the list of options using return. If I want to already set the value on the field using the advanced reference qualifier without using client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 08:49 AM
Hello @Alon Grod
Then the best approach will be on change Client Script no? Any challenge with using Client script?
please mark the answer as helpful and correct iif it helped.
Kind Regards,
Ravi Chandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 08:51 AM
@Ravi Chandra_K the goal is to use advanced ref qualifier and if certain conditions are met, then the advanced ref qualifier should insert the value into the field? is that possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 08:57 AM - edited 07-24-2023 09:01 AM
seems like possible.
but there could be challenges like cross scope access issues.
refer the below thread:
please mark the answer as helpful and correct if helped.
Kind Regards,
Ravi Chandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 09:03 AM
@Ravi Chandra_K but when you return sys_idIN someList it will return a list of values into the reference field and then the user will need to choose one of them. I want that if certain conditions are met then the script include will return one value that will be displayed on the form inside the field without asking from the user to choose a value. Is that possible? Instead of return sys_id IN then something like setValue or anything like that