ui builder

garimakharb
Giga Guru

Hi , I have a query in UI Builder, As I am new to this and learning ..
Which component should we use to display dynamic text or style my texts?

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@garimakharb 

where you want to show message and what's your business requirement?

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

AyushKumarM
Mega Guru

Hi @garimakharb , you can use repeater component and inside it you can iterate over a data array. this way use can display text and bind them to the components inside the repeater.

If this answer worked, please mark it as the solution. A helpful mark is also appreciated—it helps others in the community.

Thanks and Regards,

Ayush

 

Adrian Ubeda
Mega Sage

Hello @garimakharb , 

You will need to bind data to a component inside UI Builder, check this link: https://www.servicenow.com/community/developer-articles/dynamic-data-binding-in-servicenow-ui-builde...

If it was helpful, please give positive feedback! ✔
☆ Community Rising Star 22, 23 & 24 ☆

Sarthak Kashyap
Mega Sage

Hi @garimakharb ,

 

You can use component called "Stylized text", here you can able to bind the text with client state parameters you can refer below image

Here I create one client state parameter called "name" and value is "UI Builder ServiceNow", and I bind that to stylized text component, there is bind button if you hover on stylized text component.

SarthakKashyap_0-1768061415128.png

 

Result

SarthakKashyap_1-1768061702961.png

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak