Add attachment while flagging an knowledge article

Udit Maheshwar1
Tera Expert

Hi All,

Is there any way to provide user the ability to add attachment with the comments on the dialog box while flagging or reporting the knowledge article on service portal ?

Kindly suggest.

Thanks,

Udit Maheshwari

2 REPLIES 2

Tushar
Kilo Sage
Kilo Sage

Hi there,

 

I think you will need to create a custom widget or modify the existing "Knowledge Article Flag" or "Knowledge Article Report" widget to include an additional input field for attachments.

 

In the custom widget, add an input field that allows users to upload attachments using the "Attachment" variable type and you will also need to Write client-side  to handle the attachment uploads and server side script to associate attachment uploaded with flagged knowledge article.

 

Please, don't forget to mark my answer as correct if it solves your issue or mark it as helpful if it is relevant for you!

Regards,
Tushar

Hi @Tushar  ,

Thank you for your input. I will give it a try and update soon. Meanwhile, do you have any sample code or case scenario regarding the same ?

Thanks,

Udit