Widget to display a table

AmritaT
Tera Expert

I'm new to Service Portal and finding my ways to fulfill the requirements of the client. My first requirement is to display the table that I have created for an app on the portal page. Is there any OOB widget to display a table in a list view on the portal?

 

Any suggestion will be highly appreciated!

1 ACCEPTED SOLUTION

SanjivMeher
Kilo Patron
Kilo Patron

There are out of box widgets you can use, such as 'Data Table from Instance Definition' which you can add to a page and display your table records. 


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

5 REPLIES 5

sachin_namjoshi
Kilo Patron
Kilo Patron

Please use below OOB widget code to display table.

 

https://docs.servicenow.com/bundle/london-servicenow-platform/page/build/service-portal/concept/widget-showcase.html

 

Regards,

Sachin

SanjivMeher
Kilo Patron
Kilo Patron

There are out of box widgets you can use, such as 'Data Table from Instance Definition' which you can add to a page and display your table records. 


Please mark this response as correct or helpful if it assisted you with your question.

AmritaT
Tera Expert

Thank you so much. 

 

Another question, can I also show the attachment associated with a record?

 

You can only show the attachment on the form, but not on list. To show attachments on list view, you will have to clone the existing widget 'Data Table from Instance Definition' and add your own code. But that will be pretty complex to do.

 

Attachments will be visible, once user opens a record from list view and the OOB 'form' widget is used to show a record in form.


Please mark this response as correct or helpful if it assisted you with your question.