- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2017 05:38 AM
Hello, I`m a bit lost may yu can help me?
We have a custom table, record producers create the data.
End user with no roles can use the record producer, add attachment to the form and submit it. Attachment then is visible on the ticket also.
We grant read role to the custom table with Access Control script to end user current.opened_by == gs.getUserID() || current.caller_id == gs.getUserID() to make sure they can read only all the fields.
If attachement on the ticket end user can see Manage attachment text link, also download that.
The problem:
No Paper Click icon for end user and no "Add" option when they see the Manage attachment popup window.
I tried to grant rights with Access Control to sys_attachment table, even more to our custom table, but no success. Also client script did not help:
function onLoad() {
g_form.enableAttachments()
}
So could you advise me how can I make sure on custom table, end user without role:
Can see the Paper clip icon
Can add attachments?
Many thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2017 05:59 AM
Hi Laszlo,
The paper clip icon will be shown only when user has write access to your table. Also the Add button will be shown if user has write access to the table
Try to create a write acl on table and give end user's role to the acl and try opening the record again.
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2017 05:59 AM
Hi Laszlo,
The paper clip icon will be shown only when user has write access to your table. Also the Add button will be shown if user has write access to the table
Try to create a write acl on table and give end user's role to the acl and try opening the record again.
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2023 05:37 AM
Hello @Ankur Bawiskar ,
We are having same issue on SOW workspace which we have created but on that workspace the attachment icon is not visible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2017 06:12 AM
Hi Laszlo,
Can you also please hit like and mark answer as helpful since you were able to achieve your requirement. Thanks in advance.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2017 06:19 AM
sure