Jump to content
We've recently updated our Privacy Statement, available here ×

How to pass parameters (Input Control) in XML while scheduling Report from rest_v2?


jigar.patel

Recommended Posts

I see the example of Json code to schedule report in Web Service Guide. I tried to create equivalent XML code to pass values for input controls but its not working. Below is my code..
 
<source>
<reportUnitURI>/reports/Test_Report</reportUnitURI>
<parameters>
<parameterValues>
<name>parameter1</name>
<value>Done</value>
</parameterValues>
</parameters>
</source>

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I did this and it worked...

<source>
<parameters>
<parameterValues>
<entry>
<key>parameter1</key>
<value xsi:type='xs:string' xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>ASDF</value>
</entry>
</parameterValues>
</parameters>

<reportUnitURI>/reports/Test_Report</reportUnitURI>

</source>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...