Create custom field on UI builder

rah dev
Tera Contributor

Hi Community,

I'm trying to display a custom reference field in UI Builder that points to the Incident table. The goal is to let users search and select Incident records from this field.

Since there's no out-of-the-box component for this, I attempted to create a custom widget with the required functionality, but I wasn’t able to attach the widget in UI Builder.

I’m looking for a way to either:

  • Add a custom reference field that works with the Incident table, or

  • Successfully use a custom widget/component to achieve this in UI Builder.

Any guidance would be appreciated. Thanks in advance!

5 REPLIES 5

Shivalika
Mega Sage

Hello @rah dev 

 

Which workspace is this ? You can create this field in the respective view and add it. Did you try this ?

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

Ankur Bawiskar
Tera Patron
Tera Patron

@rah dev 

you should create a widget and include the reference field there using sn-record-picker

refer this link on how to add widget or custom component in workspace

Lumen: A Custom ServiceNow Workspace Component: Service Portal Widgets Inside Configurable Workspac... 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Paige Duffey
ServiceNow Employee
ServiceNow Employee

Hello-Are you trying to modify a workspace or a UIB Portal? 

this is workspace