- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 11:05 AM
Hello All -
I am trying to create a reference qualifier that populates a choice list from a table based on the value of a field in the current record.
The current record has a field called u_requested_system. In a second table, I have a field u_system_name and some other fields like role, status, etc. My goal is to populate a field called u_role on the current record with the roles listed in the second table based on the shared system names.
I currently have it set up like this:
u_role is a reference field to a table u_sar_roles.
My reference qualifier I set up where System Name is current.u_requested_system
I have three record in my Roles table that should display but it is pulling nothing.
I would appreciate any ideas on how to change this.
Thanks!
Chris
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 11:24 AM
put this in the reference qualifier section
javascript: "u_system_name="+current.u_system_requested;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 12:01 PM
I think I'm good. On this question anyway!
Many thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 12:03 PM
Glad you got your question answered. Can you please mark my response as correct so that others who have same question can find the answer quickly.
If you are viewing this from the community inbox you will not see the correct answer button. Please open the thread directly, then you should see a Correct Answer button with red star.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 11:29 AM
What is in the resulting choice list? If your field is a reference to u_sar_roles, your reference qualifier can just be "u_requested_system=current.u_requested_system". This assumes that u_sar_roles has a column called u_requested_system whose value can match current.u_requested_system, whether they are both either strings, or sys_ids (if they are themselves reference fields).
Perhaps you should copy a paste a list view of your u_sar_roles table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 11:32 AM
On the other hand and if your field is really just a choice list, then you don't need a reference qualifier. You just have a dependency which you can define as part of the dictionary information about your choice list.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 11:42 AM
FYI: Reference fields can be made into a choice list, just by selecting Drop down without none in the choice list specification.