Hi there!
Could you help me with the next please?
I'm trying to run a report from a URL with a single parameter and I have followed the steps described on Manual resulting an URL as follow:
http://localhost:8080/art/runReport?reportId=137¶m1=helloworld
For some reason, the report is running but not transfering the parameter from url to the query. The query is an sp as following:
exec mysp @param1=#param1#
Surprisingly It is running well when I run the report from Art app so, the parameter is well defined on report.
I tested this with another report with 2 parameters and it is working well from URL.
Do you have a clue? By the way, I'm using ART 5.0
Thanks in advance!
Hello, Please try with p-param1 i.e. http://localhost:8080/art/runReport?reportId=137&p-param1=helloworld
Hi Tim!
Grand! It was that!
Thanks a lot!
Great. Glad to hear.
Sorry Tim,
Is there any way to get the ART userid as SQL parameter?
Regards!
Not really. But you can use it in your query using the :username: placeholder.
Your're grand Tim!
Thanks!
Log in to post a comment.
Hi there!
Could you help me with the next please?
I'm trying to run a report from a URL with a single parameter and I have followed the steps described on Manual resulting an URL as follow:
http://localhost:8080/art/runReport?reportId=137¶m1=helloworld
For some reason, the report is running but not transfering the parameter from url to the query. The query is an sp as following:
exec mysp @param1=#param1#
Surprisingly It is running well when I run the report from Art app so, the parameter is well defined on report.
I tested this with another report with 2 parameters and it is working well from URL.
Do you have a clue? By the way, I'm using ART 5.0
Thanks in advance!
Hello,
Please try with p-param1 i.e. http://localhost:8080/art/runReport?reportId=137&p-param1=helloworld
Hi Tim!
Grand! It was that!
Thanks a lot!
Great. Glad to hear.
Sorry Tim,
Is there any way to get the ART userid as SQL parameter?
Regards!
Last edit: Jorge 2021-07-30
Not really. But you can use it in your query using the :username: placeholder.
Your're grand Tim!
Thanks!