Reference Qualifier- Current object
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2017 02:55 PM
Hi Experts,
I have a simple 'client callable' script include which i use to retrun active tickets for the user/caller selected on our 'new call' form. So we have Caller reference field to select a user, and a Ticket number reference field to list his/her active tickets.
I am trying to pass the caller identity i.e. sys_id using the current object, but looks like to the current object is not being passed.
javascript:new myTickets().getTickets(current.caller);
Current is not being considered for some reason, however for testing if i give any hardcoded user sys_id, it does work.
Any help will be appreciated!
Thanks,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2017 03:21 AM
You written your reference qual wrong... you should only have the javascript part as I have, then return the whole string in the script include as I do.
//Göran