HTML variable

Maria DeLaCruz
Tera Guru

Hello,

I have a catalog item that has an HTML variable.   I would like the HTML variable to display on the RITM and TASK records.   Is there a way to hide the toolbar for the HTML variable?

Thanks,
Maria

find_real_file.png

13 REPLIES 13

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

Abhinay Erra
Giga Sage

As James mentioned, make the variable read only.


jamesjurden
Giga Guru

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.


  1. Navigate to System Properties > UI Properties.
  2. Locate the property called HTML field editor to use (glide.ui.html.editor).
  3. Select htmlArea.
  4. ClickSave.

JJ Cortez
Tera Contributor

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