Formating Catalog Label Variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2012 07:37 AM
Currently I am building a form that due to the need for text blocks where I can provide information within the item form itself. Is it possible to change the formating (i.e. font size, font color or label color) on label variables within the Service Catalog? When they are created now they are all the same font size color and the label block itself gets the color of the instance banner.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2012 09:31 AM
You can apply some formatting to label variables using standard HTML tags (bold, italic, underline, font size/color/style, etc). Just add the inline tags to the Question field like this:
<font size=4 color='green'><i>This is large green italicised label text</i></font>
You could probably also use inline css though I haven't tried it. Not sure if the background color on the label block can be changed on the fly. You also need to keep the character limit for the Question field in mind when you're applying formatting tags.
BTW, anchor tags work in label questions too. We've used label variables in some of our SC items to allow users to link to other pages, KB articles, external sites, etc.
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2012 11:55 AM
This was exactly what I was wanting to do. I completely forgot you could use html in there. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2014 07:40 PM
Also, system property 'glide.ui.escape_text' must be set to false
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-13-2014 03:29 AM
How can we chnange the color of the label type variable?