Creating a UI Builder page template
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2024 01:00 PM - edited 09-04-2024 07:50 AM
Is it possible to create a custom template for UI Builder pages? How would I go about it?
Update: I found a table, sys_uib_template, where all the templates are stored. I thought adding a new registry to this table would be enough to create a new template option in UI Builder. However no matter how I configure the new registry, nothing happens in UI Builder. Also, there are more templates in the table than options in UI Builder, so it seems they are being "filtered" somehow. Has anyone ever encountered this scenario?
Update 2: I managed to create a new template! The changes I was making weren't being applied to UI Builder because (apparently) it queries the local storage to build the template gallery. It was cache.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2024 08:10 AM
Hi @freires It is possible to create custom template for UI Builder pages. Have a look the article https://www.servicenow.com/community/next-experience-articles/ui-builder-create-amp-configure-a-page...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2024 11:14 AM
@freires refer this:
…………………………………………........................................................................................
Please Mark it helpful👍 and Accept Solution ✔️!! If this helps you to understand!!
………………………………………….......................................................................................
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2024 12:01 PM
Hi @freires,
It seems that creating a new page template in UI Builder ServiceNow isn't possible. Instead, you can either use a similar existing template or modify it to suit your needs. Alternatively, you can duplicate the page by clicking on the three dots,
selecting "Developer," and then choosing "Open Page Definitions." This will allow you to access all the properties of the page, which you can then copy and paste to create another page with the same configurations.
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2024 06:01 AM
I was hoping the templates were stored in a table, like everything else in SN, and that it was enough to create a new record in that table. I guess it isn't that simple. I did some digging around and couldn't find out how the templates are stored in SN.