Home Forums Presentation Jasper Reports Detail Report – Configuring where to pull “Interactions” from.

Viewing 3 reply threads
  • Author
    Posts
    • #23645
      Max WidmaierMax Widmaier
      Participant

      We are looking to customize the detail report so that a user will see all activities including those from child objects.

      For example,

      Company A

      • Email Task
      • Employee B
        • Admin Time Schedule Item

      What we’d want would be for the detail report to include BOTH the email task and the admin time schedule task.
      From snooping around with JasperStudio and in NexJ Studio, I can’t really find a way to do this.
      The best I found was a query for EntityParticipant inside of ContactDetail_Interactions.jrxml.
      However, I see no way to add onto that querying for child items. I’m not very familiar with the reporting system, but it seems to me that the entity filtering is done by the framework.

      So, you make the queries for EntityParticipant with your various filter, then the framework tacks on whatever parent household/company the original report was using. (That’s what I’m thinking is happening).

      Is this correct? Is there any way to do what I’m looking for?
      Thank you.

      0
    • #23660
      Nicholas Mc NeillyNicholas Mc Neilly
      Participant

      As much as possible we would caution against customizing out-of-the-box reports.

      The existing report is essentially linked through the entityParticipation attribute of Entity.meta (i.e. EntityParticipation). It sounds like what you’re asking for may be available through the actRollups attribute of Entity.meta (EntityActRollup). You should perform an appropriate query via the Scheme Console to verify whether or not the actRollups collection references the data you are looking for.

      If it does, then in theory it would be possible to revise the report definition, possibly with the inclusion of a nested subreport that would meet the intended use case. However, this would require the developer to have some experience using JasperReports and JasperSoft Studio.

      0
    • #23679
      Max WidmaierMax Widmaier
      Participant

      Ok, thank you. I will do a little digging and testing and see if we can get something worked out.

      0
    • #23696
      Trevor BallTrevor Ball
      Participant

      I wonder whether this use case might be better suited to NexJ Reporting, because I think it should be reasonably easy to configure an ad-hoc report along these lines. I suppose the painful part would be having to add the entity to the filters each time you want to run it, but just a thought I wanted to contribute.

      0
Viewing 3 reply threads
  • You must be logged in to reply to this topic.