Dear OFBiz Community,

I hope you are doing well.

I am currently working with *Apache OFBiz Release 18.12.19* and integrating
*JasperReports* for reporting. I am seeking guidance from community members
with experience in JasperReports integration within the OFBiz framework.
Background

   -

   JasperReports is already *successfully connected to the OFBiz database*.
   -

   An *inventory report* is implemented and functioning correctly
within an *existing
   facility-related module/plugin*.

Current Requirement / Challenge

The new requirement is to:

   -

   Expose this inventory report through a **new OFBiz component/module
   named ***Reports*
   -

   Allow users to *interact via the OFBiz UI*, provide input parameters
   (such as facility, date range, product, etc.), and
   -

   Based on these inputs, *generate the report file (PDF / XLS / CSV) using
   JasperReports*

The most critical challenge I am facing is understanding the *correct and
recommended way for JasperReports to interact with the OFBiz UI layer*,
specifically:

   -

   How UI screens/forms should collect user inputs
   -

   How those inputs should be passed to OFBiz services
   -

   How services should invoke JasperReports with parameters
   -

   How the generated report file should be returned or streamed back to the
   UI for download

Areas Where Guidance Is Needed

I would appreciate help with:

   -

   Best practices for *UI → Service → JasperReports → File generation* flow
   in OFBiz 18.12
   -

   Recommended screen/form configuration for report input parameters
   -

   How to reuse existing services/data logic from other modules within a
   new Reports component
   -

   Proper handling of report output (PDF/XLS) in OFBiz responses
   -

   Any known pitfalls or OFBiz-specific constraints when integrating
   JasperReports at the UI level

Additional Context

While the report works within the existing module, the goal is to implement
this cleanly in a *dedicated reporting component*, aligned with OFBiz
architecture, security, and maintainability best practices.

Any documentation, examples, or real-world implementation references would
be extremely helpful.

Thank you for your time and support.

Best regards,
Ilma masroor

Reply via email to