Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6760987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:07:52+00:00 2026-05-26T14:07:52+00:00

I have to export the Webi report in the excel format and show it

  • 0

I have to export the Webi report in the excel format and show it to the user .Environment present is BOXI R3 .

ReportQuery:

Select * from CI_INFOOBJECTS where SI_NAME ='xxxx' and si_kind ='Webi' and SI_PARENTID=xxxx

IInfoObjects webiDocs = infostore.query(reportQuery.toString);
IWebi webiDoc =IWebi  webiDocs.get(o);

It throws exception on infostore.query:

java.lang.NoClassFoundException :com.crystaldecisions.celib.trace.h

Note: h.class is not present in BOXI R3 celib.jar

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:07:53+00:00Added an answer on May 26, 2026 at 2:07 pm

    To open a WebI document to get the data you will need to follow a different route from the one you are headed down. Try something similar to the following:

    // get your list of IInfoObjects
    IInfoObjects webiDocs = infostore.query(reportQuery.toString);
    
    // get a report engine to open the document
    ReportEngines engines = (ReportEngines)enterpriseSession.getService("ReportEngines");
    ReportEngine reportEngine = engines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
    
    //Get the actual Doc instance
    DocumentInstance docInstance = reportEngine.openDocument(webiDocs.get(0).getID());
    
    // get the Raw data stream
    BinaryView bv = (BinaryView)documentInstance.getView(OutputFormatType.CSV);
    OutputStream outputStream; // defined else where to meet your needs
    bv.getContent(outputStream);
    

    I did notice that casts from a IInfoObject to what you think it specifically is, does not usually work. The specific children classes seem to be used internally to the libraries more than as actual externally usable classes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to export each and every data to excel sheet or ant format
I have to Export to excel from my asp.net page.I want to take the
So I have an 'export' application that arrives the user at an end page
I have to do an export from DB to CSV. ( .NET 2 )
I have a project where I would like to generate a report export in
I have a requirement for an admin user to set up an export directory
We have are relatively simple Reporting Services report that our users commonly export to
I have an export from a MYSQL database on a linux machine however when
O have a ,,export to excel function, I have some tables and it works
In my Project i Have to Export Table Data's from many pages and export

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.