
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2018 06:39 AM
Hi All,
I've searched the forums and found that others are using a Script include to achieve what i'm trying to accomplish; which is create a field that references the "sys_attachment" table, but limits attachments attached to that record.
If need be, i will use the script include method, but i'm not sure why this problem could not be solved simply without creating a new script include.
Now in the above screenshot, when I hardcode the sys_id condition, I get back the expected results; attachments attached to that particular record.
But when I add the following script, i'm not able return a list of attachments:
javascript: current.sys_id;
If you a moment, would appreciate some insight as to why this method doesn't work.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2018 06:43 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2018 06:43 AM
try
javascript:"table_sys_id="+ current.sys_id;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2018 07:28 AM