Attachment download field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I have a requirement where in an intake form user wants to download a word document from the form and then fill it out and upload it as an attachment. How can this be achieved?
Thanks in advance!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
You have to put the attachment on the catalog item and then create a link to it in the description field.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Vaishali 11
in this tutorial you’ll find the best alternative to link an attach in you catalog form
to attach the filled form may you create a variable type Attach
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Vaishali 11 ,
Implementation Steps >>>
1. Attach the Template to the Catalog Item Record
Navigate to the desired catalog item (under Service Catalog > Catalog Definitions > Maintain Items).
Use the paperclip icon to attach your template document directly to the catalog item record.
Go to attachment table and copy the sys_id of the attached doc.
2. Create a Custom Variable to Display the Download Link
Under Variables, create a new variable named something like Template Download.
Set the Type to Rich Text.
In the field’s Type Specification, insert HTML to link to the attachment:
<p>
Please download the template <a href="/sys_attachment.do?sys_id=YOUR_TEMPLATE_SYS_ID" target="_blank">
here</a>, complete it, then re-upload below.
</p>
Or go to HTML field and click url emoji, and in the url link paste - /sys_attachment.do?sys_id=YOUR_TEMPLATE_SYS_ID target="_blank"
Replace YOUR_TEMPLATE_SYS_ID with the attachment's actual sys_id...
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/