04-13-2012 07:23 PM
I am using xml report and need to customize the batch report body to add values. Did override the ModifyBatchReportEntry callback but noting gets written to the batch report body. Does this needs to update the xls files? if so can the xls file be updated dynamically?
thanks!
04-16-2012 04:08 PM
Hello,
Hmm it seems like the modifies are not working correctly. This might be an issue with calling a DLL instead of running through the sequence. Let's try opening TestStand » Configure » Report Options » DLL » at the bottom select the Sequence radio button. this will gurantee we call the ModifyReportEntry callbacks.
Daniel
04-17-2012 10:32 AM
Hello,
Unfortunately there is not currently an option to select Sequence for the report generation method when the report format is XML. There are, however, a few alternatives: Using the ATML, HTML, or ASCII formats will allow you to select Sequence, and at that point the ModifyReportEntry callback (and other similar callbacks) will become available.
If you are required to continue with XML you will need to modify the DLL that TestStand uses to build the XML report. For your convenience we include the source code for this DLL. You will find the project file at <TestStand>\Components\Models\TestStandModels\.
Thanks,
Daniel
04-18-2012 06:25 PM
Thanks Daniel, I am able to override the ModifyBatchReportEntry callback for xml. Although not trivial, it involed the modification to the xslt and updating the reportgen_xml.seq.
09-12-2013 10:52 AM
@lvrat wrote:
Thanks Daniel, I am able to override the ModifyBatchReportEntry callback for xml. Although not trivial, it involed the modification to the xslt and updating the reportgen_xml.seq.
Ivrat, can you expand on the solution for this problem? I just ran into the exact same roadblock and would love to know what you did for modifying the xslt and the reportgen_xml.seq to allow the ModifyBatchReportEntry callback (which I assume will also allow the ModifyReportEntry callback as well, which is what I really need).
Thank you!