Help adjusting Width of Annotation Type- Info Box Blue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2022 06:44 AM - edited 11-04-2022 06:45 AM
Greetings,
How do you decrease the width of the Annotation Info Box Blue by chance? Its to long and I want to condense the box to make more uniform.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2022 06:56 AM
You can create a new annotation type
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0870012
- Navigate to the sys_ui_annotation_type table (Form Annotation Types)
- Click the 'New' UI Action
- Name it appropriately, e.g. 'Yellow info box'
- Input the following into the Style field (as an example):
background-color: yellow; - Save the record
- Navigate to a Form Layout and insert a new Annotation, using your new 'Yellow info box' as the type, and input some text.
- Save the Form Layout and test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2022 07:01 AM
Thank you for the info. All I want to do is decrease the width of the box as its to long for my form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2022 07:13 AM
The instructions go through that. Create a new form annotation type and then you can set the width in the style section.
Or if you want to modify the width for all annotations that use info box blue, you can modify that here
instanceName.service-now.com/nav_to.do?uri=sys_ui_annotation_type.do?sys_id=753f88a80f930000b12e6903cfe01206
Example:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2022 07:27 AM
I was able to condense it through your instructions but it took away center alignment.