on 01-22-2016 10:38 PM
Created a report configured interactive parameters. One of those parameters are Boolean and date. these are not required parameters I want them to be optional. From interactive parameters I selected those as Prompt value Optional .
hello
Can you cut/paste the output of the "GET .../documents/{docId}/parameters" call on your document?
Thanks,
eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
http://<server>:6405/biprws/infostore/{reportID}/parameters
is not a valid URL so this would explain the 404 error. You should be using the raylight URL and not the Infostore URL. Try the following, and if it still fails, provide the output that Eric requested
GET http://<server>:6405/biprws/raylight/v1/documents/{reportID}/parameters
Also, just for confirmation, the report is a Webi report and not a Crystal report,correct?
Dan
ah... that makes more sense. Sorry for the confusion.
Is your report saved with data or saved without data?
If saved with data, it should just export as the report was saved.
If the report does not have saved data, then it requires a new instance to be generated. This is where I ran into an error similar to what you are seeing.
If generating an instance without providing any parameter info in the request body I get:
Some parameters are missing values (CRR 00107, JRC00000169)
and if I include the parameter name in the body without any value I get:
Parameter name 'myParam' given with no values. (CRR 00019)
I believe this is a defect in that the refresh (creating an instance) does not appear to account for whether or not the parameter is Optional (ie there is no attribute in the response indicating if the prompt is optional, so it cannot be set.)
Dan
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.