How to display html in SBO forms

Dear Developers,
I would like to know how can I display html content in a SBO form. Has anyone any experience in this theme?
Html viewer in active x or else?
I have a UDF with <html> code. Is it possible to showing content in B1 forms?
Thank you in advance.
Regards,
Nghia

simply add activeX WebBrowser control to yout form
Dim oWebX As SHDocVw.WebBrowser
            oItem = balanceform.Items.Add("browser", SAPbouiCOM.BoFormItemTypes.it_ACTIVE_X)
            oItem.Left = 5
            oItem.Top = 55
            oItem.Width = 980
            oItem.Height = 495
            ' Create the new activeX control
            AcXTree = oItem.Specific
            AcXTree.ClassID = "Shell.Explorer.2"
            oWebX = AcXTree.Object
            oWebX.Navigate("about:blank")
            oWebX = Nothing
            GC.Collect()
You may chnage the url (file) displayed there trhough oWebX.Navigate("url/file")
Edited by: Petr Verner on May 7, 2010 7:04 AM

Similar Messages

  • How to display HTML file in forms 6i

    please can any one tell me how i can display normal HTML file in forms 6i
    this HTML file will be called from help menu.
    thanks in advance

    If you're fine with opening html file in a separate browser window, you can use web.show_document.
    But if you have to see html inside Form, one of the solution may be use embeded browser. for detail goto http://forms.pjc.bean.over-blog.com/article-1890238.html

  • How to display HTML response file in user's browser following submission of Livecycle form

    I have a PDF form created via Livecycle that does a HTTP submit to the webserver. The server returns a HTML 'submission receipt' page which is either opened in Acrobat or the user's web browser.
    Previously this process worked fine when submitting from adobe reader - the html receipt file would always automatically open OK in the user's browser. However, with newer versions of Reader (11.0.0+) I now get this error and no attempt to open the user's web browser:
    An error occurred during the submit process. Cannot process content of type text/html
    I realise why I get the error - Adobe reader can't display HTML files.
    What I don't understand is why it doesn't open the html file in the user's browser like it has been doing for years.
    Does anyone have any idea how I can fix this (without changing the response content type to PDF/FDF)?

    I had the same issue as you and we used FDF status, then eventually went with returning an XDP  that filled out a receipt section of the form.

  • How to display HTML content in Siebel form applet

    Hi All
    I have a requirement where I send data from external webservice to be displayed in a siebel form applet. The control which displays this data is a textarea but the problem is my data is with HTML tags in it like
    <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META
    I need siebel to not show these tags but to show normal data after encoding the tags. I selected HTML Display Mode as 'EncodeData' but it is not removing the HTML tags.
    Please Help!
    Thanks
    Shweta

    Hello Shweta,
    From what I have observed, TextArea do not allow HTML formatting. This is because they are dependant on the Siebel ActiveX component unlike the Textbox.
    So in case you want to try to remove the HTML tags:
    1. Try with a text box instead of a text area.
    2. In the form applet map the control and try with HTML Display Mode as DontEncodeData if not successful.
    3. Also set the HTML Type to Field.
    Warm Regards,
    Tanmay Jain

  • 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 file from Unix server on UI at runtime

    Hi Experts,
    My requirement is to display  HTML files,  related to some particular person, on UI. The file is existing on a separate UNIX server and a file related to one person may have a lot of attached files as well , as is the case generally with HTML files, including pictures etc. So it is no use transferring file on my CRM system, as the files are kept separately on this UNIX server which is particularly for this kind of storage.
    I am able to show files residing on MIME repository ( I created some new HTML files )  of my CRM system on UI. but I don't know how to go ahead with this particular requirement.
    One idea is that I can map one folder of my application server to that unix server so that I can see the HTML files in this particular folder. but I don't know how to map MIME repository folder to application server directory or directly to the UNIX server .
    Please advise. Is my approach correct or is there any other way ?
    thanks in advance.
    Regards,
    Vikas

    Maybe this is too simple, but have you got an HTTP server on the UNIX machine? You could simply link the URL into you CRM application and display the contents directly from UNIX.
    cheers Carsten

  • How to display different Time Statement forms in ITS service PZ04

    Hi all,
    I am working on a underlyinge R/3 4.7 system and are working with standalone ITS and ESS 50.4. I am posting this question to find out if any of you has experience with my problem.
    The business wishes to use the ITS transation PZ04 standard and wish to be able to display different Time Statement forms in the transaction through customized variants for the report(RPTEDT00) that the PZ04 transaction executes. In the IMG it is posted that one variant has to be created called HRESS_TEDT00 and this works, but restricts the PZ04 transaction to always be called with this variant and therebye the same Time Statement form every time.
    I then by debugging found that the underlying ABAP code processed from SAP standard has a variable VARIANT that is hardcode to = HRESS_TEDT00.
    The question is: Is there anyway to setup the PZ04 transaction so that it can be dynamic decided which variant should be used, f.ex. from persons subarea from infotype 0001?
    Looking forward to here if anybody can help.
    Regards,
    Allan Brauer

    hi allan,
    cud u plz help me how to sort out this problem actually in mu company the same scenario is here need to be display pe51 form instead of standard hrforms.....
    plz help me how will i replace this "hrforms with pe51"..

  • How to display HTML formatted text in the field with Item Style: Raw Text

    How can I display HTML formatted text in the field with Item Style: Raw Text.
    Currently the Item Style is Raw Text, but the text is being displayed along with HTML tags without formatting.
    Regards

    Hi,
    Use Item Style formattedText.
    Regards,
    Gyan

  • How to display html content with image in Adobe Flash and Flex mobile project?

    Hi,
      I have a html content with image in it. How to display it in Adobe Flash Builder and Flex mobile project? Which control needs to be used for this?

    Hello,
    The only current way is to use an iFrame, or if you only need some html tags you could use the Text Layout Framework.
    Here this is the iFrame approach:
    http://code.google.com/p/flex-iframe/
    If the swc do not work in Flex4 just use its ource code which works...
    ...it is basically based on this:
    http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
    see also and vote, please:
    http://bugs.adobe.com/jira/browse/SDK-12291
    http://bugs.adobe.com/jira/browse/SDK-13740
    Regards
    Marc

  • How to move columns in SBO forms

    Hello,
    I would like to know if it is possible to move columns in SBO form tables.
    If yes, what is the way to do that?
    Thank you.
    Thibault

    Hi Thibault,
    In the 2005 SDK there is a new object in the DI-API called <i>ColumnsPreferences</i>. Maybe you should look into that. The <i>TabsOrder</i> property is the one you need I guess...
    Do a search on this forum on <i>ColumnPreferences</i> and you should find a few examples how to get the right column (it's tricky).
    Hope it helps,
    Rowdy

  • How to Display Html Text with Image

    HI Frens,
    I am getting some html text from a source, Later i want to
    display that data, but it may happened that it has some images in
    it. Currently I am using text area to display it.
    Now My question is if there is any image will it show, as we
    can see it in our mails? if Not, Which component I should use for
    this?
    I also want that I need to select some file from, How can i
    get open dialog box here?
    Thks in Advance for replies frens:
    Ashish Mishra

    Hi Ashish,
    If I have understood your requirement properly, u want to
    display html text on a flex application.
    I think there its better if you use the html component to
    display the text. I have a sample code which will give you a
    direction to think on.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="vertical"
    creationComplete="initApp( )">
    <mx:Script>
    <![CDATA[
    public function initApp( ):void
    var initHtml:String = "<html><head> \
    <title='Page Example'/> \
    <body bgcolor='#ccddee'><h1>Page
    Example</h1> \
    <p>This is a complete <b>HTML</b> \
    page as a
    <em>string</em>.</p></html></body>";
    this.html.htmlText = initHtml;
    ]]>
    </mx:Script>
    <mx:HTML id="html" width="100%" height="100%" />
    </mx:Application>
    Also do you want a file open dialog box??

  • 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.

  • How to display HTML pages always in first rank in search result?

    I have a sharepoint 2010 site where search is configured, but when it is displaying the search result some time it is  showing the pdf files  in the first order and the html pages in the second order, I need to display html pages always
    in the first order.How can I accomplish it?

    Alex's link is by far the best one but this is an alternative if you wanted to read a bit more widely
    http://sharepointkaos.wordpress.com/2011/01/13/custom-ranking-model/
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to display html from the jar

    Hiiiiiiiii
    How I can to display html from jar file

    Check out datagriditemrenderer for the datagrid column. Sample datagriditemrenderer code below:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Text xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      dataChange="updateHTML()">
      <fx:Script>
        <![CDATA[
          private function updateHTML():void
            htmlText = data.streetaddress + "\n" +
              data.city + ", " + data.state + "\n" +
              "<b>Phone:</b> " + data.phone + "\n" +
              "<b>Email:</b> " + data.email + "\n";
        ]]>
      </fx:Script>
    </mx:Text>

  • HOW TO DISPLAY PICTURE IMAGE ON FORM - I HAVE THE SOLUTION NOW!!

    Hi Kiran,
    I am very grateful to you and all who contributed to find a solution to my problem. I was stacked at the Page Definition properties in relation to the tutorial. I spent several overnights and later realized that the edit that would activate the download link is not in the SOURCE category but rather in the SETTINGS with 11g edition. When I changed the setting I had it perfectly. Thanks so much to all of you. I really enjoy the Apex Forum though I am new in Oracle.
    Howbeit; what should I do to have the picture always displayed on the form so that whenever the particular form is opened the image would be seen? Looking forward for the solution.
    Godis-Tei

    Hi,
    You need to use item type : Display image
    This example shows you how to display image on a report, as well as in the form when you edit a record on the report:
    http://apex.oracle.com/pls/apex/f?p=63066
    worksapce: somefeto
    user: test
    pwd: test
    Regards,
    Fateh
    Edited by: Fateh on Oct 24, 2012 11:56 PM

Maybe you are looking for