Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Want to make attachments available for download on service portal pages.

Nikhil G_
Tera Contributor

Hello,

 

I have a requirement, I want to make attachments available for download of a particular table form on service portal page to download. I have a  case form on CSM table which has attachment. I created a page and a widget on service portal to display record details on that page. I am able to fetch the data of the attachment to the portal page, but how can I make that file to download when I hover on it on the Portal Page

6 REPLIES 6

SanjivMeher
Mega Patron
Mega Patron

In your widget, all the attachment name should be a link field with URL set to

https://<instance-name>.service-now.com/nav_to.do?uri=sys_attachment.do?sys_id=<sysid of attachment>


Please mark this response as correct or helpful if it assisted you with your question.

Thank You.

 

But can we make them available for the general public who is not a user in the ServiceNow?

 

No. They need to have a user account. External users wont have access to it.


Please mark this response as correct or helpful if it assisted you with your question.

Ok. Thank you