You can customize the warning messages when exporting the report result to XML through Page Report Studio. With this function, you can specify what you want to show as a warning message. The custom warning messages are supported across web browsers.
To customize the warning messages, you need to customize the jsp files using either of the following two methods:
Method 1
<install_root>\public_html\dhtmljsp
folder with your favorite editor.Method 2
You can also export the report result via the Export panel instead of clicking Menu > File > Export. By default, the panel is hidden. So, the following is another way to create custom warning messages:
<install_root>\public_html\dhtmljsp
folder with your favorite editor.For example, using method2, when you need to export the report result as XML, and if you want to show "This is IE Browser" while browser is IE, you need to set panelDIV in customize_panel.jsp file to visibleMargin as follows:
<div id="<%=DHTMLConstant.DHTML_PREFIX%>panelDIV" class="visibleMargin">
And then customize CustomMsgForXML in the same jsp file as follows:
String browserName=request.getHeader("User-Agent");
String customMsgForXML ="This is "+browserName;
Access JReport Server via IE, run a report in Page Report Studio, select XML from the Select Report Result Format drop-down list in the Export panel, and click OK. Then a pop-up box will show you "This is IE Browser".