I've created a report in designer. It previews fine and I have saved it as a .mrt file. The Data connection in the the report is to an xml file hosted on a web server, so it has an absolute url.
When I try to open the report in my Flex application it is blank. There is no data and no labels.
The code I am using to display the report is:
Code: Select all
private function reportLoaded(e:Event):void {
var report:StiReport = new StiReport();
var xs:String = e.target.data;
report.loadDocumentFromString(xs);
report.show(reportViewer);
}
How do I make the report display?
Thanks
Dom