Modify Display Height of Read Only HTML Variable on Catalog Item

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2014 04:44 PM
What is the recommended way to modify the height of the box of a read-only HTML variable on the Catalog Item form? I would like to avoid having to create tons of UI Macros just to add a single line of rich text in the middle of forms.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2014 06:13 PM
You may need to post a screenshot of what you're seeing, but my guess is that you need to apply your role restriction to the 'Create roles' field. That should make the HTML variable read only and just display the HTML contents rather than the full editor.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2014 09:36 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2014 09:51 AM
Have you tested this in multiple browsers? Have you checked the underlying HTML to make sure it isn't including extra spaces or formatting? When I try this in a ServiceNow demo environment using Chrome it collapses down nicely without any additional configuration. I've used HTML variables in this way many times without issue.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2014 09:42 AM
I'm having the same issue in both Chrome and IE10. The HTML variable set to read only displays with a lot of space after it. I've checked the html code too and it looks fine.