In the document writing Java Analysis Reports it shows that there is an extra parameter that the Analysis Report can send to the getReportContent method. How do you use this to pass additional information to the report. I also noticed that the analysis report parameters don't allways get sent in the order the tempalte is setup using.
Re: Analysis Report UserData Object and how to use it
Just so there is no confusion. I am asking about the parameter highlited in bold. It allways comes as null.
public ReportContent getReportContent(MegaRoot megaRoot, Map<String, List<AnalysisParameter>> parameters, Object userData)
Edit: I would also liek to ad that the only reason I want to find out how to pass additional userData is becuse I have 3 reports who's code is 90% the same. I want to pass additional data so I can consolidate these three reports into one. I just need to figure out which template is invoking the report. If there is another way to do this without using the userData parameter then I'm all ears.