
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 01:56 PM
Hello,
I have a record producer with a reference variable that requires an advanced reference qualifier.
It is not working and looking for some help with the code.
javascript:'vendor='+current.variables.vendor^current.contract_model="8881e836c3102000b858fd251eba8f28";
Any help is appreciated.
Joe
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 04:10 PM
Looks like your quotes are in the wrong positions, try this instead:
javascript: 'vendor=' + current.variables.vendor + '^contract_model=8881e836c3102000b858fd251eba8f28';
I'm guessing contract_model
is a field in the table that you're reference qualifier is being used to query.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 02:15 PM
What type of variable are you trying this on?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 02:16 PM
Contract model is a reference field on the record producer. I should note that the 1st part works by itself.
javascript:'vendor='+current.variables.vendor

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 02:20 PM
Looks like you are hard coding contract_model so I don't thing you need current since your not pulling it from a variable or anything. So I think it should just be javascript:'vendor='+current.variables.vendor^contract_model="8881e836c3102000b858fd251eba8f28";

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 03:07 PM
Thanks Brian. I tired this and the field still lists all contract models instead of just the hard coded one.