We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Attachement download link in service now don't redirect to attachment just down load attachment.

keshav77
Tera Expert

Hi All,

 

I am trying to create a Link that just download attachment but don't redirect to the attachment.

I am using this under catalog item with label variable,  Currently when we click the link it ask to leave the page and then attachment get downloaded but i don't want that pop-up to appear it just get downloaded.

 

In this way I am passing the attachment url - 

https://<instance_name>.service-now.com/sys_attachment.do?sys_id=<attachment_sys_id>

to create link but this is showing a pop up also.

what will be the correct way then

 

3 REPLIES 3

PraveenkumaM
Tera Contributor

@keshav77 

 

Hope you are doing well.

 

If you can try the same attachment URL with HTML variable's default value and make the variable read only, I think it should work.

 

Regards,

Praveen

what should be the reason it is not working with label variable only work html variable? 

keshav77
Tera Expert

@Ankur Bawiskar  can you help in this