I got the above error and I was checking the report and RTF template both was fine but still I was not able to figure out what went wrong and then checked the Concurrent everything seeemed to be fine. But still I was not able to figure out.
Then while submitting the report I noticed the Layout was not captured. So I checked the name of deployed concurrent short name and Data Definition name and both are correct. Then I checked the style required and then the layout was captured. I compared with the working reports style checked was not there. However this actually Issue raised due to change of Text report to XML report.
When we have problem in XML reports we can check whether XML is correct and layout is correct. We can do that by submitting the report and from diagnostics we can take output of XML and compare.
In development we can generate file to XML and cross verify
In XML Based report when we do have correct XML data and correct RTF Layout still we are facing problem we have to check that deployed concurrent short name and Data Definition name are correct.
Still facing the problem we have check the Concurrent output as XML and also Style is required.
General Checklist in XML Reports when there is no output.
1.XML data and RTF Template
2. Deployed concurrent short name and Data Definition name
3. Data Definition name and Template name in XML Publisher Administrator
3. Concurrent output as XML and also Style is required.
Share your thoughts
A question came through today: what is the syntax for a logical OR in a BI/XML Publisher IF statement?
The standard BI Publisher “IF” statement doesn’t seem to cut it.
Lets say I want a test:
if (a=1 or a=2) then output_my_stuff end if
I don’t want to have to repeat output/logic like:
if(a=1 or a=2 or a=3) then tag_should_be_exe end_if
A solution is to use if statement structure. So we have:
<?if:GRADE=’1′ or GRADE=’2′ or GRADE=’3′ or GRADE=’4′?>
If it works use it!