Not able to download attachments for ITIL role and users in CAB approval group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2018 11:12 PM
I have a created a UI macro placed next to the risk field in change request form.
The functionality of that UI macro is on clicking the same one excel sheet will get downloaded into your local machine.
The problem what I am facing is only admin users are able download the sheet and users with ITIL role and CAB approvers are not able to download.
On clicking the UI macro it is redirecting to a blank page.
Please help me in solving this issue.
Regards
Adarsh
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2018 11:50 PM
Hi Adarsh,
Can you share the UI macro code and what does that excel file mean?
What does that excel sheet refer to? Is it some table data being exported?
Something related to ACL could lead to such issue since admin is able to do this.
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
‎06-07-2018 11:59 PM
UI macro code:
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<a href="https://dev52581.service-now.com/sys_attachment.do?sys_id=1112b7f44fa293004ffa4bff9310c7ec" target ="_blank">
<img title="Download Risk Assessment..." height="16" src="images/icons/attachment.gifx" border="0" width="16"/></a>
</j:jelly>
I have uploaded one excel document and with the help of sys_id and calling that attachment for sys_attachment table. So on clicking that UI macro the excel sheet will get downloaded.
This Ui macro I have placed next to Risk filed in change table.
Attached screenshot for your reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2018 12:09 AM
** I have uploaded one excel document and with the help of sys_id I am calling that attachment from sys_attachment table. So on clicking that UI macro the excel sheet will get downloaded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2018 12:25 AM
Hi Adarsh,
Are you sure that user has access to read/write to that attachment.
If that user doesn't have write access to the table record where this attachment is stored user can't download.
To which table record is this excel file attached i.e. incident, change etc.
Try giving write access to these tables for that roles and check
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