Caller field reference qualifier dependent on Company OR MyCompany
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 02:36 PM
I have a simple reference qualifier setup for the Caller field which is dependent on the Company field. Works fine.
My issue is that I need the reference qualifier to allow Users from the value in the Company field OR my own Company which is called Novitex.
Can I create this OR using the Condition Builder or do I need javascript? I'm not really a coder but can usually get by with some examples.
The Dependent field is Company.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2017 08:38 AM
Name the function in the Script includes to be the name of the script includes. In this case enhancedCaller.
Then in dictionary of caller, use: javascript:enhancedCaller()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2017 08:46 AM
Where do I send the case of wine? Thank you so much. That works awesome.
--Ralph

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2017 08:52 AM
You're welcome. Glad it worked out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2017 12:22 PM
Sorry to bother you again. I ran into a bit of a performance issue with too many Users getting returned.
One thing I definitely missed is adding Active is True.
Can you show me what I'd need to add to your code above to filter on Active is True?
Thanks,
--Ralph

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2017 12:27 PM
You can add after line 5: comp.addActiveQuery();
that will limit the query to active records only