- Navigate to the sys_ui_annotation_type table (Form Annotation Types)
- Click the 'New' UI Action
- Name it appropriately, e.g. 'Black info box'
- Input the following into the Style field (as an example):
background-color: black; - 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.
How to change the styling for an annotation box in form layout
Working Code Asked question November 8, 2023