Display xls file in iView

Friends,
I want to display the xls file in iView. Tell me whether its possible or not? If yes, than how?
If someone has done this than pls. tell me the procedure to do that.
Thanks.
Hitesh

Hi Hitesh,
Yes it is possible,you can follow any of the following blogs.
Create an excel file from JAVA using HSSF api
Reading Excel Sheet from Java without using any Framework
Cheers,
Santhosh

Similar Messages

  • Display .XLS file in Browser

    Hi All,
    I am trying to display the .XLS file from a JSP page.
    by just using a PopUp using Java Script.
    But is just displaying some junch data (which may be binary)
    Can some one help me out to resolve this.
    Thanks
    Shravan

    Are you using the right contentType?
    ContentType="application/vnd.ms-excel"

  • Display xls-files in browser (Sharepoint online 2013)

    I've seen this question answered with "xls is not supported" several times, but according to
    this page viewing should now be supported:
    Excel 97- Excel 2003 Workbook (.xls) or Excel 97- Excel 2003 Template (.xlt)
    If a workbook is in .xls or .xlt format, you can typically view but not edit a workbook in a browser window. When the file is edited, it is saved in .xlsx or .xltx format.
    I can't get it to work though, has anyone of you been able to open a xls-file in the Excel web app?

    Hi  ,
    According to your description, I  tested in my SharePoint Online and get the same result.
    If you hover over drop down, if you don't see view in browser then the file can't be opened in browser. So .xls file doesn't seem to be supported.
    I recommend that you open the file in Excel 2010 or Microsoft Excel 2013, and then save the file as one of the supported formats. The following table shows the recommended file formats for the Excel 2013
    Web App.
    Product
    File format
    Microsoft Excel 2013 Web App
    Excel Workbook (*.xlsx) Excel Macro-Enabled Workbook (.xlsm)
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Excel 2013 doesn't display .xls file downloaded from Wells Fargo (Inconsistent)

    I have two computers exhibiting the same problem but not every time.
    Windows 7 Pro 64-bit
    Office 2013 64-bit
    Download an .xls file through Chrome or IE.
    Download is fine
    Attempt to click to open.
    Excel Launches, appears in the taskbar, file never opens... Excel is unresponsive.
    Right Click Task Bar icon, program will close.  You can open other files just fine.
    I noticed when you double click the file to open, two excel.exe processes open in Task Manager... not sure if that is normal.  When you close excel, they both disappear.
    Thoughts?

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Did this issue only occur with the .xls files downloaded from Wells Fargo website? Have you tried from other website, such as OneDrive?
    Have you tried to download some .xlsx files to test from Wells Fargo website?
    Please do some tests to narrow down the issue.
    1) Try to convert the .xls files to .xlsx files, if we can open the .xlsx correctly, this issue may be caused by the compatibility issue between Office 2013 and Office 97-2003 format. Thus, I recommend you convert the file to Excel 2013
    format.
    2) Open the Excel program first=>Click Open=>Navigate to the file=>Then open it. If it also can be opened correctly, this issue may be caused by the Dynamic Data Exchange. Please try to turn off the "Ignore other applications that use
    Dynamic Data Exchange (DDE)“ setting.
    Steps:
    1.Click the File tab, and then click Options.
    2.Click Advanced, scroll down to the General section, and then clear the Ignore other applications that use Dynamic Data Exchange (DDE) check box in the General area.
    3.Click OK.
    If you have any update, please feel free let me know.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to display.xls, pdf, .doc files in UIImageView within a UIScrollView.

    Hi,
    I am new to iPhone programming. I need some help.
    I want to display .xls, pdf, .doc files in UIImageView within a UIScrollView programtically how can i do this. What is the procedure.
    Pls. provide me a sample application.
    If anyone knows pls. respond it would be of great help for me.
    Thanks in Advance,
    Regards,
    Sreelatha.

    Hi Sreelatha. The best example code for your purpose is the Scrolling sample app I referred to previously. The word Scrolling in that post is a link to the download page. I think that code will answer all your questions about how to init a UIImage, then use it to init a UIImageView, and then position the UIImageView frame in a UIScrollView. Two cases are demostrated: 1) Scrolling horizontally through a series of images; 2) Scrolling both H & V over a single image which is several times larger than the window.
    You might also be interested in the PageControl sample app in case you want to add a page control to your scroll view.
    Reading your last post again... I sure hope we've been discussing images (like jpegs?) in this thread. This isn't about reading and rendering the actual xls, pdf and doc files, is it?? Of course the iPhone handles html beautifully, so for example, an html representation of a doc file would play nicely. But in that case you'd want a UIWebView, not a UIImageView.

  • APEX 4.0: error while opening a XLS file downloaded from interactive report

    Hi,
    I'm getting below error while opening a XLS file downloaded from an interactive report (APEX 4.0).
    "The file you trying to open, 'customer_2.xls', is in a different format than specified by the file extension.
    Verify that the is not corrupted and is from a trusted source before opening file. Do you want to open file."
    Yes No Help
    May be this one Apex 4.0 issue.
    please help me.
    Thanks
    Mukesh

    Hi,
    is the next part of the code correct.
    What i mean is packing of the attachment, finding out the size of pdf file and doc type as PDF.
    You can also try below link..
    Link: [http://wiki.sdn.sap.com/wiki/display/Snippets/SENDALVGRIDASPDFATTACHMENTTOSAPINBOXUSINGCLASSES]
    Hope this helps.
    Regards,
    -Sandeep

  • SEARCH: Widget that shows a PDF or XLS File

    Hey,
    I am looking for a widget which can show me a pdf or XLS file (Picture would be a possible work around).
    Best would be to show a small kind of thumbnail and a magnifying class to look up details. So far about the wish list .
    Reason is my weekly time-planner - I use a XLS sheet in adoption of Steven Covey's "7 Habits of highly effiective people" - and in order to be even more effective, I would like to make this visible
    Thanks for the help
    Marcus
    MacBook Mac OS X (10.4.6)

    for PDF, try this out...
    http://www.apple.com/downloads/dashboard/status/dashclipping.html
    allows you to use a URL to display in a window. nice widget. I use it to check a site or two, but i have tested on local PDF files, and it works fine...
    eg:
    URL = file://localhost/Users/usernamehere/Desktop/example.pdf
    Beavis2084

  • Displaying PDF file in browser

    Hi,
    I want to display a PDF file in a browser which I have generated at runtime.
    I do it in this way:
    HttpServletResponse response = ((com.sap.tc.webdynpro.services.sal.adapter.core.IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getHttpServletResponse();
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    File pdfFile = new File("report1.pdf");
    try{
        baos.write(getBytesFromFile(pdfFile));
        response.setContentType("application/pdf");
        response.setContentLength(baos.size());
        ServletOutputStream out = response.getOutputStream();
        baos.writeTo(out);
        out.flush();
    catch(IOException ioe){
    If I put this code to a simple project (single view with this code only) its working fine. But if I want to display the file in a project which contains other functions and views it doesnt work (when the pdf should appear the application freezes).
    Can anyone help me?
    Ivo

    public int CreaFilePdf( )
           //@@begin CreaFilePdf()
           int ret = 0;
           byte[] pdfFoXMLFile = null;
           byte[] pdfFile;
           IWDCachedWebResource cachedPdfResource = null;
           String fileName = new String();
           String foText = new String();
           try {
                foText = this.toFoXML();
                wdContext.currentContextElement().setFoText(foText);
                pdfFoXMLFile = foText.getBytes("UTF-8");
                fileName = "Equipment.pdf";
                OutputStream outFo = new java.io.FileOutputStream("Equipment.pdf.fo");
                try {
                     outFo.write(pdfFoXMLFile);
                     outFo.flush();
                     outFo.close();
                } catch (IOException e2) {
                     // TODO Auto-generated catch block
                     e2.printStackTrace();
                /////////////fo to PDF
    //            Construct driver
                Driver driver = new Driver();
                //Setup logger
                Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_INFO);
                driver.setLogger(logger);
                MessageHandler.setScreenLogger(logger);
                //Setup Renderer (output format)       
                driver.setRenderer(Driver.RENDER_PDF);
                OutputStream out = new java.io.FileOutputStream("EquipmentFromFo.pdf");
                try {
                     driver.setOutputStream(out);
                     //Setup input
                     InputStream in = new java.io.FileInputStream("Equipment.pdf.fo");
                     try {
                          driver.setInputSource(new InputSource(in));
                          //Process FO
                          driver.run();
                     } finally {
                          in.close();
                } finally {
                     out.close();
                /////////////fo to PDF          
    //     /////////////////////////////web resource
         try {
           // create Excel 2003 XML data as a byte array for the given context node, attributes and headers 
           // Deserialize from a file
           File file = new File("EquipmentFromFo.pdf");
           // Get some byte array data ----> THIS  method is here: <a class="jive_macro jive_macro_message" href="" __jive_macro_name="message" modifiedtitle="true" __default_attr="2735976"></a>
           pdfFile = getBytesFromFile(file);
           //pdfFoXMLFile = this.toFoXML().getBytes("UTF-8");
           // create a cached Web Dynpro XLS Resource for the given byte array and filename
           //HERE create the URL object
           cachedPdfResource = this.getCachedWebResource(pdfFile, fileName, WDWebResourceType.PDF);
           // Store URL and filename of cached excel resource in context for UI linkToURL.
           if (cachedPdfResource != null) {
              wdContext.currentContextElement().setPdfFileURL(cachedPdfResource.getURL());
              wdContext.currentContextElement().setPdfFileName(cachedPdfResource.getResourceName());
           } else {
              ret = 1;
         catch (WDURLException e) {
              ret = 1;
           } catch (FileNotFoundException e1) {
                // TODO Auto-generated catch block
                e1.printStackTrace();
           } catch (IOException e2) {
                // TODO Auto-generated catch block
                e2.printStackTrace();
           } catch (FOPException e3) {
                // TODO Auto-generated catch block
                e3.printStackTrace();
           return ret;
           //@@end

  • Can't download pdf and xls file

    Hi, I want to download an attachment from my gmail .When I clicked to download, it will go to icloud.com and displayed like this."Your file will begin downloading automatically.Don't see it? Try again>
    The attachment contains both pdf and xls files.
    I have tried many times.
    Please help me.

    Hi amusa123,
    I don't get it. So let me try to explain again what you are describing:
    - You open a mail in Gmail (I guess Gmail in the browser, right?)
    - This email has an attachment (a excel sheet, right?)
    - You try to open the file, which immediately starts downloading the file to your Mac (usually the file gets downloaded into the Downloads folder)
    What I don't get, where do you receive a message regarding icloud.com?
    With kind regards,
    David

  • Need to Add Field Name to the Downloaded XLS file

    Im using the function SAP_CONVERT_TO_TXT_FORMAT
    and downloading the contents by sending them as attachements in email.
    I need to add field names(column name) to excel fields.
    So that when fields are displayed in excel file they are displayed by their column names..
    How do I do this.? Any ideas.
    Answers will be rewarded with points..

    Hi
    You can manually insert the column names as the first row in your internal table to have them in .xls file as headers.
    Regards,
    Raj

  • Display excel file on clicking JButton

    Hi,
    I have a requirement wherein when the user clicks a JButton, an excel file (which is already present in the app), will open, i.e. Excel 2003 / Xp will get started & display that file.
    Appreciate any help on this.
    Best regards,
    AJ

    Use the Desktop class to open a file with a system default application:
    java.awt.Desktop.getDesktop().open(new File("C:/path/to/whatever.xls"));

  • JSP results on excel (.xls)  file

    Hi all,
    I want to have a link on a jsp file which would display the contents of the .jsp on an (.xls) file
    I know some webpages allow this like yahoo finance does.
    Can anyone please help me with this and let me know how to approach it .
    Thanks in advance,
    Peter

    ....it's all about the content-type...
    I'm going to bet that you haven't written an xls generator in Java... so we'll go with the next best option.... by default excel is associated with csv, so you can look at whatever mime type is assigned to csv and hopefully Excel will be used to open it.. a quick search reveals: "application/vnd.ms-excel" as the mimetype.

  • Cannot receive .doc & .xls files

    I have searched the board, and read that a number of owners receive doc & xls files with no problems. I do receive the e-mail sent to my iPhone, but when it tries to display the file, it always states ( This message has no content ). I use embarqmail, and nothing is blocked. I do receive the attached files in my regular e-mail. They are short, xls = 56K, doc = 19K. Have tried many times, with different files. Any help will be greatly appreciated. Thanks Guy

    what i have found is just that the edge data network is slow to actually download the attachment with the email... the email text comes in quickly but the attachment may take several minutes to actually download and show up...i have found that when i get and attachment i go into my inbox and just let it sit there for several minutes until the paperclip icon shows, then go into the email and the attachment should beavailable, if you go into the email before edge has downloaded it you might not ever get it on the phone... best to just wait until its there for sure...i have had to wait up to 30 minutes for the attachment to show after i received the email...hope this helps

  • How to write LOGO to xls file.

    hi!
    i meet a case.
    user want to download sap list(generate using write command,not sap smartforms or sapscript)
        into xls file.
    but the sap list need contain a LOGO pic to display.
    so
    first:     how to create logo in sap list.
    second:how to download sap list into xls file in background.
    some know the reslove method! give me a idea! thank you very much!

    hi Gautham Vangaveti 
    Thank you your help!
    your mean i can use the function to wrirt logo to xls!
         CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
            EXPORTING
              FILE_NAME                       = path_and_file
      CREATE_PIVOT                    = 0
      DATA_SHEET_NAME                 = ' '
      PIVOT_SHEET_NAME                = ' '
      PASSWORD                        = ' '
      PASSWORD_OPTION                 = 0
           TABLES
      PIVOT_FIELD_TAB                 =
             DATA_TAB                        = excel_down
      FIELDNAMES                      =
           EXCEPTIONS
             FILE_NOT_EXIST                  = 1
             FILENAME_EXPECTED               = 2
             COMMUNICATION_ERROR             = 3
             OLE_OBJECT_METHOD_ERROR         = 4
             OLE_OBJECT_PROPERTY_ERROR       = 5
             INVALID_PIVOT_FIELDS            = 6
             DOWNLOAD_PROBLEM                = 7
             OTHERS                          = 8.
    but i don't know how to assign my logo to this funciton !
    can you provide some demo !
    thank you very much!

  • To Display SWF file or Flash file in Web Page Composer (WPC)

    Hi,
    I am goning to add & display 'swf file or flash file' in <b>Web Page Composer</b>.
    But it is not allowing me to do so.I tried by three ways
    1} to upload this file directly from local machine & to add in WPC
    2}By using linklist option
    3}By creating KM Document iview;which contain swf  file.& then adding that iview in wpc.
    but at last it is not displaying though allowing to add it in WPC.

    Vishal -
    First... we are all new to WPC!
    Second, no I don't think you need to create a new container.  I think that you just need to add the swf type as an allowed type for the container.
    So...
    Figure out which container you are trying to add the flash file to (as you mentioned, A1, A2, etc).
    Navigate to:
    Sys Admin --> Sys Config --> Knowledge Mgt --> Content Mgt --> WPC --> Containers.
    Edit the container you want to use.
    There will be a box named Allowed Mime Types.
    In here, select the "swf" mime type (make sure the check box is checked). Then Save.
    At my company, we had the WPC ramp up from SP12, and are now on SP13.
    I'm not sure what you get if the first time you had WPC is SP13, but for us I see two default A1 (and A2...B1..C4...etc) containers -- one that has "default" in the name and one that has "def" in the name.  From what I see, SP13 WPC uses the one with "def" in the name, not "default".  So, make sure you modify the one with "def" in the name.
    After you make this change, you should see "swf" in the list inside the container when you are editing a page.
    Is this clearer?  I wish I could attach a screenshot.

Maybe you are looking for

  • Can't break out of the restore loop on my iPod Touch.

    I've tried different USB ports, different USB cables, verified and repaired my permissions,and I have no third party security that I know. I unfortunatly do not have a diffrent computer to try. I'm guessing that is the answer I will get. But if anyon

  • Cover art not visible

    On the new iTunes music library, there is supposed to be cover art shown for every album. But it's not there. How do I change that?

  • Upgrading my Graphics card on a pavilion touchsmart 23 f250

    Hello  I am wanting to upgrade my graphics card.  and i am not sure what kind of cards to use.  Also, am not sure how to go about installing one since this is my first all in one computer.  any help would be great System Specs Processor       AMD a4

  • Code for date range

    Hi, In the select option we have a field month range as SELECT-OPTION : FROM 01.2007       TO  01.2009 where as in one of the internal table we have data without considering the month range as below MONTH RANGE     BUKRS        BELNR    DMBTR 01.2006

  • Importing photos and retaining version sets

    Hello I have had to reinstall PhotoShop Elements and re-import ALL my photos. In some cases I have 3 or 4 versions of the same photo appearing in the new catalogue, where I have edited the original. Is there an easy way to re-build the version sets w