How JasperReport "send / read" current user ID session, which opens the report. To generate a report for the user, where "where user.id = id of the current user." This question, i don't find documentation.
I’m sorry, currently you can not know the ID of the current user from the IReport tool.
CMDBuild Team
Previously Tecnoteca wrote:
I'm sorry, currently you can not know the ID of the current user from the IReport tool.CMDBuild Team
but as an Parameter or Variables used jasperreport?
In a report, you can define parameters that are requested to the user and then are known to iReport (so they can be used in the SQL query)
It is not currently possible to send other variables from CMDBuild to iReport.
CMDBuild Team
can i use this parameters send it as parameters cmdbuild which can be set as current value from {user:id} without widgets, without manual “dropdown list” set value? Can you example, please?
You can't send informations from CMDBuild to IReport without a manual "dropdown list" set value.
CMDBuild Team
and automatically set cardID from {user:id} without manual ? see attachment picture