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

Similar Messages

  • 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 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 de last items of a region from other page in Portal?

    I want to display de last five items (f.e.) included in a region (with attributes created) from other page. I've tried using custom search, but it also shows the attribute names, and I want show the attribute values (I don´t know how can I format these attributes).
    Thanks a lot.

    How can I display the last items of a region from other Oracle Portal page?

  • How can i display my portal  with a certain language in the runtime

    I am imp[lemeting a portal page
    their will be a language choice  English   -   French  - Arabic
    I want the portal page to be displayed in the Arabic if the user choose Arabic
    I want the portal page to be displayed in the French if the user choose French
    I want the portal page to be displayed in the Englis if the user choose English
    How can i achieve that target
    Regards
    Mohamed Hammed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Sandeep
    How can i "Set Language" Portlet
    My portal page contains
    many portlets
    many items
    many subpage links
    i want all of this to function with the chosen language
    Regards
    Mohamed Hammed

  • How can I display the holiday list in the portal

    System
    ECC 6.0
    EP 7.0
    ESS/MSS 1.0
    how can I display the holiday list in the portal.
    There will be a holiday list created by the ABAP-er in ECC, how can I include it in the portal?

    Hi,
    Create a WebDynpro Iview to create a simple application that pulls information from the RFM(that you has ABAPer created).
    Start from <a href="https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#backend">Here</a>
    (Or)
    To get an idea, download the world time BP from below link. It has calender with holidays displayed.
    http://www.sweetlets.com/world_times_preview.html
    Regards,
    N.

  • Retrieve and Display Archivelink document in Portal

    How can I display an archivelink document in the portal.  For example,  in travel management module, I have linked images to the trips.  On the portal I want to display these images.   When I use URL, does not work in webdynpro.  When I use FM:  SCMS_AO_TABLE_GET to get the image as data, it does not seem to work.

    Hi Alex
    "Create a datablock and specify the item datatype as blob"
    BUT: How to bring the document to the blob?
    Hi user 611..
    Warning: It is easy if you use an OLE-Object - but OLE is a special format. The result will not be the same as with dbms_LOB.
    We have a application with documents stored via OLE - terrible!
    OLE is no longer supported by forms 10. But webutil would help.
    I asked a similar question and got a good answer:
    OLE-Container and migration to the web
    Wolfram

  • 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 portlet in the Edit view only ?

    Dear All,
    I'm developing a portal in which the end user can change the content of the portal page (personalize) using Edit smart link and i ask How can i display a portlet in the Edit view only ? not shown in the production view ?

    Last time I heard with Oracle they said the only way is to look at the current URL. If it contais _mode=16 then we are in edit mode.
    This is a function I use:
    FUNCTION inEditMode return boolean is
    bEdit boolean := false;
    begin
    if PORTAL.wwpro_api_parameters.get_value('_mode', 'qaz') = '16' then
    bEdit := true;
    end if;
    return bEdit;
    end inEditMode;
    Kind regards
    Tomas Albinsson
    Stockholm, Sweden

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

  • How can we display Alerts based on Exceptions in BI7

    Hi,
    <b>How can we display Alerts based on Exceptions in BI7?</b> My requirement is a dashboard kind of scenario where the alerts will be displayed using WAD in Portal.
    In 3.5, we used to schedule the alerts from the Reporting Agent and display that using the Alert Webitem in Web Application Designer. But I couldn't find the Reporting Agent and the Alert Webitem in BI7. I would like to know how we can do Exception Reporting in BI7. I appreciate your suggestions/comments. Thanks in advance.
    Regards
    Hari

    Hi,
    Please go through this link:
    bw 7.0
    Regards,
    Habeeb

  • In a FM 11 book, how can I display filename w/o file location?

    In a FrameMaker book, how can I display filename without the file's  location on the hard drive?
    For example, The book would list:
    "MyFile.fm"
    instead of
    C:\windows\documents\Framefiles\XYZ Company\widgets\draft_2013_1111\MyFile.fm
    If this cannot be done, then how can I get the book to list a name for the added file other than the name of the first heading in the file contents?

    Check out the little toggle icon beside the magnifying glass in the book tab – you can swap back and forth between “Display Heading Text” and “Display File Names”

Maybe you are looking for

  • Messages of type 'I' in Transformation

    Hi, I try to give out messages of type 'I' in a characteristic routine of a transformation:       monitor_rec-msgid = 'ZBW'.       monitor_rec-msgty = 'I'.       monitor_rec-msgno = '000'.       monitor_rec-msgv1 = 'Missing Vehicle code link for Mode

  • XML Template was not working correctly in 11.5.9

    Hi I am currently working on XML rtf template for Invoice. And the rtf XML template is working fine (getting results as expected) in 11.5.10 but the same rtf is not working fine in 11.5.9( not getting the results as expected). My current version of X

  • How to buy imac 27 inch and ship it to iraq ?

    hi im ali jalal from iraq and i want to buy imac 27 inch from apple online store and ship it to iraq is there any way to do that ? cuz i cant see my country in the list thanks

  • I just want to add apps?

    Hi! I have a older Itouch, 1.1.5 version? I am trying to figure out how to add apps, podcasts, etc.... Someone told me I had to download an update, so that my touch acts more like an Iphone, but my Itunes tells me that I am current with all updates a

  • Problems with rss feeds in Firefox.

    When i enter an rss feed url into firefox, it automatically switches to safari to open the url.  Firefox is my default browser; I am trying to set up rss feeds in Firefox.  How do I prevent this from happening so that these urls will open in Firefox?