How to embed PDF in widget on service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2020 07:52 AM
I want to embed PDF on service portal in a widget i am trying with <a href='sys_attachment.do?sys_id=b9a7056ddbd058900bb3644a4b9619a9'><b>How to submit a question</b></a>
but nothing is visible to user with snc_internal role.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2020 12:32 AM
Hello!
Attachment (sys_attachment) is a table like any other; you need to make sure that read access is permitted. You'll likely need to either add the role to one of the ACL records you have (type = record, operation = read), or create a new one. The more restricted (i.e. narrow) access is, the better!
Also, make sure you're using correct syntax for the URL (note the slash in front):
/sys_attachment.do?sys_id=8ccbd5c04f620300f6c101f18110c716
Please mark this response as correct/helpful if this is what you've been looking for!