HTML Variable - Read-Only (without HTML Bar) in Service Portal

t_a_rogers
Kilo Expert

Alright folks - Been trying to figure this out for months on my own. Hope you can help here. 

I am simply trying to get the HTML variable to follow the same read-only behavior in the Service Portal as it does outside of the portal. The HTML edit bar and extra spacing won't seem to go away. 

In standard SN catalog (good):

find_real_file.png

 

In Service Portal (bad):

find_real_file.png

 

Note that we already follow these instructions, which are the only reason the standard view looks as clean as it does: https://hi.service-now.com/kb_view.do?sysparm_article=KB0596688 


Thanks in advance,

Travis

 

4 REPLIES 4

SanjivMeher
Kilo Patron
Kilo Patron

I have tried this. But didnt work. I tried everythihg ACL, UI policy. But nothing seems to work. It seems to be a ServiceNow Product bug.

So ultimately I had to save this in a variable in the server script and display it separately on the top.


Please mark this response as correct or helpful if it assisted you with your question.

jamesmcwhinney
Giga Guru

I am struggling with this as well with a similar requirement for conditional terms and conditions within a catalog item.

Did anyone find a solution that suppresses the edit bar completely?

Tommy Jensen
Giga Guru

Create a small widget that displays the html text and then add that to the catalog item as a macro. If the text is the same always you only need to create the html in the widget.

Nirosha Uddandi
Kilo Guru

 

Helpful thread 

https://community.servicenow.com/community?id=community_question&sys_id=4bdb4be1db9cdbc01dcaf3231f961956

reply by :xiaix