You are not logged in.
Dear users of this forum,
we are pleased to inform you that we will be updating the software behind this forum in the near future.
Existing posts, users and categories will remain untouched.
Important:
We will keep you informed in the pinned thread.
Kind regards,
Your ReportServer Team
Liebe Nutzer dieses Forums,
wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.
Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!
Wichtig:
Wir halten euch im angepinnten Beitrag auf dem Laufenden!
Mit vielen Grüßen
Euer ReportServer Team
Pages: 1
We are trying to execute reports like this : http://reportserverurl/reportserver/reportserver/httpauthexport?id=1234&user=asc&apikey=x2ex&format=pdf&download=false&p_1=1&p_2=2&p_3=3
I would like to allow users the freedom to filter or sort any field as they wish. Using JRXML, we can parse the field list and the data types in order to populate the appropriate controls, so don't worry about that.
Is there ANY workaround to being able to pass an arbitrary query via the URL? Possibly, including sorting and grouping?
I am actually considering that we might construct the query, and create a new report or report variant by writing the modified JRXML back to the database, then execute that.
At http://community.jaspersoft.com/wiki/ja … y-tutorial - "There are two flavours of the fill methods in this façade class. Some receive a java.sql.Connection object as the third parameter, and the others receive a JRDataSource object instead." and "Sometimes is useful to use parameters to dynamically modify portions of the SQL query or to pass the entire SQL query as a parameter to the report filling routines. In such a case, the syntax differs a little, like in the following example: SELECT * FROM Orders ORDER BY $P!{OrderByClause}" - suggest that there is hope for more freeform report configuration.
Last edited by wonky (2017-02-08 14:29:03)
Offline
Pages: 1