Hi Dojo Community
I have a dashboard created that uses a string that is coming from the URL feed to provide the input for multiple GQI Queries I have in order to display some data in tables.
I'm using it this way so the URL generated has already all the information needed to load the entire dashboard, otherwise I'd have to manually input every time the information needed for the queries.
However, I want to use to Low Code Apps since I'll need to trigger some scripts and will need some logic only possible on Low Code Apps.
I'm able to use the GQI Queries normally but I haven't found the way to use information from the URL feed in the same way as I was doing with Dashboards.
I don't understand how I can achieve that using the JSON structure indicated in the documentation Specifying data input in an app URL | DataMiner Docs.
I also tried the same way as Dashboards with <DashboardURL>?strings=<StringNeededForGQI> but it does not pick anything when I select that feed from the query.
And finally, I tried with the JSON field "feed" indicated on Specifying data input in a dashboard URL | DataMiner Docs with no success.
Is that possible? Or in the case is not possible, is there any recommendation on how can I achieve something similar?
Thanks in advance!
Hi
The URL feed behaves a bit differently in Low-code apps than it does in dashboards. We have an item on our backlog to make this consistent, so that for instance you could visit a url like: my-low-code-app/my-page/?strings=my value, and configure your query like this:
This would work in dashboards, and will eventually work in low code apps, but unfortunately we would need an intermediate feed for now:
And visit a url like my-low-code-app/my-page/?data={"version":1,"components":[{"cid":1,"select":{"strings":["my value"]}}]}
This is not exactly the use case you want to achieve, because we now have an intermediate feed that the user can still change afterwards, but it's the closest you can get with the latest version of the Low Code apps.
I hope this helps.
Hi Gilles,
Thanks for the help! I was able to replicate the example with the intermediate feed and is working, I think this will work until we have direct feed.
I also haven’t seen any way to disable/hide components like this to avoid possible user input so will keep that in mind.