Link Type URL (from Arguments) not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2017 12:47 AM
I feel like I'm in the twilight zone on this one. I've tried a multitude of ways and can't seem to get it to work. Ultimately, I'm trying to bypass the 'new record' feature and instead use a script include to generate the record, then return the ID so I can navigate to it.
Here's the Module:
Here's the script include for now:
Here's the URL that is returned when I click the module:
And the page simply says 'Record not found'...
if I replace the javascript:createKTLO() above with the sys_id, it loads just fine.
I mean, it's absurdly simple as I'm not even trying to do the logic behind it. What am I missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2017 12:58 AM
Have you try check the client callable check box?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2017 01:07 AM
Please note that in your screenshot, the script is not client callable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2017 01:11 AM
I thought I had tried that combo, but I'm an idiot... anyway, now I have an issue with putting actual code in there....
new MyTimeCardUtils().createTimeCard(gs.getProperty('myproperty'), null, 'project_tasks', gs.getProperty('myproperty1'));
I know this code works as I have it on a UI action and it generated everything fine and I logged the sys_id... MyTimeCardUtils is client callable as well

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2017 01:13 AM
Have you put javascript: infront of the function call. I do not see any reason why this wouldn't work.