I would like to be able to pass a URL of my low code app where a visualized table is already pre-filtered based on the content of the URL.
I thought this was possible for text columns, but I can't find the documentation.
How do I configure this?
How will the URL look like in the end?
A very similar question has been answered here: Low Code App – URL Data Input to Strings feed for GQI Query.
The documentation for the url format can be found here: Specifying data input in a dashboard URL. LCA only support the newer JSON-syntax of it, though.
Nothing wrong with that URL. Something else must be going wrong in the app.
Got things working: something was wrong with the pages in my application.
Additional question: How do I define multiple filters in the URL.
I’ve tried the below, but this results in: “Error trapped: Value cannot be null. Parameter name: column” on my table.
{
“version”: 1,
“components”: [{
“cid”: 10,
“select”: {
“strings”: [“Busy”]
}
},
{
“cid”: 9,
“select”: {
“strings”: [“1276”]
}
}
]
}
This looks like a valid url query parameter to prefill feed 9 and 10 with value 1276 and Busy respectively. Are the feeds showing those values after opening that url? Does the query work when manually filling in those values? Does the query work when creating it with those values filled in directly into the query instead of through feeds? Something might be going wrong inside GQI core.
Hi Gilles,
I tried this out and when I fill in something manually in my text input component the filtering works.
But when I use it in the URL it doesn’t fill in the value in the box + table is not filtered.
This is how my URL looks like:
… /app/…/MyPage?data={“version”:1,”components”:[{“cid”:9,”select”:{“strings”:[“1276”]}}]}