Flag article button not working properly

S_75
Giga Expert

when i clicked on flag article button in service portal, the comment box is not opening properly. when i clicked on Flag article button it is just forming a thin line like below not opening the comment box correctly find_real_file.png

1 ACCEPTED SOLUTION

Got it - so that is exactly the issue then, the customized widget doesn't have the required ng-templates associated with it.

It should be a fairly simple fix - navigate to each of the three existing sp_ng_template records (kb-flag-article-modal, kb-feedback-task-modal, & knowledge-image-modal.html), update the widget to your customized widget that is missing the ng-templates, and right-click the form header and select 'Insert & Stay'. That will add the three ng-templates to your custom widget so that they display properly when called.

find_real_file.png

If this answer is helpful please mark correct and helpful!

Regards,

Christopher Perry

If this answer is helpful please mark correct and helpful!

Regards,
Chris Perry

View solution in original post

15 REPLIES 15

Hmm I don't think either of those errors are related to your pop-up not displaying.

I think it is some issue with the angular ng-template that is meant to display that flag pop-up, is the 'Knowledge Article Content' service portal widget or the 'kb-flag-article-modal' ng-template customized at all?

find_real_file.png

find_real_file.png

If this answer is helpful please mark correct and helpful!

Regards,

Christopher Perry

If this answer is helpful please mark correct and helpful!

Regards,
Chris Perry

in one instance widget is knowledge article content, its working there bu, in another instance the widget is different one with some changes in the code there its not working and also angular ng templates are not there in the related tabfind_real_file.png

find_real_file.png

Got it - so that is exactly the issue then, the customized widget doesn't have the required ng-templates associated with it.

It should be a fairly simple fix - navigate to each of the three existing sp_ng_template records (kb-flag-article-modal, kb-feedback-task-modal, & knowledge-image-modal.html), update the widget to your customized widget that is missing the ng-templates, and right-click the form header and select 'Insert & Stay'. That will add the three ng-templates to your custom widget so that they display properly when called.

find_real_file.png

If this answer is helpful please mark correct and helpful!

Regards,

Christopher Perry

If this answer is helpful please mark correct and helpful!

Regards,
Chris Perry