Adding Image when no records to show on simple list widget

Community Alums
Not applicable

Hi Team,

 

I have created a Portal, here I have added a Simple list widget which show the list of records. When a new user logs in the widget show as "no records found" is there a possibility to show show kind of image when there are no records

 

Current screenshot

prudhvirajy_0-1745205525285.png

Expected 

prudhvirajy_1-1745205559450.png

 

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Community Alums 

that message is shown when user possibly doesn't satisfy ACL etc

check the widget code from where it's showing that and add image which is by default hidden but if no records are found then the image will be shown

Add image in this div and enhance

AnkurBawiskar_0-1745206025407.png

 

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

View solution in original post

10 REPLIES 10

Ankur Bawiskar
Tera Patron
Tera Patron

@Community Alums 

that message is shown when user possibly doesn't satisfy ACL etc

check the widget code from where it's showing that and add image which is by default hidden but if no records are found then the image will be shown

Add image in this div and enhance

AnkurBawiskar_0-1745206025407.png

 

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

Community Alums
Not applicable

Hi @Ankur Bawiskar , Thanks for the response. I have added the image tag to the HTML but it's not sowing up on the portal. is something missing?

prudhvirajy_0-1745213735770.png

 

@Community Alums 

where did you add that image in db image?

also are you sure there are no records when you test it?

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

Community Alums
Not applicable

@Ankur Bawiskar , yes there are no records. Image is in ServiceNow db_image table