adding the attachments in the portal

sushma9
Tera Contributor

Hi Team,

  I have a requirement  to  show the attachments  which is present in the KB article    in  the service portal with a link and when the user clicks 0n  the links   the attachments presents in the Kb article should be downloaded .

 

Ex :

suppose In this Kb00124576 if i have two attachments and i need a link to " click here to download " and when the user clicked on the link in the portal  then the documents presents in the Kb should download.

 

sushma9_0-1701708165181.png

 

2 ACCEPTED SOLUTIONS

AshishKM
Kilo Patron
Kilo Patron

Hi @sushma9,

 

You can create a URL type or HTML type field on this order guide the add the link of KB Attachment.

 

-Thanks,
AshishKMishra


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

View solution in original post

Samaksh Wani
Giga Sage
Giga Sage

Hello @sushma9 

 

Create a UI Action Button On Your Table :-

 

Condition :-

 

current.hasAttachments();
 

Script:

 

action.setRedirectURL('exportAttachmentsToZip.do?sysparm_sys_id=' + current.sys_id + '&sysparm_table=' + current.getTableName());

 

Plz mark my solution as Accept, If you find it helpful.

 

Regards,

Samaksh

 

View solution in original post

2 REPLIES 2

AshishKM
Kilo Patron
Kilo Patron

Hi @sushma9,

 

You can create a URL type or HTML type field on this order guide the add the link of KB Attachment.

 

-Thanks,
AshishKMishra


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Samaksh Wani
Giga Sage
Giga Sage

Hello @sushma9 

 

Create a UI Action Button On Your Table :-

 

Condition :-

 

current.hasAttachments();
 

Script:

 

action.setRedirectURL('exportAttachmentsToZip.do?sysparm_sys_id=' + current.sys_id + '&sysparm_table=' + current.getTableName());

 

Plz mark my solution as Accept, If you find it helpful.

 

Regards,

Samaksh