Document viewer common region

Hello everyone,
I am new to OAF development, i was requested to develop a new custom payslip report similar to the default coming with APPS R12 self service,
The idea is that it should be an embedded PDF viewer inside an OAF page,
After many trials and tests, i finally managed to achieve this where I extended the DocumentViewerRn.MainRegion in my region, developed data template,
Everything runs fine except on small thing, when the page opens , i,e processrequest method, i use a default value to generate the data, but when the user select a different parameter and press "Go" button, the PDF stays the same with old run
I made sure the new XML data is generated, by displaying it temporary on the page, but it no new PDF is re-rendered accordingly
Thanks in advance for your help

Hi
Its writeXML on the VO object.
Tim

Similar Messages

  • Document Viewer region not rendered

    Hi,
    Document Viewer region not rendered in one of the OA page. Following is the code added add the Document Viewer region in the parent page:
    <oa:header id="XDOCommonRN" extends="/oracle/apps/xdo/oa/common/webui/DocumentViewerRn.MainRegion" securityMode="selfSecured"/>
    This works fine in one environment and does not work in other. Please suggest what could be the reason? Is there a profile option which controls the visibility of Document Viewer region?
    Thanks
    Sanjeeva

    Hi,
    Document Viewer region not rendered in one of the OA page. Following is the code added add the Document Viewer region in the parent page:
    <oa:header id="XDOCommonRN" extends="/oracle/apps/xdo/oa/common/webui/DocumentViewerRn.MainRegion" securityMode="selfSecured"/>
    This works fine in one environment and does not work in other. Please suggest what could be the reason? Is there a profile option which controls the visibility of Document Viewer region?
    Thanks
    Sanjeeva

  • Replacement for document viewer region

    Hello,
    i used document viewer region to display PDF document in oaf page. It works fine but I don't want to see the drop down to select the format type and export button. Is there any way to embed PDF in oaf without using document viewer region? what is the logic behind it?
    Thank You!
    k-k

    Hello,
    i used document viewer region to display PDF document in oaf page. It works fine but I don't want to see the drop down to select the format type and export button. Is there any way to embed PDF in oaf without using document viewer region? what is the logic behind it?
    Thank You!
    k-k

  • Document Viewer

    All,
    I am interested in the functionality of the Document Viewer region described in the user manual.
    What we are looking to do is display the PDF output from a page in the Document Viewer region in OAF.
    The question is, is there functionality to allow you to call the documentProcessor APIs from a button in OAF, passing the xml and template name, produce the PDF output using BI Publisher and display the result in the OAF screen.
    Sounds similar to the functionality that the previewer uses in XML Publisher Administrator responsibility!!
    Any help much appreciated

    It will only open attachments if the file is in one of the supported format by the phone. As such, documents can't be viewed. Only pictures, music and other format which the phone supports.

  • Since iOS 4.2.1 Update - Document viewer Apps do not work right!

    Before I updated to iOS 4.2.1 Air Sharing (Document Viewer) was working (so were all my Document Viewers), but currently, they do not work correctly. I have checked about three others...all have the following problems:
    Since I updated (to iOS 4.2.1), all the documents open up to FULL SCREEN mode (which it had never done before, since the very beginning of the AppStore). Full Screen mode means that it looks like a Word Document on the computer, with the margins showing. This is rediculous for the screen of an iPhone or iPod Touch. There is no need to see the margins. Also, the font size is so small that it makes it almost impossible for most people without a magnifying glass. The document used to open up to a "zoomed in" view of the text. This allows the person using the application to actually read the text. This also allowed scrolling up and down easily. Now, with the new Full Screen view, to get the text large enough to see, you have to double tap (or spread your fingers on the screen to scale it big enough) on the text to read it. Then, when you scroll up and down, it sometimes scrolls side to side or diagonally (into the white margins), making reading cumbersome.
    The other problem with the new view is that the font sizes are all messed up. The normal font (whether 9 pt. to 16 pt.) looks the same. The italic font looks bigger than the normal font, though it is the same point size. It skews the page and alters what the original documents looks like.
    I have contacted the developer of Air Sharing to complain, but he said the following:
    Hello,
    Thank you for the test file. I do see what you're referring to. We use Apple's built-in Office viewer for Air Sharing. This means to display files like .docx ones, we use Apple's viewer. It's possible they changed their viewer in the most recent iOS update to cause this change. Because it's not our viewer we have no control over how it displays such files. Other apps using Apple's viewer will encounter the same issue. I wish there was more we could do on our end to help resolve this problem.
    Cheers,
    Elliot Chase
    Avatron Software, Inc.
    Please tell someone to fix this situation. I can provide you with information (and screen shots of before and after) to back up all my complaints. Thank you for listening.

    Ah, so that could be a good search term.
    Things get a bit more weird though. I was looking through the commands in the drop down menu and saw under "Archive" this: "Put/Send the Apps you bought to this computer" (rough translateion in English) So I tried that out.
    I could only do that by going to "Store" and (**** how to say that in English) "Allow" this computer to do that. This is weird as this is the same computer that I have always used for anything to do with the iPhone! I have now 2 computers that are allowed to sync, and it is one machine. Beats me!
    At a certain point the transfer proces stopped again and again I was requested to "empower" this computer again, as out of the 65 apps now 21 were not allowed to be transfered! That did not work. It now keeps telling me that I have 2 computers allowed for transferring apps and these last 21 can not be put in the library.
    I am a bit at my wits end!
    But really thanks for trying to help out! It seems that 4.2.1 has some real problems when reading through the discussions!
    Cheers!

  • Urgent: Issue while displaying the PDF Reports Using XDO Common region

    Hi all,
    In our product code we are trying to display the PDF Reports, using the xdo common region.
    Previously we were writing the pdf reports direclty onto the response direclty.
    This displays the report onto the browser but if navigate throw browser back button, it doesn't displays the report as the response stream is empty while navigating through back button.
    So to solve this issue, i tried to write the report using the OAHTMLWebBean and xdo common region. Here is the code:
    ByteArrayOutputStream xdoOutput = new ByteArrayOutputStream();
    XDOUtility.retrieveReport(xdoOutput,
    parameters,
    prop,
    appMod
    BlobDomain bxdoOutput = new BlobDomain();
    bxdoOutput.setBytes(xdoOutput.toByteArray());
    String redirectURL = DocumentHelper.getOutputURL(pageContext,
    bxdoOutput,
    "Report",
    "PDF");
    OAHTMLWebBean outRegion = (OAHTMLWebBean)createWebBean (pageContext, OAWebBeanConstants.HTML_WEB_BEAN, null, "IFRAME");
    outRegion.setHTMLAttributeValue("src", redirectURL);
    outRegion.setHTMLAttributeValue("width", "100%");
    outRegion.setHTMLAttributeValue("height", "100%");
    outRegion.setHTMLAttributeValue("title","Report");
    outRegion.setHTMLAttributeValue("name","Report");
    pageContext.getPageLayoutBean().addIndexedChild(outRegion);
    This successfully displays the report in the XDO Common region. But now the issue is that there are hyperlinks in the Report displayed where from where the user can navigate to other detail pages.
    When we click on these links, a new session starts in the xdo common region.
    Is it possible that when the user click the links in the report displayed, instead of starting a new session in the xdo region, the detail pages is displayed with in the older session.
    Regards
    Sandeep

    Hi all,
    In our product code we are trying to display the PDF Reports, using the xdo common region.
    Previously we were writing the pdf reports direclty onto the response direclty.
    This displays the report onto the browser but if navigate throw browser back button, it doesn't displays the report as the response stream is empty while navigating through back button.
    So to solve this issue, i tried to write the report using the OAHTMLWebBean and xdo common region. Here is the code:
    ByteArrayOutputStream xdoOutput = new ByteArrayOutputStream();
    XDOUtility.retrieveReport(xdoOutput,
    parameters,
    prop,
    appMod
    BlobDomain bxdoOutput = new BlobDomain();
    bxdoOutput.setBytes(xdoOutput.toByteArray());
    String redirectURL = DocumentHelper.getOutputURL(pageContext,
    bxdoOutput,
    "Report",
    "PDF");
    OAHTMLWebBean outRegion = (OAHTMLWebBean)createWebBean (pageContext, OAWebBeanConstants.HTML_WEB_BEAN, null, "IFRAME");
    outRegion.setHTMLAttributeValue("src", redirectURL);
    outRegion.setHTMLAttributeValue("width", "100%");
    outRegion.setHTMLAttributeValue("height", "100%");
    outRegion.setHTMLAttributeValue("title","Report");
    outRegion.setHTMLAttributeValue("name","Report");
    pageContext.getPageLayoutBean().addIndexedChild(outRegion);
    This successfully displays the report in the XDO Common region. But now the issue is that there are hyperlinks in the Report displayed where from where the user can navigate to other detail pages.
    When we click on these links, a new session starts in the xdo common region.
    Is it possible that when the user click the links in the report displayed, instead of starting a new session in the xdo region, the detail pages is displayed with in the older session.
    Regards
    Sandeep

  • Unable to see SAP BusinessObjects Document Viewer template in 7.4 portal

    Hello Experts,
    We are looking to integrate dashboards created with BOBJ design studio into enterprise portal (NW 7.4). We have followed the steps mentioned in the blog Integration of BOBJ with SAP Portal.
    Namely:
    1. Taken the com.sap.businessobjects.iviews.par and com.sap.businessobjects.iviews.templates.epa files from the BI server
    2. Imported the EPA file into the portal
    3. Converted the com.sap.businessobjects.iviews.par file into EAR file and deployed it into the portal
    4. Created System alias for the BI system
    5. Configured SSO between portal and the BI server
    After doing these steps when trying to create the Business Objects iView we are unable to see the SAP BusinessObjects Document Viewer template in the portal. Can anyone let me know if we have missed some additional configuration that has to be done?
    Regards,
    Saurabh

    Hi Experts,
    Issue has been resolved. After importing the EPA file into the portal, we missed out restarting the portal. Once this was done I am now able to find the SAP BusinessObjects Document List and SAP BusinessObjects Document Viewer templates in the iView creation wizard.
    Regards,
    Saurabh

  • Open PDF file in Acrobat reader rather than SAP Document viewer...

    Hello everyone,
                    Whenever we attach a pdf file using Services for objects-->Store Business documents, an attachment list list is created and the file is archived in the repository.
    If we double click on it, the pdf is opened in SAP Document viewer and not in Acrobat Reader unlike word document....
    Can anyone tell me what configuration changes should be made and where so as to open pdf file in Acrobat?
    Similarily what changes should be made so as to open Email files in Outlook?
    Edited by: Suruchirazdan on Mar 31, 2011 8:33 AM

    Which version of the Acrobat Reader do you use?
    According to my experience with our desktop this might be a feature of ACROBAD READER X.
    Kind regards
    Herbert

  • Document Viewer: Show document inplace using "view_document_from_table"

    Hello,
    i am trying to show a pdf-document on a dynpro using i_io_document_viewer.
    As long as I don't activate "show_inplace", it works fine. The document is correctly shown in an external browser window. So the parameters i export seem to be allright. But when I set show_inplace='X' nothing happens - neigther the document is shown nor I get an error. I think my way to create the control and the container could be the problem...
    Name of my Custom Control at the dynpro: CC_DOCUMENT
    my_viewer TYPE REF TO i_oi_document_viewer
    my_custom_container TYPE REF TO cl_gui_custom_container
    Code:
        CALL METHOD c_oi_container_control=>get_document_viewer
          IMPORTING viewer = my_viewer.
        CREATE OBJECT my_custom_container
          EXPORTING container_name = 'CC_DOCUMENT'.
        CALL METHOD my_viewer->init_viewer
          EXPORTING parent = my_custom_container.
        CALL METHOD my_viewer->view_document_from_table
          EXPORTING show_inplace = 'X'      "With ' ' it works...but of couse NOT inplace :-(
                  type = 'application'
                  subtype = 'pdf'
                  size = file_size
          CHANGING  document_table = file_table
    Does anybody see my mistake? I've been searching for hours -.-
    Thank you for helping,
    Best regards, margger
    Edited by: margger on Mar 22, 2011 2:51 PM

    Hey Andrea,
    thank you for your answer. The problem is that the .pdf is only a test file - later there will be images, movies, pdf-documents, ...
    So the integration of the document viewer would be nice. And, like I said, showing the document works, but not embedded in my dynpro.
    Regards,
    margger

  • Need document viewer in sharepoint 2013

    Hi,
    I need document viewer for documents in library and need to place annotations.
    Thanks & Regards,
    Siva

    Hi,
    If you want to place annotations in PDF file, you can use Annotate101.
    http://apps.microsoft.com/windows/en-us/app/annotate101/a8c958fd-2248-499f-96ba-647fbafc4ef3
    In addition, AutoVue and Accousoft seems to be solutions.
    For more information, you can refer to:
    http://www.viewerforsharepoint.com/autovue_for_sharepoint.htm
    https://www.youtube.com/watch?v=D67AIKyt88M
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Issue with the Document Viewer for Some Users

    Hi, I have archivelink setup in our system. Users are able to view the documents using this link. But issue is that one user is unable to view the documents while others can view the documents.  The roles for both users are same.
    Searched the forums but found nothing. Acrobat Reader version is 9.

    hi can you help me, im a desktop support engineer we got 2 users who have the exact same problem as in the call ive made here?
    nothing being displayed in Document Viewer for 720 gui user via Webportal
    any ideas, if they log onto other windows 7 machines still dont work

  • Passing dynamic content to a Document viewer in a Content Presenter Templat

    Hi, This problem is probably for Yannick. Our customer has a bunch of documents in UCM. They want to be able to put links to these documents in their Navigation Model (Webcenter Spaces App) which bring up the document as content inside a page, i.e. inside a Document Viewer that is the content area of the page. In their last portal, they did this by creating a page for every document because the Document Viewer in Spaces requires an itemId to a specific document.
    We need to create a single page and pass the URL or UCM Content Id to the Document Viewer that is the content area of the page. I tried creating a custom Content Presenter Template with a Document Viewer Task Flow inside. In the Nav Model, I have added a Content Item with the path to the doc in UCM. but it doesn't work. I even went into my CP Template and hard coded the resource Id parameter of the DV Task Flow but nothing comes up.
    If I add a document in Spaces to the page, I add it in a Document Viewer and the "Item Id" is set automatically. Then it works. But I NEED to be able to do this dynamically to avoid tons of separate pages, one per document.
    Please help. Thanks, Gary Kind

    I was able to get it to partially work by using a link item in the navigation model. As URL parameter 'docId', I put the UCM resource ID, e.g. ucm_conn#dDocName:UCM_CLUSTER-000027. In the destination page, I have a Document Viewer Task Flow whose resourceId input parameter I set to #{param.docId}. This works in that the Document Viewer appears nicely and has the correct path/breadcrumbs. I can display the document in a browser from the View menu item. I can download it from the download menu. However the actual file contents do not show up. In the center where they should be, I get an Error-404 file not found. Why is that? It is finding the file in UCM, and I can access it other ways in the DV, but it can't find it in to put it in the Viewer area? That ain't right.
    How do I get this to work correctly?

  • To RE-USE (display) the common REGION in all of the Pages

    I have a Common REGION (It's a Select criteria with lot of lov's) and I want to display the same Region with every items on the TOP of all the Pages (1,2,3, .....) within same Application ID.
    One of the way is I should copy the REGION in all the pages but I want some better way, so that I can build the Region once and re-use that in every Page without copying.
    thanks..

    thaks..
    also if I want to avoid some of the pages..how can I do that.
    I mean, I have page 1,2,3,4 & 5. I want the common region to be displayed only on Page 1,3 & 5, Can I give the condition in Page 0 to display on particular pages.

  • Embedded document viewer in Flash

    Hi,
    We are looking at provided an embedded document viewer within a website and also within a Flash based applicaiton.  The document viewer would need to display Office documents and PDF documents.  We think Adobe has Flash Paper which fulfills some of these needs but this is no longer supported after it has been acquired from MacroMedia.
    Could any one please provide inputs on any Flash based document viewers that can be embedded in a Flash application?
    Thanks.

    i dont think so that you have a component like that.. my be you can try to build a custom component for that.
    chk here
    http://jdevadf.oracle.com/adf-richclient-demo/faces/index.jspx

  • Document viewer in 5800

    As seen in specification for 5800 there is documnet viewer. But while opening any .doc or .xlc or .ppt i cannot open it. Isn't there any application preloaded to open office documents. If not, kindly suggest if any freeware application is available or not.

    5800 Xpressmusic smartphone have preloaded office document viewer as well as other good stuff out of the box. all u have to do is install these (provided you are connected to the internet).
    n82 v30.0.019 Nokia N82 (08.01)
    n73 music edition

Maybe you are looking for

  • How to transfer iTunes with playlists to new imac

    I have a 250 GB drive on my old iMac, and have been storing my iTunes files on an external hard drive.  I now have a new iMac and would still like to keep my music and a few current video files on an external hard drive.  iTunes on the external drive

  • Output is no longer available in the database control file

    Hi All in Oracle 10g (10.2.0.1.0) - on suse Linux 9, OEM (10.2.0.1.0); I'm getting when I try to look at RMAN reports that databases reports are "Job output is no longer available in the database control file." - one one database. I've searched forum

  • Importing PSD

    Hello, I am trying to import a psd into FCP 6 with multiple layers and for some reason when I open it in FCP the image is all messed up. some of the layers don't pop up, the glow effects, cropping and fading is all weird. Please help

  • ITunes 12 - Sort Show Option Missing

    Upgraded to iTunes 12 and when accessing a song under 'Sorting' the 'Sort Show' option is not listed.  But the 'Sort Show' option is available in the column browser.  I use 'Sort Show' to categorize songs into Smart Playlists.  How can I get this opt

  • Can't open certain apps after 10.10.1 update?

    After upgrading to 10.10.1 (Yosemite) today, there's a few apps that I can't open anymore (Safari, iTunes, and possibly a few others). It seems like all of these apps were open when I started the install (and the computer restarted itself during the