Text field on clicking "No" for a articles.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
When the user clicks “No”, a text field should appears dynamically. Make it mandatory before the feedback can be submitted.
Do we have any out of the box functionality for this? If not, what are some ways that we can achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Yes 100% possible like this:
have solution here
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @Kvb Kiran ,
I tried your problem in my PDI there is OOTB solution please check below script
Navigate to sys_properties.LIST and search for - "glide.knowman.feedback.enable_actionable_feedback_for_helpful" and make it true
Now navigate to All> Service Portal> Widgets and search for "Knowledge Article Content" this widget is read only so clone this widget and there is in related list kb-feedback-task-modal open that and change the widget name to new cloned widget
Widget:
Ng-template - add your cloned widget name here in widget field
Now Navigate to All> Service Portal> Widget Instance search for sys_id - "15625ad50ba832004ce28ffe15673a58" and change the name of cloned widget here
Now open your cloned widget in client script make 2 changes
Line number - 388 change to this
c.data.reason = "";
Line number - 484 change
if(!c.data.details){
Result
Please mark my answer correct and helpful if this works for you
Thanks and Regards,
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago - last edited an hour ago
I followed it and could able to get the feedback prompt. However it is submitting even when clicking on No Thanks or empty space.
I have modified the "c.submitted" from true to false but still it is submitting.
