Page 1 of 2
Passing parameters from user input to the JSON datasource
Posted: Tue Nov 22, 2016 2:39 pm
by oxyg3n
Hello. I need to make data filtration in the backend action that acts as json datasource for report. So i'm trying to pass user input parameters to backend action. Is it possible to pass variables to backend via get or post after user input?
Re: Passing parameters from user input to the JSON datasourc
Posted: Wed Nov 23, 2016 9:19 am
by HighAley
Hello.
You could use variables in the path to the JSON. It will be like next
Code: Select all
http://example.com/json/{yourVariable}
Thank you.
Re: Passing parameters from user input to the JSON datasource
Posted: Mon Apr 11, 2022 10:49 am
by AndreySE
Hi, I have the same task, but it's working fine only on initial load, but after change variable value the endpoint is not called with a new parameter value. On report refresh by interval it's just updating UI without reloading datasource. Is it possible to update datasource? It's working fine with SQL parameters
Re: Passing parameters from user input to the JSON datasource
Posted: Mon Apr 11, 2022 1:05 pm
by Lech Kulikowski
Hello,
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
Re: Passing parameters from user input to the JSON datasource
Posted: Mon Apr 11, 2022 2:00 pm
by AndreySE
Hi,
Here is an Web API demo project without auth for simplification and generated report (you need to restore NuGet packages). As you can see after changing parameter there is no backend requests, same here with refreshing report with interval.
Re: Passing parameters from user input to the JSON datasource
Posted: Tue Apr 12, 2022 11:11 am
by Max Shamanov
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#6693
Re: Passing parameters from user input to the JSON datasource
Posted: Tue Apr 12, 2022 1:37 pm
by AndreySE
Thanks Max, fill free to contact with me if you'll need any additional info about this issue!
Re: Passing parameters from user input to the JSON datasource
Posted: Tue Apr 12, 2022 3:07 pm
by Lech Kulikowski
Hello,
Ok.
Please let us know if you need any additional help.
Re: Passing parameters from user input to the JSON datasource
Posted: Mon Apr 18, 2022 11:15 am
by AndreySE
Hi, is any progress?
Re: Passing parameters from user input to the JSON datasource
Posted: Mon Apr 18, 2022 1:03 pm
by Max Shamanov
Hello,
The issue is fixed. The fix will be available in the next release build.
Thank you