Allowing attachments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2023 06:49 AM
Here is the scenario. I want to allow people to attach documents to product models WITHOUT being able to write (update) the records. Think of folk whose job is to find technical documents and attach to the model.
It appears the default behavior requires write to the individual record.
I have tried creating ACL's on sys_attachment for create and write, but no go. When dropping a file on the open record, I get the alert 'File attachments not allowed'.
Anyone know how to accomplish this magic?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2023 08:20 AM
I believe this needs to be handled using ACL on sys_attachment, user should have access of create() , write() and read().
Now based on your explanation this seems to be tried options so far but when you say alert of 'file attachments not allowed' is something creates a doubt. Do you see attachment icon on record? can you share a screenshot of this alert when user is trying to do so ?
Regards,Sushant Malsure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2023 08:28 AM
ahha I get it, you are trying with file dropping option.
Something is already documented for incident by ServiceNow in KB
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0718509
worth checking if you have such client script with g_form.disableAttachments() on model table.
Regards,Sushant Malsure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2023 08:42 AM
Thanks. Will look into it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2023 07:06 AM
..
Regards,Sushant Malsure
