Question on Data Table from URL Definition

ritaaudi
Tera Contributor

Hi: On my service portal, when I go to a 'Data Table from URL Definition' list and I ctrl right click I see the following:

find_real_file.png

When I click 'Instance in Page Editor', it looks like it is configured for the incident table.

Now if I go to a project list and ctrl, right click as before, I see:

find_real_file.png

and if I go to the 'Instance in Page Editor', it looks like it is configured for the incident table:

find_real_file.png

I am confused why that is? I expected it to be the project table. Does anyone know why that is?

Thanks!

7 REPLIES 7

Jon Barnes
Kilo Sage

Data Table from URL definition is not tied to any specific table, it depends on what is passed into the URL. So it looks for a parameter called "table" in the query string and that determines which table it will show, so incident is probably just a placeholder in this case for demonstration purposes, but the real config comes from the URL.



Does that help?


Hi again: So I want to be able to use a different 'Data Table from URL Definition' widget on the incident table than on the Project table. Can I do that? If so how? When I ctrl right click on the list page from incident or Project, I am getting the same widget for both tables as you can see above. Thank you!


any time you drop a widget onto a page, that creates a widget instance.



and each of those instances can be configured with any of the options that widget allows.



but when you use the Data Table from URL widget, some of the configuration is designed to come from the URL. This is useful because it allows you to pass in URL parameters to the same page and get the desired table results.



if you want diff behaviors for projects and incidents, then you could use the Data Table from Config widget.



create a page for incidents and a page for projects, and drop one of the above mentioned widgets into each of those pages. Now you will have 2 separate widget instances and you can configure those specifically for project or incident, and you can set the filter, fields, etc.



is that what you are looking to do?



otherwise, the Data Table from URL definition widget is meant to stay generic so the URL parameters can drive the results.



hope that helps


Hi Jonathan: Here's the issue that I'm struggling with:


On the ticket form for both Incident and Project, you see the following: Number, Status, Created, Updated:


find_real_file.png


I want to display different fields on the Project ticket form than the Incident ticket form. What is the best way to accomplish this? Thank you!