In Catalog Item, how to download a file in new browser window, by using link provided in Dscription

Jagbir Singh
Tera Contributor

Hi Community,

 

I have an excel file that is accessible over URL and I have to create a Catalog Item.

 

When link provided in the Description of Catalog Item is clicked, the file should be downloaded in new window without being opened in the browser.

Kindly let me know how to achieve this functionality.

 

Thanks and Regards

Jagbir Singh

3 REPLIES 3

Anil Lande
Kilo Patron

Hi,

You can embed link in HTML of description part, use download attribute.

<a href="URL here" download="file_name_of_your_choice">Download attachment</a>

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Ankur Bawiskar
Tera Patron
Tera Patron

@Jagbir Singh 

this link has solution

https://www.servicenow.com/community/service-management-forum/how-to-add-the-link-for-download-the-e...

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Sagar Pagar
Tera Patron

Hi,

You can insert/add the URL to the catalog item description. It will be open in new tab by selection target as New window (_blank).

 

For reference-

Screenshot 2022-10-06 at 9.32.18 AM.png

 

Thanks,

Sagar Pagar

The world works with ServiceNow