We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

The Link component, configured to fetch an attachment, returns an html page

thomaskennedy
Kilo Sage

I'm trying to put a Link ("Download") on my page, to return a text attachment. The link is visible if the attachment exists. The link just points to a url fed to it through a client state param. Clicking the link downloads a file under the correct filename, but the content is html. The same link, pasted into the browser, downloads the attachment as expected.

 

Have I missed a setting on the Link component?

 

thomaskennedy_0-1741119051674.png

 

My workaround is to use the Attachment component, but the link is more compact.

 

0 REPLIES 0