The CreatorCon Call for Content is officially open! Get started here.

Need to remove html editor from the service catalog variable

Raju Singh1
Tera Expert

I need to remove the html editor when the variable is displayed. I am displaying a picture which is stored in a HTML variable. The issue is that it works fine but also diplays an HTML toolbar.

Please let me know how shall I remove this HTML toolbar. I the variable read only but still it shows the toolbar.

I have taken the type as HTML and running the default HTML code to show the picture.

I have tried the codes provided in this community but it doesnt work for me. I am using both the google chrome and internet explorer. 

I saw in community and think there needs to be a class name to be disabled but how to find the exact code for that which needs to be put in the onLoad client script

Please help as this is real urgent issue for me

 

Regards,

Raju Singh

3 REPLIES 3

ScienceSoft
Tera Guru

Hi, wardeep

There are some solutions for implementation this task:


1. The first using a client script: https://community.servicenow.com/community?id=community_question&sys_id=4bdb4be1db9cdbc01dcaf3231f96...

 

Thank you..

I already tried this but it doesnt work for me.

 

Regards,

 

Did you check the following solution?

Extending Create roles for current variable:

On the variable form if not already visible add the fields Create roles and Write roles. Add specific role to it and the HTML field will be appear read only and the toolbar will not be visible for all users that don't have this role.