Need to remove html editor from the service catalog variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2018 12:26 AM
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
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2018 01:06 AM
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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2018 01:11 AM
Thank you..
I already tried this but it doesnt work for me.
Regards,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2018 01:14 AM
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.