Add attachment while flagging an knowledge article
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2023 11:20 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2023 12:04 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2023 08:04 AM
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