- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 11:56 PM
I have created Catalog need to create one variable when click on that one document related training get download. How to achive this. I have create UI macro but not working.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 12:53 AM - edited 07-30-2024 12:56 AM
Hi @aishwaryade3564 ,
Edit the line as below,
href="/sys attachment.do?sys id=e739ee7bc32b4210a652d5fc050131a7"
if the above doesn't work try Below approach,
You can create a field with Type as 'Custom' in your catalog item and create a widget and tag that widget to Custom field
Custom Field:
Widget creation:
Navigate to "sp_widget.LIST"
Create New as below,
<div>
<p> <b><font color="black">Please fill the excel template and attach it to this form.
</font> </b></p>
<a href="/sys_attachment.do?sys_id=1a6f278853f70e10289bf301a0490e09" target ="_blank"><font color="blue">Click Here</font>
</a><font color="black"> <strong>to download the template </strong></font>
</div>
Change the sysid with your attachment sys_id
Result:
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 12:09 AM
Hi @aishwaryade3564 ,
Can you try the below before the 'sys_attachment'
https://<yourInstanceName>.service-now.com/sys_attachment....
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 12:53 AM - edited 07-30-2024 12:56 AM
Hi @aishwaryade3564 ,
Edit the line as below,
href="/sys attachment.do?sys id=e739ee7bc32b4210a652d5fc050131a7"
if the above doesn't work try Below approach,
You can create a field with Type as 'Custom' in your catalog item and create a widget and tag that widget to Custom field
Custom Field:
Widget creation:
Navigate to "sp_widget.LIST"
Create New as below,
<div>
<p> <b><font color="black">Please fill the excel template and attach it to this form.
</font> </b></p>
<a href="/sys_attachment.do?sys_id=1a6f278853f70e10289bf301a0490e09" target ="_blank"><font color="blue">Click Here</font>
</a><font color="black"> <strong>to download the template </strong></font>
</div>
Change the sysid with your attachment sys_id
Result:
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang