Creating a UI Builder page template

freires
Tera Contributor

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.

4 REPLIES 4

Sid_Takali
Kilo Patron
Kilo Patron

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... 

Satishkumar B
Giga Sage
Giga Sage

@freires refer this:

https://docs.servicenow.com/bundle/xanadu-application-development/page/administer/ui-builder/task/re...


…………………………………………........................................................................................
Please Mark it helpful👍 and Accept Solution ✔️!! If this helps you to understand!!

………………………………………….......................................................................................

Community Alums
Not applicable

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,

SarthakKashyap_0-1725130690221.png

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

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.