Display html document

I have created an html file in the portal (Content Management -> Explorer -> Folder ->HTML File). I want to create an iview that will display this file. How can I achieve this

Hi,
see this thread:
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=190203&tstart=0">https://www.sdn.sap.com/irj/sdn/thread?threadID=190203&tstart=0</a>
Romano

Similar Messages

  • How to display html document returned by utl_http package (POST method)

    I am using oracle forms 10g, data base version is 10g.
    I have written a database procedure that calls utl_http package POST method and request returns an html document. How do display this html document from oracle form?
    Thank you
    Hema

    Here you have...
    A Full Web Browser Java Bean - Oracle Forms PJCs/Java Beans
    http://forms.pjc.bean.over-blog.com/article-26251949.html

  • How to display html document in browser?

    Hi, I want to display an html document in my directory using nescape. How can I do that?
    I know that AppletContext can display html, but it has to be in URL.
    How about a document in my directory?
    Help please.

    just specify the path, i.e. c:\my files\myDocument.html
    or
    file:///myfiles/myDocument.html
    Of course, I use IE, so Netscape might not like it. but this works for IE.

  • Displaying HTML document?

    Hi.
    In my little program, output with simple formatting(HTML font and coloring) is produced.
    What I am currently doing now is to write the result with formatting into an Output.html and call the default browser to display the output file.
    It will be a lot neater if I have a little Frame or something in the program itself to display the result.
    Previously I had tried some simple GUI with javax.swing.
    Searching through the Library, I found javax.swing.plaf.basic.BasicHTML which seems to be able to address my problem, but I can't figure out how to use it.
    (It seems to me that "View createHTMLView(JComponent c, String html)" is the output but I can't find how to display the View)
    Could someone kindly enlighten me on whether BasicHTML is the answer to my problem and if so how do I use it.
    Or if I am looking at the wrong area, please teach me what should be the right tool to use.
    (It will be wonderful if accompanied by sample codes)
    Thanks in advanced.

    What my friend Zadok said.
    Something like this
    JEditorPane editorPane = new JEditorPane();
             editorPane.setEditable(false);
             java.net.URL myURL = MyClass.class.getResource(
                                      "my.html");
             if (myURL != null)
                try
                   editorPane.setPage(myURL);
                catch (IOException e)
                   System.err.println("Attempted to read a bad URL: " + myURL);
             }

  • Any Way to display HTML pages on Applet

    Hi All,
    Is there any way to show web pages on Applet?
    Is it possible ?

    I am not aware of a simple way to display HTML in an applet. However, I have used the JEditorPane to display HTML documents. Handling links, etc. with this component requires some effort. Also requires Swing.
    Have you considered using the applet to display a page on the browser. (i.e. getAppletContext().showDocument(URL, [frame name]))? Just an idea.
    Good luck.

  • 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

  • How to display word document as a HTML document in portal

    Hi
    I developed a portal application in that i am displaying word document using IFrames, from my application i am uploading word document and saving those document in KM
    Requirement is that i need to provide an option to show this word document in html.
    Thanks
    Rudradev.

    Hi Glenn Mendonca
    I thing it is possible
    Even in SDN search results page, we have option called "HTML version" link
    to see the search document in HTML
    see the below url
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2fforums%2fsdn_forums%2fthread%7b74687265616449443d39313633%7d.jspa
    i hope passing doucment as a query parameter to com.sap.km.cm.highlightedcontent?DocumentUri=
    might solve this
    pls give your inputs
    Thanks

  • Incorrect display of HTML document in UWL

    Hi experts,
    we are using SRM 5.0 with UWL integration. If a workitem is rejected the requestor gets a notification in his SAP Business Workplace (SBWP). This notification contains a link to the SRM shopping cart.
    The notification is also available in the UWL, but there all HTML tags are visible. It seems that in this case the UWL  is not able to display HTML notifications properly. Are there any additional settings necessary to display the notification? Maybe currently some kind of text format is set to default.
    Best regards
    Tom

    Hi Manish,
                  I am able to see WBS Elements in MB51 Report after going to detailed list from the initial output page. In this detailed output the sender and receiver WBS Elements are getting displayed incorrectly.From that screen only,if I go to Material document list,sender and receiver WBS Elements are getting displayed correctly.
    Regards,
    B P Singh

  • Displaying HTML code/document within a SIEBEL applet

    Dear All,
    I have a new requirement which is to integrate an external html document/code within a Siebel's applet in my Home Screen/View. This HTML code is DYNAMIC and it will change depending the user connected. It will give general informations.
    I tried to use a new calculated field in the relevant BC then I added it as control (HTML Type = Field - HTML Display Mode = DontEncodeData - Runtime = Y - Visible = Y) within the applet.
    Unfortunately the field property 'Calculated Value' is restricted to 255 caracters. Everything is fine when the HTML code length is less than 255. When it is greater because teh HTML code is more complex, I can not add a calculated field and the associate control due to the limitation (255 caracters).
    Any idea would be greatly appreciate.
    Thanks a lot.

    One way to get around this limit is to do the following. Split the information you need into several calculated fields and then add them together in one.
    Calculated Display Field = [Information Block 1] + [Information Block 2] + .....
    Where [Information Block n] is a calculated field too.
    Depending on the amount of data and where you need to display the field i.e. form/list applet
    you could use InvokeServiceMethod in a calculated field. Have a look here:
    http://download.oracle.com/docs/cd/B40099_02/books/ToolsDevRef/ToolsDevRef_Operators8.html
    Axel

  • Getting the title of an HTML document displayed inside a JEDitorPane

    Hello everybody,
    I am currently working on an HTML help file browser displaying the document inside a JEditorPane. Now I wanna do this: get the current document's title (inside <title>...</title>) and set the title of the JInternalFrame containing the editor pane (MDI - I know) to the document title mentioned.
    Setting the JInternalFrame title is not a problem, but when I tried to extract the title of the document, several attempts failed:
    String content = hypertextPane.getText();Applying this method gave me the following content:
    <html>
      <head>
      </head>
      <body>
        <p>
        </p>
      </body>
    </html>Looks somehow meager... :-X
    Document currentDoc = hypertextPane.getDocument();The "document" this method returned only consisted of HTML and BIDI ROOT as root elements, and HTML had only one child element: BODY.
    And the attempt
    docTitle = currentDoc.getProperty(Document.TitleProperty);simply returned NULL. :-(
    The editor pane's editor kit is:
    new javax.swing.text.html.HTMLEditorKit()The default content type is, of course, text/html, and I never display a document which is not HTML with my editor pane.
    Can please anybody help me? Thanks a lot!
    Regards
    Jacek.

    getProperty(Document.TitleProperty) does NOT work in
    my application. Here is the method I wrote for
    extracting the document title:
    * Returns the title of the document currently
    ntly displayed by the browser
    * @return <ul><li>the document's title<tt> -
    t> - </tt>if such a title
    *                 exists</li>
    *             <li><tt>null - </tt>otherwise</li>
    *         </ul>
    public String getDocumentTitle() {
    String content = new String();
    String title = new String();
    title = (String) ((HTMLDocument)
    cument) hypertextPane.getDocument()).
    getProperty(Document.TitleProperty);
    return (title);
    }The HTML pages I display with my browser all do have a
    <title>...</title>. However, my method keeps returning
    NULL all the time.
    I built my browser with JDK 1.3.1 LINUX i586, but I
    tested it with both 1.3.1 and 1.4.1. The results are
    always the same. :-(
    I think the promblem is, that getProperty(Document.TitleProperty) returns null until the document is loaded completly (this happens assynchronly). Add the following code to handle this issue:
            hypertextPane.addPropertyChangeListener( new PropertyChangeListener()
                        public void propertyChange( PropertyChangeEvent e )
                        if( e.getPropertyName().equals( "page" ) )
                            title = hypertextPane.getDocument().getProperty(Document.TitleProperty).toString();
                    } );I use it this way

  • HTML document on initial screen does not display

    Hi,
    In thread Links on Login Screen
    there is a description on how to display a html document in stead of a image on the initial SAP screen.
    I tried this (uploaded a html document, set MIME editor, and customized the SSM_CUST table),
    just to displaying a simple text like "Hello World", but however i keep getting a blank screen without anything in it on the initial screen.
    If I display the uploaded html file in transaction smw0 (selecting it, and pressing the glasses),
    a browser window opens and shows the expected content.
    Any idea what i have missed, or what i can check?
    Thanks
    Rolf

    Is it a blank html screen that you uploaded?
    Try crating a html page with some content and then try to configure it.
    Also, did you follow all the steps as -
    Change the logo in the right-hand side of the initial screen
    -   To put your company logo in the right-hand side of the initial
        screen:
        Put your picture in the database with the transaction SMW0
        "Binary data" options, e.g. in ".GIF" format.
        <b>Put a record with the picture name in the key "START_IMAGE" of
        the table SSM_CUST in the View maintenance transaction SM30.</b>
    -   You can adjust the picture to the window size automatically or
        center it in the right-hand side of the initial screen    
        ("RESIZE_IMAGE" "YES" or "NO" in the table SSM_CUST).
    -   You can deactivate the picture globally so that noone sees it
         with "HIDE_START_IMAGE" "YES" in the table SSM_CUST.
         User-specific picture display settings are then ignored.

  • Error displaying archivlink document: HTML-Control DP_ERROR_GENERAL

    Hi all,
    i am getting an error when displaying an archivlink document with the FB "ARCHIVOBJECT_DISPLAY". The FM "ARCHIVOBJECT_STATUS" shows that the document is online.
    What are other options to display this document in SAP? OA_FIND is not customized here.
    What is the cause of this error?
    Mimetype: text/plain; charset=utf-16be
    Where can I check?
    Thanks

    Dear All,
    We have recently upgraded our Support Packages of SAP_BASIS from SAPKB70014 to SAPKB70019.
    We are facing some issues related to Archive Link in Thin client.
    I am able to attach TIFF/PDF documents using Store Business Documents successfully but when I try to view the document by double clicking on Attachment List, I am not able to view it in SAP WEBGUI
    The Viewer is opened but no document is loaded.
    We have also  implemented SAP note 1556590 and rechecked the issue by double clicking  the document but all in vain.
    Can anyone tell me whats the issue? And Whats needs to be done to correct the issue?

  • Preview of HTML document in KM Navigation iView

    Hi all!
    I need your help. I would like to create layout set which would be able to display tree on the left side and preview of HTML document on the right side of content area. If I click on HTML document in the tree I need to see his preview. I thought that I can resolve this by "Explorer and Preview" profile. But unfortunely it doesn't work. Has someone any experience with the profile? Or can someone advice to me how create new layout set?
    I found this links, but they didn't help me much.
    http://help.sap.com/saphelp_nw04/helpdata/en/4e/02573d675e910fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/96/248cd68f23774fb74dfc18a2994d8f/frameset.htm
    Thank you in advance for any reply!
    Regards
    Zbynek

    Hi Saurabh,
    Using the presentation settings in Details can sometimes
    be tricky since it remembers the context of which iView
    called it. Make sure you open the details out of the iView
    in which you want the customizations to be in effect.
    Otherwise, changing it in the configuration is a
    bit more straightforward in its effects.
    Regards,
    Darin

  • Displaying XML Document in new browser window

    Hi,
    I have a hyperlink on my page. When I click on it, it will open a new IE window and display xml document.
    The new window is displaying some of the xml and at the end displaying the following:
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    End element was missing the character '>'. Error processing resource 'http://localhost:28080/benchmark/faces/displayXMLDocu...
    However, I cut and paste the xml String where I write it to the HTTPServletResponse to XMLSPY and it displays correctly.
    Please let me know.
    Rgrds

    Here are the steps:
    1. I created page1 that has a hyperlink.
    2. Hyperlink property are set to display page2 in a new window. (popup).
    3. page2.prerender() method, I set the response to the following:
    public void prerender() {
    javax.faces.context.ExternalContext ec = this.getExternalContext();
    HttpServletResponse response = (HttpServletResponse)ec.getResponse();
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.setHeader("Cache-Control","must-revalidate");
    response.setHeader("Cache-Control","max-age=0");
    response.setHeader("Pragma","no-cache");
    response.setHeader("Expires","0");
    response.setContentType("text/xml");
    response.setBufferSize(5000);
    String xmlString = getRequestBean1().getBookingPnrDetailsXML();
    try{
    xmlString="<?xml version=\"1.0\" encoding=\"UTF-8\"?><root><test1>this is a test</test1><victor>Hello Victor</victor></root>";
    PrintWriter out = new PrintWriter(response.getOutputStream());
    log(xmlString);
    out.print(xmlString);
    }catch(IOException io){
    System.out.println("" + io.getMessage());
    io.printStackTrace();
    4.page2.jsp code is the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/xml;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view/>
    <ui:page binding="#{displayXMLDocument.page1}" id="page1"/>
    <ui:html binding="#{displayXMLDocument.html1}" id="html1"/>
    <ui:head binding="#{displayXMLDocument.head1}" id="head1"/>
    <ui:link binding="#{displayXMLDocument.link1}" id="link1"/>
    <ui:body binding="#{displayXMLDocument.body1}" id="body1"/>
    <ui:form binding="#{displayXMLDocument.form1}" id="form1"/>
    </jsp:root>
    please let me know.
    Rgrds.

  • How to display a document content in JSP page

    Hi friends,
    I am trying to display a document's content in a JSP page after user authentication.For that I mapped a jsp file with extension .sens in Content Management SDK manager,and put it the file in the directory '/ifs/jsp-bin' of webstarterapp,but it is not working.Down I am giving the code snippet,please help me.I need this to be done fast.
    <HTML>
    <HEAD>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import="oracle.j2ee.connector.Login" %>
    <%@ page import="oracle.ifs.adk.filesystem.IfsFileSystem"%>
    <%@ page import="oracle.ifs.adk.http.HttpUtils"%>
    <%@ page import="oracle.ifs.beans.LibrarySession"%>
    <%@ page import="oracle.ifs.beans.DirectoryUser"%>
    <%@ page import="oracle.ifs.beans.PublicObject"%>
    <%@ page import="oracle.ifs.beans.Document"%>
    <%@ page import="java.io.*"%>
    <jsp:useBean id="login" scope="page" class="oracle.j2ee.connector.Login">
    <TITLE>FileExtension.jsp</TITLE>
    </HEAD>
    <BODY BGCOLOR="SILVER">
    <%
    String theDisplay = "initialized";
    String theHidden = "initialized";
    boolean theAdminRights = false;
    try
    login = (Login) request.getSession(true).getValue("IfsHttpLogin");
    LibrarySession ifsSession = login.getSession();
    IfsFileSystem ifsFile = new IfsFileSystem(ifsSession);
    DirectoryUser du = ifsSession.getDirectoryUser();
    String path = HttpUtils.getIfsPathFromJSPRedirect(request) ;
    PublicObject po = ifsFile.findPublicObjectByPath(path);
    if(po instanceof Document)
    Document doc =(Document) po;
    InputStream in= ifsFile.getDocumentContent(doc);
    int i=in.read();
    while(i!=-1)
    out.write(i);
    in.close();
    out.flush();
    out.close();
    theAdminRights = du.isAdminEnabled();
    theDisplay = po.getAttributeByUpperCaseName("DISPLAY").toString();
    theHidden = po.getAttributeByUpperCaseName("HIDDEN").toString();
    catch (Exception e)
    e.printStackTrace();
    %>
    Here is some static content.
    <P>
    The Display Value: <%= theDisplay %>
    <P>
    <%
    if (theAdminRights)
    %>
    The Hidden Value: <%= theHidden %>
    <%
    %>
    </jsp:useBean>
    </BODY>
    </HTML>

    these may help you.
    Google map integration to EBS

Maybe you are looking for

  • Tried Many Different Discs/Still Unable to burn in Imovie 6/Idvd 6

    So I have an 8 times burner, and I'm wondering if I upgraded to a 16 times burner would that alliviate my problems or create more? I have 84 GB's of free hard drive space in my source drive. I've tried all different discs including TDK,Memorex, vario

  • Error message on inventory server

    Hi! We get a error message on the Sybase Inventory server after a while that only says "Bad file number". The inventory database has stopped and the only way to restart it is to restart the server completly first. Any help why this happens? The OS is

  • Sqlldr is loading only 1st record from xml document

    Hi, I am trying to load XML doc with multiple records using sql*loader. I have registered my XSD perfectly. This is my control file LOAD DATA INFILE * INTO TABLE Orders APPEND XMLType(xmldata) FIELDS(      xmldata LOBFILE (CONSTANT FULDTL_2.xml) TERM

  • Validating Serial number on Adobe site.

    Hello     I was explaining that i uploaded Adobe Acrobat 7.0 Professional - serial number: xxxxxxxxxxxxxxxxxxx3429 and it loaded correctly giving me an okay for the number provided as i followed through the start up process.    When i went online to

  • Error Loading xerces.jar file

    Hi, I am getting the following errors while loading the Apache xercesImpl.jar file. ORA-29534: referenced object SIRIUS.org/apache/xml/serialize/HTMLSerializer could not be resolved errors : class org/apache/xml/serialize/XML11Serializer ORA-29534: r