What is the difference between Data Table from URL Definition vs. Data Table from Instance Definition?

yundlu316
Kilo Guru

Hi, Can someone explain what the difference is between the two widgets: Data Table from URL Definition and Data Table from Instance Definition?  Our team is trying to display the sys_template table in Service Portal and noticed that it is not possible with Data Table from Instance Definition, but it is possible with Data Table from URL Definition.  

What is the difference between the two and when would you use one over the other?

Thanks!

1 ACCEPTED SOLUTION

SaiRaviKiran Ak
Giga Guru

Hi,

Data Table from URL Definition:

When you use data table from URL definition it is configured very similar to the way you would configure a list in the rest of the platform but with enough small differences to make it tricky.

This widget will pull the list of fields to show from a standard list view. We specify the view we want to use in our URL using the view parameter.

This widget expects "view" option. if you don't pass view it takes you to the "mobile" view as default.

To Add/edit fields in 'Data Table from URL Definition' widget,follow the process in below thread.

https://community.servicenow.com/community?id=community_question&sys_id=ac60cfa1db98dbc01dcaf3231f96...

 

Data table from instance definition: 

In Service Portal, "Data table from instance definition" widget to display the list of records. The condition builder is only available for "Data Table from URL definition widget". The Data Table from URL definition widget displays the table you select from the list. 

 
Please mark answer as correct if it answers your question.
 
Thanks,
Ravi

View solution in original post

3 REPLIES 3

SaiRaviKiran Ak
Giga Guru

Hi,

Data Table from URL Definition:

When you use data table from URL definition it is configured very similar to the way you would configure a list in the rest of the platform but with enough small differences to make it tricky.

This widget will pull the list of fields to show from a standard list view. We specify the view we want to use in our URL using the view parameter.

This widget expects "view" option. if you don't pass view it takes you to the "mobile" view as default.

To Add/edit fields in 'Data Table from URL Definition' widget,follow the process in below thread.

https://community.servicenow.com/community?id=community_question&sys_id=ac60cfa1db98dbc01dcaf3231f96...

 

Data table from instance definition: 

In Service Portal, "Data table from instance definition" widget to display the list of records. The condition builder is only available for "Data Table from URL definition widget". The Data Table from URL definition widget displays the table you select from the list. 

 
Please mark answer as correct if it answers your question.
 
Thanks,
Ravi

Can you mark the answer as Correct if it answers your question.It will be helpful for others also to get solution from this thread

When I load the page I am requested to pick a table.  How do I define a default table.  I have the below populated but still does not default to that table.

 

find_real_file.png