uib - ui builder need to change style of heading component in condition if true of a field

Firas Kh
Tera Expert

Hi Experts,

i'm trying to get a heading component in the ui builder, to be bolded style once another field is returning true (condition) how i can achieve that via the ui builder heading component config?

see the attached photo.

thanks!

2 REPLIES 2

michaelj_sherid
ServiceNow Employee
ServiceNow Employee

@Firas Kh we cannot see the image you are referring to. Can you attach the image so we have a good idea of what you are trying to do?


Regards,

Mike

@michaelj_sherid Hello, thanks for your message, attached it again, more infos about the case:

1. the uib page in the attached photo is the case srp customized page.

2. the component in the photo is "heading" type.

3. this page has data source taking values from hr_profile

4. the requirement is to change the "heading" text style to bolded once a validation from the hr profile is set to true, just like @data.look_up_sys_user_record.results.0.u_indication_6.value

* the indication in this data bind is a field from the hr profile that should be selected to turn the "heading" text to true.

 

thanks!