Need to show field only if the field is not empty on portal widget.

Jaydee1
Tera Guru

Hi,

I need to show the field only if it has value, in a portal widget. If its empty it should not show up in the widget on portal. How can we achieve it?

Thanks,

Jaydee

1 ACCEPTED SOLUTION

@Jaydee1 

you must be getting the field value using gliderecord or something

just check if it's empty or not

gs.fieldValue == ''

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

View solution in original post

5 REPLIES 5

@Jaydee1 

you must be getting the field value using gliderecord or something

just check if it's empty or not

gs.fieldValue == ''

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