[#3700] - Documentation for param "type" is wrong

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
N/A
Assigned to:
0

JASPERREPORTS SERVER PROGRAMMING GUIDE RELEASE 5.6 says at page 15
"type": {
"type": "string",
"description": "Type of resources to search.",

My example fails with a type-param.
Instead I use a "types"-param with a list of type-names:

JRSClient.resourcesSearch({
folderUri:"/public/Samples",
types: ['dashboard', 'inputControl'],
recursive:true,
success:listRepository,
error:function (err) {
alert(err);
}
});

v5.6
ssr's picture
ssr
12
Joined: Jan 21 2014 - 1:10am
Last seen: 2 years 3 weeks ago
Feedback
randomness