HTML Report Generation in Designer

HTML Report Generation in Designer

Designer 3.x currently supports report generation in pdf, rtf formats. There is no provision currently to generate html reports. To generate an out of box html report in Designer, there is an alternative.




  1. In designer do the following:

    Preferences -->Novell -->Identity Manager -->Document Generation --> check the 'Output XML source files'



  2. Run Document Generator for the project in the Designer


  3. Go to designer workspace location where your project is located.

    Say, '1' is the name of the project, then $workspace\1\Designer\Documents\Generated\1.fo.xml is the source file. This is xsl-fo file.


  4. Download fo2html.xsl from http://services.renderx.com/Content/tools/fo2html.html


  5. Execute the following command.



> java org.apache.xalan.xslt.Process -XML -in $workspace\1\Designer\Documents\Generated\1.fo.xml  -xsl fo2html.xsl -out  report.html



The above command takes xsl-fo as input and applies the xsl-fo to html transformation using fo2html.xsl and generates report.html




Dependency:


jdk1.6, xerces.jar, xalan.jar. By default jdk1.6 gets shipped with these jars in jre\lib\endorsed folder



Issues:



  1. The generated report can be best viewed in Windows internet explorer browser currently.

  2. fo2html.xsl needs to be tweaked to ensure the html gets generated in proper format.




Sample screenshot:



Labels (1)

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2009-10-27 19:37
Updated by:
 
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.