- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 12:45 AM
Hi All,
I have a requirement to add an attachment in the catalog item so that user can download it.
I checked some community links, in which it is mention to add macro. But the macro type is not visible in catalog item.
Please help.
Thanks,
Sam
Solved! Go to Solution.
- Labels:
-
Service Catalog
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 02:31 AM
Hi @Dr Atul G- LNG ,
I use Rich Text Label instead of Attachment. and it is working properly.
Thanks,
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 12:51 AM
Hi @Samiksha2 ,
Follow the below :
You can directly add the attachment in the variable itself.
Like below:
In portal view:
If NOT, You can create a HTML field and have anchor link which download the file for you...
Hope this helps.....
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 01:16 AM
Hi @Sohail Khilji ,
I already told them about this. But they want to add it in the below like this.
Please refer to this template for providing requirement- Form Link
Is there any way to do this?
Thanks,
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 01:22 AM - edited 02-21-2024 01:23 AM
Yes use HTML type field and in the content add the text ''Please refer to this template for providing requirement- Form Link'' and make Form Link to be an anchor link.
so in the anchor link you have to create a hypelink as below :
instacename + sys_attachement + sys+id _ noblank to open in new window.
Eg code : (REPLACE INSTANCE ID , SYS_ID OF ATTACHEMENT (YOU HAVE TO PRELOAD IN ATTACHEMENT TABLE AND GET SYS_ID OF THE RECORD))
<a href="https://<your_instance>.service-now.com/sys_attachment.do?sys_id=43f614050a0a0b846fc33c7021c00455&view=true" target="_blank">Form Link</a>
iHOPE THIS HELPS
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 02:30 AM