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

Read Excel sheet in KM using API.

Hi all,

I kept one Excel sheet (Xsl file) in KM. I want to read that Excel (Xsl) file by using API in NWDS.

How to read ? Is this possible

Helpful answer will be appreciate

Thanks & Regards

Thillai J

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 17, 2008 at 10:46 AM

    Hi Thillai

    It is possible to read the files using any of the Java Excel API's ( like POI or JExcel or JDBC-ODBC bridge). It depends on your convenience and requirement as to which one to choose for.

    [POI|http://poi.apache.org/] is seem to be widely used.

    In your case, the sequence of actions will be as follows:

    1. Access the resource and get the content.

    2. Get an InputStream from the content object.

    3. Next, using this InputStream, the data can be read.

    4. Refer to [this|http://www.javabeat.net/articles/41-apache-poi-reading-excel-sheet-using-java-1.html] link as to how read data. (It is assumed that you have successfully retrieved the InputStream in Step 2)

    Hope that helps.

    Thanks

    Deepak

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2008 at 09:09 AM

    Need to import the jxl.jar in Lib folder and we can read the data from Excel sheet..

    Add a comment
    10|10000 characters needed characters exceeded

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.