How not to lose the text we entered in the comment box if we "click out" of the box ?

Rene Dugas
Tera Contributor

When we enter a comment using flag the article on EC and SP KB portal, if we "click out" of that box, we lose the box and the text that was previously entered.

 

Can we configure it so that the box stays there unless the CANCEL button is used ?

 

Thanks.

1 ACCEPTED SOLUTION

Akash4
Kilo Sage
Kilo Sage

Hi Rene,

I have encountered similar but in my case it was Navigation/UI16 view it was. Here, I see it belongs to Portals.

I tried to quickly verify the areas of changes that are required, its doable but as usual SN Best Practices say us not to override any OOB Widgets. Incase you are curios and can ahead further, here are some hints to help with:

The widget name is - Knowledge Article Content (function is - launchFlagModal)

Akash4_0-1729008122550.png

This widget need to be edited from server side using the link given by SN as this is a known error and was requested by many: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1184268

In short, we add this script: 

var dialog = new GlideModal('<table>', false, 651, 250);
dialog.setBackdropStatic(true);

But not advised for us to proceed, maybe if suggested by Client Hi Portal, this feature comes OOB in the next releases (happens usually)

 

Regards, Akash
If my response proves useful, please mark it "Accept as Solution" and "Helpful". This action benefits both the community and me.

View solution in original post

1 REPLY 1

Akash4
Kilo Sage
Kilo Sage

Hi Rene,

I have encountered similar but in my case it was Navigation/UI16 view it was. Here, I see it belongs to Portals.

I tried to quickly verify the areas of changes that are required, its doable but as usual SN Best Practices say us not to override any OOB Widgets. Incase you are curios and can ahead further, here are some hints to help with:

The widget name is - Knowledge Article Content (function is - launchFlagModal)

Akash4_0-1729008122550.png

This widget need to be edited from server side using the link given by SN as this is a known error and was requested by many: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1184268

In short, we add this script: 

var dialog = new GlideModal('<table>', false, 651, 250);
dialog.setBackdropStatic(true);

But not advised for us to proceed, maybe if suggested by Client Hi Portal, this feature comes OOB in the next releases (happens usually)

 

Regards, Akash
If my response proves useful, please mark it "Accept as Solution" and "Helpful". This action benefits both the community and me.