- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 09:50 PM - edited 05-13-2025 09:59 PM
I have a requirement to add style with left alignment for 'Created' and 'Updated' fields .
It is throwing me an error as invalid style record even though it is in the current application scope.
Is it possible to create styles for the oob fields?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 10:16 PM
I tried creating field style on Created field in HR Core Scope with background red and it doesn't work.
I believe you can add field style but it doesn't reflect on OOTB system fields
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 10:16 PM
I tried creating field style on Created field in HR Core Scope with background red and it doesn't work.
I believe you can add field style but it doesn't reflect on OOTB system fields
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 10:16 PM
Hello!
Yes, you can style OOB fields like 'Created' (sys_created_on) and 'Updated' (sys_updated_on) in ServiceNow within your application scope. The "invalid style record" error likely stems from incorrect table or element names, the style being in the wrong scope, conflicting styles, or an invalid CSS definition (text-align: left;). Ensure you create the style record with the correct table, element (sys_created_on or sys_updated_on), the desired style, and confirm it's in your application scope. Check for existing styles that might be overriding your new one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 10:38 PM
- Nope, you can’t style OOB system fields like Created and Updated using standard Style records.
- Yes, you can left-align them visually using a client script as a workaround( but it work on form only not list ).
- Keep in mind these are system-managed fields, so don’t try to modify them from scope styling — it’ll always throw an error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2025 03:16 PM - edited 07-12-2025 11:43 AM
background-image: url('/images/icons/vip.gif');
background-repeat: no-repeat;
background-position: 98% 5px;
padding-right: 45px;
color: black;
font-weight: bold;
text-shadow: -12px 0px 2px red;