HTML variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2016 07:56 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2019 03:56 PM
Hi Abhinay,
I am trying to use the HTML field variable to display information in a table format if the user selects a certain catalog from option; basically pushing a default value to the field and then locking it down with read-only settings. This would be UI Policy and would like to hide the HTML Editor bar. Like James issue, I am able to make the field Read-only but not able to get the Editor Bar to hide in the Service Portal.
I tried your code in an 'Onload' client script but getting a javascript error back. Am I missing something?
function onLoad() {
$('mceu_23').hide();
$('mceu_31').hide();
}
Thanks for your help,
-Wesley

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2016 09:20 AM
As James mentioned, make the variable read only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2016 11:01 AM
You can also try configuring the HTML fields to use the legacy htmlArea editor instead. The test making the field read-only. Make this property change then try again.
- Navigate to System Properties > UI Properties.
- Locate the property called HTML field editor to use (glide.ui.html.editor).
- Select htmlArea.
- ClickSave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2017 11:49 AM
I had this same problem. Apparently this has been around since Fuji. I found in a different post on the community a workaround that works in Istanbul still. On the variable form if not already visible add the fields Create roles and Write roles. Add the role 'nobody' to each of these and the HTML field will be appear read only and the toolbar will not be visible. Quick and easy.
It was recommended to create an enhancement request on HI to get more attention to this issue. My dilema is that I am using on a record producer that I was sending to a third party. The toolbar did not look professional, but need the functionality of the HTML field.
here is the link to the other post:
HTML read only variable still shows menu bar in Geneva