Anonymous_User Absent Member.
Absent Member.
276 views

Filtering reports by OU


I'm working on a project where I need to develop a user report (with
active/inactive status as well as basic user info and roles) and filter
the users by container. The tree structure is such that partners are
broken out by OU and the client wants to be able to give a report to
each partner with only their users in it.

Does anyone have a sample report that does this?

Also, since I'm very new to customizing jasper reports and don't know
the answer to this one, is it possible to see the underlying xml for the
existing reports to use them as sample "code"?

Deron Tinsley


--
dtinsley
------------------------------------------------------------------------
dtinsley's Profile: http://forums.novell.com/member.php?userid=32546
View this thread: http://forums.novell.com/showthread.php?t=432203

0 Likes
1 Reply
Anonymous_User Absent Member.
Absent Member.

Re: Filtering reports by OU


Hello dtinsley,

Yes, the SDK comes with a number of sample reports that you can look at
for details.

To build a report like you describe, you need to add a parameter s.t.
your customer can pick from a list of possible OUs.

To do so, the process is to define the parameter in iReport, extract it
to become a Plug-in parameter, and then incorporate it into the prompted
parameters.

First off, is there a particular field that contains the OU? Can you
give some detailed examples, and tell us what your DB query looks like
so far?


--
DCorlette
------------------------------------------------------------------------
DCorlette's Profile: http://forums.novell.com/member.php?userid=4437
View this thread: http://forums.novell.com/showthread.php?t=432203

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.