User not able to see the attachments in form
This content was last updated in 2024. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 05:44 AM - edited 02-22-2024 10:37 AM
User is not able to see the attachment when added by a particular user but When user from other groups add the attachment. It is visible to everyone. If its an acl issue? explain detaily as to which acl I should use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 05:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 05:47 AM
I’d check the ACLs and possibly the encryption context. If it’s all attachments it could be either of those or possibly a before query business rule.
Id try debugging your security rules and see what that shows.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 05:47 AM
Good day,
Double check your read permissions on the [sys_attachments] table. It's likely that this user doesn't meet those criteria.
If this helped, please mark it as helpful. If it solved your query please mark it as the solution!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2024 01:59 PM
It is possible that this is being caused by the specific user's User ID being over 40 characters long. This means the "sys_created_by" and "sys_updated_by" fields on the sys_attachment table will truncate the user ID which doesn't then doesn't respond well for displaying the attachment.
See more info here: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0621003
Cheers