Skip to Content
author's profile photo Former Member
Former Member

BOXI API does not respect the filter to limit number of records displayed.

Support Case for BOXI

Title: BOXI API does not respect the filter to limit number of records displayed.

BOXI version: Business Objects boe XIR2 SP2

OS: PARISC HPUX 11.11

Description:

In the report, there is a filter to limit the number of SLAs in u201CBottom 10 SLAsu201D to be <=3.

It works correctly while viewing the report using InfoView web interface. The total is 5 and in the upper table shows only 3.

However the filter is not work in the API. The report is generated by using BOXI API, the java code is listed at the bottom for your reference.

I confirm by checking the output, the result from API does not respect the filter as it did in InfoView web interface.

-


import com.businessobjects.rebean.wi.*;

DocumentInstance doc = serverSession.getDocumentInstance(getDocumentName(), repoType);

// -


Get generated HTML -


ReportImpl rep = (ReportImpl) doc.getReports().getItem(0);

rep.setPaginationMode(PaginationMode.Listing);

rep.setReportMode(ReportMode.Viewing);

m_boHtmlDoc = getHTML(rep);

protected String getHTML(ReportImpl rep)

throws ReportErrorException {

XMLView vx = (XMLView) rep.getView(OutputFormatType.XML);

byte[] xml = getBOXML(vx);

ByteArrayOutputStream html

= transformBOXMLtoHTML(xml, rep.getDocument());

return getString(html);

}

Any one who encountered this before? From my side I think it is a bug, so I post this message asking for help and hope it can be fixed soon.

I can send you screen shot if needed, thanks!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Sep 30, 2008 at 05:12 PM

    Usually, any bugs in the SDK can be reproduced in InfoView, since it uses the same SDK.

    There's not enough info here.

    Sincerely,

    Ted Ueda

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Ted Ueda

      > Do you refresh your document in code?

      > Do you check the document to ensure you're getting the correct one?

      Yes I did refreshed the doc in code, and was sure getting the correct one.

      > If you don't know how to answer the above, I strongly recommend opening a support ticket.

      Thanks, so I will try to open a support ticket.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.