How can I display Excel document saved as html in ebDynpro Office Contol?

Hello,
I have a problem with displaying of Excel document saved as html inside WebDynpro Office Control.
Could you explain why OfficeControl cannot display Excel document with content type =text/htm?
How you know, control must be bound to binary data. And then mime type is set as
bin.setMimeType(new WebResourceType("html", "text/html", false));
The empty document is displayed always.
Nevertheless, excel file is displayed perfect, when
bin.setMimeType(new WebResourceType("xls ", "application/msexcel", false));

The OfficeControl UI element is made available as an ActiveX control, so that the UI element can be displayed in browsers that support ActiveX controls.
The ActiveX control enables display of the following documents:
1.Microsoft Word documents with the doc file extension
2.Microsoft Excel documents with the xls file extension
This is the reason why document with other content types are not displayed.
Data source must be bound to binary data because files are read as bytes in this scenario.
Hope this helps you.
Do let me know if your problem is solved.
Regards,
Vijith

Similar Messages

  • How can I attach a document saved in my iCloud to a web based outlook email on my IPad?

    How can I attach a document saved in my iCloud to a web based outlook email on my IPad?

    Thanks Nik and Roger. I think we've all come to the same realization: the new Pages will not attach documents to e-mail without going through Cloud. If you don't want to give your files to Apple to keep in its Cloud (which I assume the NSA has access to through a back door), then you can't use the new Pages.
    If, like me, you downloaded the new Pages and used it to work on a document, before realizing you couldn't attach it to e-mail, then when you saved that document it was saved in the new Pages. If you later delete the new Pages (as I did) and go back to using an older version (which you can find in your iWorks file on your hard drive), then you discover that the older version of Pages won't open a document that you worked on and saved with the new Pages.
    Nik and Roger have found the solution, if you keep the new Pages. If you delete the new Pages (as I did) then I had to accept the loss of any work I did on my documents using the new Pages, and began over using the latest version of my document that I had saved with the older Pages.
    All in all, this has really soured my tase for Apple. If I hadn't recently bought a new MacBook Pro, I'd be switching to a PC now. I refuse to let Apple bully me into using their Cloud.

  • How can I display Excel using Word VSTO Addin.

    Hi all.
    I am a beginner.
    And studying Word VSTO ribbon addins.
    I wrote very simple one (works charm );   
    Microsoft.Office.Interop.Word.Application  oAPP  =  Globals.ThisAddIn.Application;
    oAPP.Selection.InsertAfter( " Hello, Word !! " );        
    oAPP.Selection.Collapse();
    Now, I have to go on.
    I want to display "Hello, Excel !! " from the same addin (from the Word Addin)
    I tried to port the following VBA codes (into Word Addin);
        Set oEXCEL = CreateObject("Excel.Application")
        Set oWBOOK = oEXCEL.Workbooks.Add
        oWBOOK.ActiveSheet.Range("A1").Value = " Hello, Excel !! "
        oEXCEL.Visible = True
    I do not know how to start from the very beginning.
    I can not make "Application (for excel)" object at all.
    VS says, the "Application" is not for the Excel but for the Word.
    Yes, everybody know it. But, Excel has the same one too. So I tried to make casting. It never works.
    I added required reference(s).
    Wht do I have to do ?
    Is it impossible, naturally ?
    Regards

    Hello,
    The
    How to automate Microsoft Excel from Microsoft Visual C#.NET  article describes all the required steps for automating Excel from any other application.
    Anyway, the current forum is for VSTO specific questions. I'd suggest asking Excel or Word specific questions on the
    Excel for Developers or
    Word for Developers forums instead.

  • How to close a frozen warning: I am unable to close the "charicter boarders aren't supported and were removed" warning on my pages. Untill warning is closed I can not save my document. How can I get my document saved?

    I have an unsaved document open in pages but can not save it because the, "charicter boarders aren't supported and were removed" warning is open and I can not close the warning. How can i get the warning to close so I can save my document? Can I save the document without closing the warning?

    Probably not, but as you will have been unable to make any changes to the document with that warning window open, you're not going to lose anything by quitting (or force quitting) without saving. You'll still have the original document you were trying to import.
    I would suggest attempting to open the document in one of the open source Office applications, LibreOffice, Apache OpenOffice, or NeoOffice, each available for download from the linked sites. Once open there, remove the attributes that are causing the warning, save the file (as an MS Word document), then try opening that version in Pages.
    Regards,
    Barry

  • How can i display a document in portal

    Hi,
    I have a file in my database as blob object.How can i retrieve it and display it in my portal.I need to display it as a link and when user clicks on document link the document should open. Any info abt this wil be of great help.
    Thanks,Preethi

    JDBC...

  • The Microsoft Word suddenly quit on my iMac desktop. How can I access the documents saved in desktop ?

    What made the Microsoft Word  ( 2011) quit on my iMac desktop ( OSX10.10.1 ) suddenly ?
    I need to access the documents saved on my desktop. Please help, anybody ?

    GLORIADONM wrote:
    What made the Microsoft Word  ( 2011) quit on my iMac desktop ( OSX10.10.1 ) suddenly ?
    Nobody here would know that.
    I need to access the documents saved on my desktop.
    Okay, so then go to the folder where you saved them, and open them

  • How can I display a document stored in ArchiveLink?

    Hello people,
    We developed a solution to attach some files related to a requisition in IXOS.
    We have an interface using webdyn and we need to display these files. I can read some details in TOA01, and I can create a link to the document. But when the user clicks on this link, the file must be opened. I thought when the user clicks on the link, a RFC function is called on R3, passing the ARC_DOC_ID and some function will be called to send the file contents to the frontend. Which function??
    Thank you!

    I decided generate the URL using function ALINK_RFC_DOCUMENTS_GET.

  • How can i display collection of  records in HTML Table using DWR framework

    Dear All,
    Just i start using the Direct Web Remoting framework.I am worrying to get the list of records to display html table using this concept.I did the same like.
    index.js
    var cellFuncs = [
    function(data) { return data; },
    function(data) { return data.toUpperCase(); },
    function(data) { return "<input type='button' value='Test' onclick='alert(\"Hi\");'/>";  },
    function(data) { return count++; }
    function update() {
    var name = dwr.util.getValue("demoName");
    Demo.sayHello(name, function(data) {    dwr.util.setValue("demoReply", data);   } );
    var count = 1;
    dwr.util.addRows( "tabs",[ 'Africa', 'America', 'Asia', 'Australasia', 'Europe' ], cellFuncs);
    alert("hai");
    index.jsp
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <script type='text/javascript' src='dwr/engine.js'> </script>
    <script type='text/javascript' src='dwr/util.js'> </script>
    <script type='text/javascript' src='dwr/interface/Demo.js'> </script>
    <script type="text/javascript" src='index.js'> </script>
    </head>
    <body>
    <div id="tabContents">
    <div id="demoDiv">
    <p>
    Name:
    <input type="text" id="demoName" value="Joe"/>
    <input value="Send" type="button" onclick="update()"/>
    Reply: <span id="demoReply" style="background:#eeffdd; padding-left:4px; padding-right:4px;"></span>
         <table id="tabl1">
         <tbody id="tabs">
         <tr>
         <td>name</td>
         <td>name1</td>
         <td>name2</td>
         <td>name3sdf</td>
         </tr>
         <tbody>
         </table>
    </p>
    </div>
    </div>
    </body>
    </html>
    dwr.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 2.0//EN" "http://getahead.org/dwr/dwr20.dtd">
    <dwr>
    <allow>
    <!-- simpletext -->
    <create creator="new" javascript="Demo">
    <param name="class" value="org.getahead.dwrdemo.simpletext.Demo"/>
    </create>
    </allow>
    </dwr>
    web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app id="dwr">
    <display-name>DWR (Direct Web Remoting)</display-name>
    <description>A Simple Demo DWR</description>
    <servlet>
    <servlet-name>dwr-invoker</servlet-name>
    <display-name>DWR Servlet</display-name>
    <description>Direct Web Remoter Servlet</description>
    <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
    <init-param>
    <param-name>debug</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>activeReverseAjaxEnabled</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>initApplicationScopeCreatorsAtStartup</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>maxWaitAfterWrite</param-name>
    <param-value>500</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>dwr-invoker</servlet-name>
    <url-pattern>/dwr/*</url-pattern>
    </servlet-mapping>
    </web-app>
    Demo.java
    package org.getahead.dwrdemo.simpletext;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import org.directwebremoting.WebContext;
    import org.directwebremoting.WebContextFactory;
    public class Demo
    public String sayHello(String name)
    return "Hello, " + name;
    the sayHello() is printing the display.But the table rows not updating.But its object expected.So can you tell me where i need to change and how to add the pagination for the table like 10 by 10 records to display.
    Please help me.
    Saravanan

    Hi Brian,
    OAF supports the master-detail based design. You can very well implement your model. You can use 2 VO for your 2 objects and link them using a ViewLink. Check OAF Dev guide for more details.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How can I recover a previously saved Excel 2010 workbook

    How can I recover a previously saved Excel 2010 workbook?  The I mistakenly deleted a worksheet from the version I am now using and saved that version and would like to recover the older version with the worksheet I deleted.  Thanks for any help

    Hi,
    Just checking in to see if the suggestion of Don's was helpful.
    Please let us know if you would like further assistance.
    Jaynet Zhang
    TechNet Community Support

  • How can I display XSLT transformer errors on a web page ?

    Hi,
    I have some JSP pages that access DB, create an XML based on DB data and then transform it into HTML through an XSLT stylesheet. Developing the XSL code it's easy to make mistakes and generate errors on trasformation, but what I receive on the web page is only a "Could not compile stylesheet" TransformerConfigurationException, while the real cause of the error is displayed only on tomcat logs. This is the code for transformation:
    static public void applyXSLT(Document docXML, InputStream isXSL, PrintWriter pw) throws TransformerException, Exception {
            // instantiate the TransformerFactory.
            TransformerFactory tFactory = TransformerFactory.newInstance();
            // creates an error listener
            XslErrorListener xel = new XslErrorListener();
            // sets the error listener for the factory
            tFactory.setErrorListener(xel);
            // generate the transformer
            Transformer transformer = tFactory.newTransformer(new SAXSource(new InputSource(isXSL)));
            // transforms the XML Source and sends the output to the HTTP response
            transformer.transform(new DOMSource(docXML), new StreamResult(pw));
    }If an exception is thrown during the execution of this code, its error message is displayed on the web page.
    This is the listener class:
    public class XslErrorListener implements ErrorListener {
        public XslErrorListener() {
        public void warning(TransformerException ex) {
            // logs on error log
            System.err.println("\n\nWarning on XEL: " + ex.getMessage());
        public void error(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nError on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
        public void fatalError(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nFatal Error on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
    }When I have an error in the XSL stylesheet (for examples a missing closing tag), I can find on tomcat logs the real cause of the error:
    [Fatal Error] :59:10: The element type "table" must be terminated by the matching end-tag "</table>".
    Error on XEL: The element type "table" must be terminated by the matching end-tag "</table>".but on my web page is reported just the TransformerConfigurationException message that is:
    "Could not compile stylesheet".
    How can I display the real cause of the error directly on the web page?
    Thanks,
    Andrea

    This code is part of a bigger project that let developers edit XSL stylesheets through a file upload on the system and we can't impose the use of any tool for checking the xsl. So, I need to display the transformer error on the web page.I see. This code is part of an editorial/developmental tool for developers to create and edit XSL stylesheets.
    As part of the editorial process, XSL errors during editing can be considered a normal condition. In other words, it is normal to expect that the developers will generate XSL errors as they are developing stylesheets.
    In this light, handling the XSL transformation errors is a business requirement that you need to handle. Using the Java Exceptions mechanisms, e.g. try / catch are inappropriate to handle business requirements, in my opinion.
    I suggest that you look at how you handle the occurence of XSL errors differently than what you currently have. You need to:
    (1) capture the Transformation exception on the server;
    (2) extract the message from the exception and put it into a message that can be easily understood by the user;
    The current error message that you have going to the web browser is not useful.
    And you should not have the Transformation exception sent to the web browser either.
    What you are attempting to do with the exception is not appropriate.
    Handle the Transformation exception on the Business tier and use it to create a useful message that is then sent to the Presentation tier. In other words, do not send Java exceptions to web browser.
    />

  • How can I display a changing variable in a subvi on the front panel of the main vi as the subvi is excuting

    In the document attached the vi on the right is sub to the vi on the left. On the subvi on the right the variable "Field Reading" is continuously updated on the front panel of the subvi as the "for" loop is executed, but only the last value of the variable is updated on the main vi front panel which is what is expected. My question is how can I display the changing value of "Field Reading" on the main vi front panel as the "for" loop in the subvi is running?
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    Doc2.docx ‏554 KB

    Hopefully I can explain it well enough. It really is simple.
    1) Create an empty global variable and call it something like User Interface References.vi
    2) For each and every control and indicator on your front panel, right-click and select Create/Reference
    3) Place these references wherever you like (I use a series of Event cases to perform my initialisation and these all live in one of these event cases). They can be placed anywhere in the main vi.
    4) For each of the references, right-click and select Create/Indicator
    5) Moving to the front panel, Cut all the indicators and Paste them in the global variable (eg. User Interface References.vi)
    6) Moving back to the block diagram, wire the global variable to each of the references and select the same named global variable.
    All the hard work is now done (until you add another user interface terminal). You should now have something that look as shown below, [except the reference labels would be to the left (not sure why the snippet put them above)]. In my latest program I have 82 references!
    Done. You can now access all your front panel controls and indicators anywhere in your program as shown below.
    You can just select Value in most cases, but in this particular case I wanted to fire off an Event to do some things (log the alarm) as well as just update the value. So, this is another bonus with the method.
    Hopefully this all makes sense. If not, let me know.

  • How can I display all the columns on the screen without scrolling from side to side?

    My clinic software has many columns. How can I display all the columns without having to scroll from left to right all the time?

    If the software you are using doesn't offer the ability to increase or decrease document size, as many do, then the only way is to increase your screen resolution. If that's not possible, maybe you can decrease your font size?  If you can't do any of these, I think you're out of luck!

  • How can I display modes in connection create window

    Hi Pro,
         I create a environment/model, then I get into EPM excel addin, try to create a connection, but eventhough I choose my environment created, but I get blank list for model drop down list. how can I display modes in connection create window?

    Hi Yi Fei,
    Add user to your environment, check their security profiles, also check roles in BW.
    Andy

  • How can I display the HTML page from servlet which is called by an applet

    How can I display the HTML page from servlet which is called by an
    applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
    I am calling my struts action class from the applet. I want to show the response in the same browser.
    Code samples will be appreciated.

    hi
    I got one way for this .
    call a javascript in showDocument() to submit the form

  • How can I display current iPhone GPS coordinates using compass app

    How can I display current iPhone GPS coordinates, when traveling overseas with no access of data or wifi
    using "iphone compass app"(Both the latitude and longitude) ??
    if iphone compass app require any sort of data
    what alternative would there be? (to document the coordinates)?

    Hi
    Iphone 5s 16 gb 8.1
    My fone freeze whenever i charge my fone its appear white screen with apple logo.. and as soon as i try to press hold home and power button
    it shows battery drained sign>> i m facing this problem from last one week
    and itunes also not  getting cconnected
    can any1 please help me out
    sorry for poor english

Maybe you are looking for

  • One computer two users simultaneously?

    Hi, I'll try to explain what i would find very usefull feature hopefully i can pull it out nicely and clear enougth. Also i am not programmer/coder so i do not know if the idea is possible at all. So basic idea is to have only one computer and two us

  • Qualifying product could not be found

    After a crash of my computer I try to reinstall all te programs. Dreamweaver CS6 however gives the following message: Serial number is valid, but a qualifying product could not be found. Do I have to install Dreamweaver CS5 first, or even an older pr

  • Solaris 8 Containers and x86 compatability

    My client relies on a program for the meat and potatoes of our processing. This program currently only works on Solaris 8. We are using Sun Blade 2500 workstations. However we are moving offices and to build up the new lab, the client wants to get aw

  • AIR debug launcher doesn't start in CS5.5 - fixed

    Just wanted to pass this on if anyone else runs into it... After upgrading from CS5 to CS5.5, I ran my flash program for AIR 2.6 as normal, but the ADL (Air Debug Launcher) never opened. (CS5.5 automatically changed the publish setting from AIR2.5 to

  • Time Constriant

    Hi, Could you please help me regarding this issue, How to assign a time constriant to internal table.