- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 12:49 AM
Hi, I have created a button that lets the user upload an attachment on the sc_req_item table. I use the "saveAttachment" function. My problem is that when an itil user clicks the button, the attachment dialog opens up, but the "choose file" button is nowhere to be seen. However, it works for user with the admin role. If the itil user clicks the paperclip button, the attachment dialog works just fine. Anyone knows any reason for this. Is this some kind of access issue? The two screenshots below should explain the situation:
Above you can see how it looks when the itil user clicks the custom button
And here you can see how it looks when the same user clicks the paperclip button.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 04:07 AM
Hi,
Create a read,write and create ACL and provide access to ITIL and delete access to admin. Please check after creating the ACLs.
Regards,
Ram M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 02:52 AM
Hi,
Please check if the ITIL user has write access on the table. Additionally also check if user has access to add the attachments on that particular table from sys attachment table.
Regards,
Ram M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 03:55 AM
Hi, thank you for your reply. The table I'm uploading to doesn't have any ACLs on it, so I'm not sure where to look. When the itil user looks for the list view (typing mytable.list in the filer navigator) the message "Security constraints prevent access to requested page". If you try to create a new record by typing mytable.do in the filter navigator all the fields for the table are greyed out. the table is not inherited from anything, and there are no client scripts, ui policies, acls etc on it. I added a test button that created a new record on the table, and the itil user is allowed to do that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 04:07 AM
Hi,
Create a read,write and create ACL and provide access to ITIL and delete access to admin. Please check after creating the ACLs.
Regards,
Ram M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 04:15 AM
added a write acl and now it works! thank you 🙂
(dont understand why this was necessary though.. as the table had no acl and itil user could create and populate record via script)