Pass variable to script include from reference qualifier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2017 08:41 AM
I have an advanced reference qualifier calling a script include and passing it current.
javascript:new global.COMP_UserHelpers().showInactive(current);
I am needing to pass a different variable to the script include. Is it possible to define and pass this variable in the reference qualifier? I tried the following two permutations in attempt to pass the variable tmpShowInactive with no luck. Any thoughts?
javascript:new global.COMP_UserHelpers().showInactive(var tmpShowInactive = {u_show_termed_users : true});
javascript:var tmpShowInactive = {u_show_termed_users : true} new global.COMP_UserHelpers().showInactive(tmpShowInactive);
TIA for assistance.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2017 09:31 AM
Can you provide some screenshots. It is not clear. What is the relationship between the current record and the old record?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2017 09:38 AM
Originally 'current' is an entry on the task table. I have a new table and am attempting to use the same reference qualifier. However, the new table does not have the field u_show_termed_users. Perhaps it would be easier if I just add that field and hide it from the form instead of trying to get crazy with the reference qualifier.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2017 09:43 AM
We can do a glide record query in the script include for that. I just need the relationship between the current table and the table that has the field " u_show_termed_users"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2017 12:16 PM
I modified the script include and made this work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 09:49 PM
Hi Rober,
What changes you did on Script inlcude for this ?
Please give the details of Reference qualifier and scripti include. I have same requirement.
Thanks