- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2017 12:27 PM
Hi,
We're on Helsinki.
I am crafting a Service Portal and attempting to use the Data Table From URL widget. I do not understand how to enter the url and parameters... it always wants to drop down a list of tables.
Where does the URL part come in?
I am attempting to add this to the URL:
?id=list&table=u_vtracking&filter=active%3Dtrue^short_descriptionISNOTEMPTY&spa=1&p=1
All suggestions are most welcome!
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-26-2017 04:21 PM
Hi Anthony,
here is the example of a page with data table with URL.
https://instnace.service-now.com/sp/?id=test&table=incident&filter=active%3Dtrue
In the above url,
test: Page ID.
sp: portal ID
table: data table parameter: table
filter: data table parameter : filter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2017 05:02 AM
Thanks, Srini but I still don't "get it" :<
Here's how the widget initially appears, and I have put it the url parms... the table 'u_vtracking' is a valid table but you can see that it says NO MATCHES FOUND
And when I click off, it reverts back to EMPTY ---
What am I missing?? I am sure it has something to do with the widget statement "... or specify on URL ..."
Am I supposed to put the entire URL in there? Like ==>
https://<instanceName>.service-now/sp?id=list&table=u_vtracking&filter=active%3Dtrue^short_descriptionISNOTEMPTY&spa=1&p=1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2017 05:59 AM
OK, I just figured out that this URL ***is*** the actual URL such as:
And is not part of the widget configuration at all !
So can I also specify the COLUMNS I want shown instead of the columns it is showing me by default?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2017 06:09 AM
I am going to close this as I've discovered that I can use the data table instance widget, specify the TABLE, and COLUMNs (and their order) I want, but then simply add the filtering functionality I am after, by adding THAT to the URL such as:
https://<instanceName>service-now.com/sp?spa=1&p=1
Thanks to all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-13-2017 06:08 AM
Hi Anthony,
Do you mind explaining how you solved it? not sure i understand from your last comment.
i can't find a way to control the columns and their order.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-13-2017 07:38 AM