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.

How to give the sysid link of document in dsm_document instead of using sys_attachment in macros

Nishanth K
Tera Contributor

We are using document management - dsm_document for storing the documents and after uploading the document sysid generated in sys_attachment table and that same link is being used in UI Macros to provide a link in catalog form.

 

Here i wanted to use document sysid to download the excel document instead of using sysid link of sys_attachment.

<a href="/sys_attachment.do?sys_id=sysID" rel="nofollow">Click here</

Anyone please provide any best approaches for this scenario, here i wanted to get rid of dependency to update sysid in UI Macros everytime by using document sysid.

0 REPLIES 0