Embedding external content in a Framework page

Hi,
I want to embed some external content, like YouTube video or a presentation on Slideshare, on my iRecruitment home page. I added an Item of type Servlet Include, and simply pasted in the Embed code from the host into the Source URI field. When I display the page, the embedded content actually renders 3 times (one on top of the next on top of the next), and right below each embedded object I get the below error text:
not found at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:370) at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:336) at oracle.cabo.ui.laf.base.JspIncluder.includeByPath(Unknown Source) at oracle.cabo.ui.laf.base.ServletIncludeRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderSideNode(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderRightNodes(Unknown Source) at oracle.cabo.ui.laf.swan.desktop.ContentRenderer.renderTableContent(Unknown Source) at oracle.cabo.ui.laf.swan.desktop.ContentRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source) at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source) at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:398) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source) at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source) at oracle.cabo.ui.BaseRenderer.render(Unknown Source) at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.BaseUINode.render(Unknown Source) at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3456) at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3102) at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2909) at OA.jspService(_OA.java:220) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:702) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:252) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:186) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:191) at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322) at RF.jspService(_RF.java:217) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:610) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) ">
Any ideas on what I can do to successfully render embedded content on my page?
Thanks,
Steve

you dont have this class com.evermind.server.http.EvermindPageContext
with your classpath.
copy this class file from any oracle apps instance from $JAVA_TOP/com folder in your myclasses folder
if you running this locally on jdeveloper.
Thanks

Similar Messages

  • Problem with Absolute Navigation (External Window) and Light Framework Page

    Hi All,
    We are using Light Framework page for the portal devolopment. We have an application including two webdynpro iviews where absolute navigation is used to traverse from first iview to second iview (When user clicks a button on first iview). We are showing the second iview in external window (SHOW_EXTERNAL). When ever i clicks the button to traverse to second iview, i am getting an exception.
    When we are showing it in same window (SHOW_INPLACE), it is working fine. But the iview is appeared in half of the page with scrollbars. It is working fine with default framework page (with both options SHOW_INPLACE and SHOW_EXTERNAL) and dispalyed in original size as mentioned in iview properties.
    Could you please suggest us whether there is any work around for this.
    Thanks,
    Sudheer

    Hi Kathiresan
    I couldn't see the address bar of the window (In which second iview is getting displayed). But i can observe no parameters that i passed from first iview is visible in the view source of the second iview (When SHOW_EXTERNAL is used in absolute navigation). I could see all the parameters in the view source (when SHOW_INPLACE is used for absolute navigation). But i am using the same url for both the options (for SHOW_INPLACE and SHOW_EXTERNAL).
    I doubt about the url being passed when SHOW_EXTERNAL option is used. But when we checked in debug, The correct url is being triggered (Atleast from first iview). Is there any way that could display the second window with address bar. What is making difference  between SHOW_INPLACE and SHOW_EXTERNAL with absolute navigation and light framework page.
    Could someone please suggest.
    Thanks,
    Sudheer.

  • External Content Type Page Number Filter

    I have a External Content Type set up on a SQL Server view. My problem is when I use the content type as a external column in a SharePoint list the picker returns more than 200 items. I have tried to add the Page Number filter to allow users to page through
    the items but I cannot get it to work. Is there a way to increase the item limit, or can someone explain how to use the Page Number filter on the Read List operation for a external content type?
    Thanks,

    Regarding increasing the limit, there are two parts. The actual BCS limit in SharePoint which can be increased using a PowerShell command (below), and then there is the web part that lets you select the BCS items. Based on a thread for SP2010, 200 is a hard
    limit for the web part, although you will need to test to see if his limit has changed in SP2013.
    http://technet.microsoft.com/en-us/library/ff607630(v=office.15).aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d0d3d0c9-8180-40f6-a886-be08c1a56a24/external-data-column-pick-list-sort-order-and-remove-limit-constraint
    Regarding the Paging, the following thread provides some options (it's for SP2010 but apply for SP2013 as well):
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/6a39ae0d-cd62-4ec4-b346-7f311e8799c6/bcs-filtering-and-paging-under-readlist-method?forum=sharepointdevelopmentprevious
    Dimitri Ayrapetov (MCSE: SharePoint)

  • PDF Viewer embedded in OA Framework page

    Hi All
    Is it possible to embed a PDF viewer into a framework page such that it could display an
    existing PDF that is held in an external document management system and accesssed via a url ?
    Context ...
    We will have a custom OA Framework page that will be displaying invoice details.
    The invoice image will be held in a document management system probably Documentum.
    The invoice image could be retrieved by opening the URL to that image document.
    Simple solution has a url link on the invoice details page for the image. When user clicks on the
    link a new window will open and display the PDF.
    Business have asked if it would be possible to display the invoice data fields AND the PDF image on the
    same window rather than needing to open a new window ?
    Is this possible ?
    Many thanks
    Andy

    Hi Andy,
    Please check with this if it helps http://www.apps2fusion.com/at/ps/51-ps/286-bi-publisher-document-viewer-common-region-embed-oa-framework.
    Regards,
    Reetesh Sharma

  • Custom Light  framework page

    Dear All,
    I am planning to develop custome Light framework page with Masthead, Tool area (search) , TLN, DTN and content area
    is there ant ready framework pages i can use, examples prerequisites will help.
    Regards,
    Murali

    Hi,
    Check these blogs:
    EFP: Working with the New Taglibs - Part 1
    EFP: Working with the New Taglibs - Part 2
    EFP: Working with the new Taglibs - Part 3
    Nuts and Bolts of the External Facing Portal (EFP)
    EFP: Layout Tag Library
    EFP: Navigation and Framework Tag Libraries
    Regards,
    Praveen Gudapati

  • Light framework page

    Hi to all,
    i'm working to light framework page, to create an external facing portal. But i don't know where i can find the default light navigation iViews. Can someone tellme where i can find it?
    Thanks to all,
    Anna

    Hi Anna,
    Light Framework page is in:
    PCD  portal content  content provided by SAP  End user content  Standars portal users 
    other  iView are in:
    PCD  portal content  content provided by SAP  Admin Interfaces  Admin iView templates 
    see all iviews starting with Light
    you can also find more iviews and pages just by searching in PCD.
    for more info see following links:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3050a9ef-2848-2a10-1e93-bcc432c00c84
    EFP and Light Desktop Innerpage
    Hope this helps you.
    Regards,
    Yogesh...

  • Performance Light Framework page and R/3 transactions

    Hello,
    I have a customer running an enterprise portal 6.0 containing basically R/3 transaction iViews.
    Some of the users of this solution are using fairly low bandwidth and are complaining about performance problems.
    My question is whether there is anything to gain from switching to the light framework page, or is the loading of the R/3 transaction the main bottleneck.
    Has anyone made an estimate of the performance gains obtained by using the light framework page over the standard ones?
    I have just found one such estimate on this forum, indicating a size improvement of almost a magnitude of 8 (100K vs 800K) (thread: portal performance optimization over low speed links)

    Here is the text that explains the disappointing restriction in the release of External Facing Portal with KM in NW04s SP5 and NW04 SP14.
    NOTE 709354 relevant snippet below>>>>>>>>>>>>>>>>>
    Release with restrictions
    Knowledge Management in external facing portals
    Knowledge Management is released in a restricted way for scenarios where the external facing portal capabilities of NW'04 SP 14 are used (i.e. reducing the network load by using the 'light framework page' concept of the portal): - KM iViews will work within the light framework page without erros. However, the network load will not be decreased since the navigation within the KM iViews requires the full range of scripts to be downloaded  from the portal. - Browser Back/Forward navigation within KM will not work in all cases - Indexing of KM content by external search engines (Google, etc.) will not work on all content In addition, the general usage of KM in scenarios where untrusted (e.g. with a self-registered user ID) or anonymous users are accessing an external facing portal is recommended in a restricted way only to avoid upload of malicious files or code (e.g. disable file upload or discussion forum entries). This recommendation is true even if the 'light framework page' concept of NW'04 SP14 is NOT used. For more information on how to enable KM (and Collaboration) for anonymous users, please refer to the following notes. SAP NetWeaver '04 SP11 and below: Note 728106. SAP NetWeaver '04 SP12 and higher: Note 837898.
    ( Changed at 23.12.2005 )

  • How make the Top-level Navigation and Content Area in one page as a whole?

    I want to make the Top-level Navigation and the Content Area in the one page as a whole displayed in user interface.In the default framework,the Top-level Navigation and the Content Area were contained  in 2 pages, So the vertical scroll bar could only control the Content Area. I want to control the full page with  one vertical bar like the page of "www.sdn.sap.com" Web.

    Hi Jianguo,
    One advantage of the external facing portal solution (SP14) is that the framework page is displayed in a single frame. Perhaps this could be of use to you.
    Hope this helps.
    Daniel

  • Default Framework page Isolation method changed

    We changed the Isolation method to URL instead of embedded on all of the iviews in the Default Framework page.
    Now we cannot view the Portal Content Directory.  Is there any method to fix this by going to a URL.
    We tried - http://myServer:50000/irj/portal?NavigationTarget=ROLES://portal_content/administrator/content_admin/worksets/com.sap.portal.content_admin_ws/com.sap.portal.content_admin_wsExplorer and it did not work.
    Thanks in advance,
    D. Maupin

    Hi,
    You can resolve by using the steps below:
    1. Create a transport package for the Default framework page  in a system where the properties are correct . Export the epa file and save locally
    2. Login to the Portal where the properties have been messed up.
    3. On the same Browser window change the URL to
    http://<server>:<port>/irj/servlet/prt/portal/prtroot/com.sap.portal.pcd.admintools.import.default
    This should open the Import Transport application
    4. Import the local transport .
    5. Logout and login again to the portal.
    Thanks
    Prashant

  • Adobe Reader cannot play embedded Flash content

    I don't know why, the Flash format was originally created by Macromedia, and then Adobe acquired the company, but the Adobe Reader cannot display Flash content.
    My PDF file is here:
    http://genifer.googlecode.com/files/agi-book.pdf
    Scroll to page 37.
    The original SWF file is here:
    http://genifer.googlecode.com/files/unified-AND-OR.swf
    which *can* be played on my Chrome browser.
    But when I embedded the SWF file in the PDF, the result is unplayable.
    A clue is:  Adobe Reader asked me to download QuickTime to display media contents.  So I downloaded QuickTime.  But QuickTime nowadays has removed Flash support.  Why did Adobe Reader ask me to download QuickTime to display Flash, when Adobe owns the Flash format?
    I have also tried selecting other media players in the Reader's option box (eg, Windows Media, Windows built-in, Adobe Flash, etc) but none of them works.
    I have also tried using Adobe Acrobat Professional 9.  Same result.
    It seems to be a problem with Adobe Reader.  Any suggestions?
    Thanks!

    Adobe Reader most certainly CAN play embedded Flash content, but only if you embed it properly.
    You're seeing a Quicktime warning because you're embedding the SWF as "legacy media" content - this is no longer supported for authoring and is disabled by default for playback.You should use Rich Media Annotations instead (embedding using the multimedia/flash tool in Acrobat 9 or Acrobat X).

  • PDF file cannot be viewed from OA Framework page.

    Hi all,
    I have developed an OA Framework page which shall present an XMLP report in pdf within the browser.
    When I click on my menu item which opens the oa page, the Open file.. diaglog appears. When I open or save the file (and thereafter opening if) the following error appears: _Acrobat could not open [filename] because it is either not a supported file type or because the file has been damaged._
    I can open the file if I go to the server and copies the output file to my own machine.
    The error that i'm describing is happening on the server and NOT in my development environment. I cannot get it to work at all on my own machine.
    Some facts:
    JDeveloper 9i RUP7
    XML Publisher 6.5.3
    APPS 11.5.10 CU2
    The code:
    package bksv.oracle.apps.bkfnd.bkrepgw.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.common.AppsContext;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.xdo.dataengine.Parameter;
    import oracle.apps.xdo.oa.util.DataTemplate;
    import oracle.apps.xdo.oa.schema.server.TemplateHelper;
    import java.io.OutputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.FileInputStream;
    import java.util.Properties;
    import java.util.Calendar;
    import java.text.SimpleDateFormat;
    import com.sun.java.util.collections.ArrayList;
    import com.sun.java.util.collections.Iterator;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletOutputStream;
    import oracle.cabo.ui.data.DataObject;
    * Controller for ...
    public class ReportGenerationCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        String currentDateTime = ReportGenerationCO.now();
        String filename = "/home/appsamba/kkristoff/KKR_TEST_" + currentDateTime;
        //Get application context
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        AppsContext appsContext = ((OADBTransactionImpl)am.getOADBTransaction()).getAppsContext();
        DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
        HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
        // Set the Output Report File Name and Content Type
        String contentDisposition = "attachment;filename=" + filename + ".pdf";
        response.setHeader("Content-Disposition",contentDisposition);
        response.setContentType("application/pdf");
        //Initilization//   
        try {
          ServletOutputStream os = response.getOutputStream();
          DataTemplate dataTemplate = new DataTemplate(appsContext, "CS", "BKCSSR");
         //Get Parameters
        ArrayList parameters = dataTemplate.getParameters();
         //set Parameter Values as ArrayList of oracle.apps.xdo.dataengine.Parameter
          Iterator it = parameters.iterator();
          while (it.hasNext())
             Parameter p = (Parameter)it.next();
             if (p.getName().equals("P_INCIDENT_NUMBER")) {
              p.setValue("369");
             if (p.getName().equals("P_REPAIR_ORDER_NUMBER")) {
              p.setValue("");
             if (p.getName().equals("P_REPORT_NAME")) {
              p.setValue("Service Request Overview");
             if (p.getName().equals("P_SERVICE_TYPE")) {
              p.setValue("ALL");
         dataTemplate.setParameters(parameters);
          dataTemplate.setOutput(filename + ".xml");
          dataTemplate.processData();
          OutputStream outputStream = new FileOutputStream(filename + ".pdf");
          InputStream inputStream = new FileInputStream(filename + ".xml");
          Properties prop = new Properties();
          // Process template
         TemplateHelper.processTemplate(appsContext, // AppsContext
         "CS", // Application short name of the template
         "BKCSSR", // Template code of the template
         "en", // ISO language code of the template
         "00", // ISO territory code of the template
         inputStream, // XML data for the template
         TemplateHelper.OUTPUT_TYPE_PDF, // Output type of the procesed document
         prop, // Properties for the template processing
         outputStream); // OutputStream where the processed document goes.
          String sByteArray = outputStream.toString();
          byte[] outputBytes = sByteArray.getBytes();
          response.setContentLength(outputBytes.length);
          os.write(outputBytes, 0, outputBytes.length);
          os.flush();
          os.close();
        inputStream.close();
        outputStream.close();
         } catch (Exception e)
            //throw new OAException("An Error has occured master: " + e.getStackTrace().toString(), OAException.ERROR);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
      public static final String DATE_FORMAT_NOW = "yyyy-MM-dd";
      public static String now() {
        Calendar cal = Calendar.getInstance();
        SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT_NOW);
        return sdf.format(cal.getTime());
    Thank you in advance.
    Regards
    Kenneth
    Edited by: Kenneth_ on 2010-07-30 12:58
    Edited by: Kenneth_ on 2010-07-30 13:33

    I have now found a solution to this problem. Thank god!
    See the code below.
    Thank you all for helping me getting this far.
    Kenneth
    package bksv.oracle.apps.bkfnd.bkrepgw.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAApplicationModule;n
    import oracle.apps.fnd.common.AppsContext;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.xdo.dataengine.Parameter;
    import oracle.apps.xdo.oa.util.DataTemplate;
    import oracle.apps.xdo.oa.schema.server.TemplateHelper;
    import java.io.OutputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.FileInputStream;
    import java.util.Properties;
    import java.util.Calendar;
    import java.text.SimpleDateFormat;
    import com.sun.java.util.collections.ArrayList;
    import com.sun.java.util.collections.Iterator;
    import java.io.ByteArrayOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletOutputStream;
    import oracle.cabo.ui.data.DataObject;
    * Controller for ...
    public class ReportGenerationCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        String currentDateTime = ReportGenerationCO.now();
        String filename = "/home/appsamba/kkristoff/KKR_TEST_" + currentDateTime;
        //Get application context
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        AppsContext appsContext = ((OADBTransactionImpl)am.getOADBTransaction()).getAppsContext();
        DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
        HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
        // Set the Output Report File Name and Content Type
        String contentDisposition = "attachment;filename=" + filename + ".pdf";
        response.setHeader("Content-Disposition",contentDisposition);
        response.setContentType("application/pdf");
        //Initilization//   
        try {
          ServletOutputStream os = response.getOutputStream();
          DataTemplate dataTemplate = new DataTemplate(appsContext, "CS", "BKCSSR");
         //Get Parameters
        ArrayList parameters = dataTemplate.getParameters();
         //set Parameter Values as ArrayList of oracle.apps.xdo.dataengine.Parameter
          Iterator it = parameters.iterator();
          while (it.hasNext())
             Parameter p = (Parameter)it.next();
             if (p.getName().equals("P_INCIDENT_NUMBER")) {
              p.setValue("369");
             if (p.getName().equals("P_REPAIR_ORDER_NUMBER")) {
              p.setValue("");
             if (p.getName().equals("P_REPORT_NAME")) {
              p.setValue("Service Request Overview");
             if (p.getName().equals("P_SERVICE_TYPE")) {
              p.setValue("ALL");
         dataTemplate.setParameters(parameters);
          dataTemplate.setOutput(filename + ".xml");
          dataTemplate.processData();
          //OutputStream outputStream = new FileOutputStream(filename + ".pdf");
          ByteArrayOutputStream localByteArrayOutputStream = new ByteArrayOutputStream();
          InputStream inputStream = new FileInputStream(filename + ".xml");
          Properties prop = new Properties();
          // Process template
         TemplateHelper.processTemplate(appsContext, // AppsContext
         "CS", // Application short name of the template
         "BKCSSR", // Template code of the template
         "en", // ISO language code of the template
         "00", // ISO territory code of the template
         inputStream, // XML data for the template
         TemplateHelper.OUTPUT_TYPE_PDF, // Output type of the procesed document
         prop, // Properties for the template processing
         localByteArrayOutputStream); // OutputStream where the processed document goes.
          byte[] b = localByteArrayOutputStream.toByteArray();
          response.setContentLength(b.length);
          os.write(b, 0, b.length);
          os.flush();
          os.close();
        inputStream.close();
        localByteArrayOutputStream.close();
         } catch (Exception e)
            //throw new OAException("An Error has occured master: " + e.getStackTrace().toString(), OAException.ERROR);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
      public static final String DATE_FORMAT_NOW = "yyyy-MM-dd";
      public static String now() {
        Calendar cal = Calendar.getInstance();
        SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT_NOW);
        return sdf.format(cal.getTime());
    }

  • Include external content when referred in internal content

    I am hoping someone can point me the right directions for the following use case.
    In our SharePoint site collection various pages are referring to external content (for example: an article page on msdn or wikipedia). Whenever the user is searching for information that can be found in the external content, I would like SharePoint search
    to give a result of all internal pages that are referring to this external information.
    Maybe the "link to document" contenttype is what I need to use, but I was hoping it is possible to configure my search crawl to follow links on internal pages referring to external pages for 1 level deep and add the external content to the search
    index of the internal page to show up in the search result.
    In general I am talking about internal aspx content pages and external html or pdf documents
    (I hope this explaination is clear enough) 

    Hi,
    Your explanation is quite clear about what you expect. As my understanding, the current search service in SharePoint cannot achieve your requirements. First, the SharePoint search engine limits search scope within the data sources defined in SharePoint search
    service application. Considering the links in your internal pages might link to anywhere in internet, the external pages cannot always be able to be clawed by SharePoint. In addition, the  OOTB index components don't support adding one content into the
    index of another content.
    In my point of view, the only possible way is to develop your own search service application, and deploy it to your SharePoint environment, but this is a very complex task.
    Thanks,
    Reken Liu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Add to favourites disabled when using light framework page

    Hi,
    When using the light framework page our "add to favourites" link is disabled. If we instead use the normal framework page add to favourites in the dropdown menu works. Does anyone have an idea why this could be?
    Regards
    Mattias

    Hi,
    The reason why I decide to use Light Framework, itu2019s because Iu2019m creating an EFP, and Iu2019m using the WPC to publish the content (articles, news, and link list), using the standard Web Forms.
    The problem is, after adding to a WPC Page something so simple like an article (using the Web Form Article), no Portal iView, HTMLB or other stuff included, the preview of the WPC Page using the Default Framework Page is ok, but when using the Light Framework Page, the text in the article doesnu2019t have the correct font-family. It looks like there are some styles missing in the Light Framework Page, that WPC content is expecting.
    Thanks and Regards,
    John

  • NW2004s SPS10: color issues wirh light framework Page

    Hi,
    we're using NW2004s SPS10 and the light framework page. Everything works fine except for the following two issues:
    1.) The color for the personalisation link in the masthead is not the color we've defined in the theme editor. Example: http://img214.imageshack.us/img214/9967/image1ub0.gif As cou cann see, the link is displayed in in the default color for links (blue). How can we change the color?
    2.) The color for the commands in the page title bar doensn't match our requirements. How can whe change the color? Example: http://img440.imageshack.us/img440/1060/image2be9.gif
    Thankds in advance
    Best regards
    Thomas

    Sravanth wrote:
    Hi All,
    I'm facing a problem regarding changing colors in a OA Framework Page. We are using Apps R12. with OA Framework component 12.1.1
    There are 2 urgent Issues for me
    1. To change the Color of the Header Component(Presently it is in Light Blue Color) and To change the Image on the top of the Page(The Image which stands as a back ground for Oracle Logo)(Thick Blue in color)
    only the look and feel of the External Site Visitor Page must be changed. All the other pages should be having the default look and feel of oracle
    Can any one suggest me on how to achieve the required output...
    Thanks and Regards,
    S K SravanthHi Sravanth,
    Take a look at Atul's blog entry for this, he has documented it nicely.
    Thanks
    Shailendra

  • WDA loading in Light Framework page

    We are running WebDynpro ABAP pages in the EP 7. This works with "normal" and with Light-Framework pages. But we have noticed one thing. While the "fat" EP page requires longer seconds for loading, the loading of the embedded WebDynpro starts already during this time, hence in parallel.
    0 Secs EP page called
    1 Secs WebDypro called
    3 Secs EP pages finished
    6 Secs WebDynpro finished
    With the light framework the WD loads only after the EP pages is loaded
    0 Secs EP called
    2 Secs EP Page finished, WDA starts loading
    7 Secs WDA finished
    Is there a chance to overcome this, so starting the loading already during loading of the EP page. Any hint is appreciated. BTW, it is not about the quantity of 1 secs, this is just an example. Real world examples show this effect more dramatically.
    Edited by: Frank Torst on May 8, 2008 12:06 PM

    Question timed out and closed

Maybe you are looking for

  • Reversed Invoice appearing as unpaid invoice in FMJ2

    Hi Experts, My customer is trying to carryforward unpaid invoice to the next fiscal year during year end closing. They happen to retrieve invoices that have been reversed. By right, reversed invoices should not be picked up for carryforward. What i r

  • Import .emf files to PS CS6X

    Is there an import plugin to read .emf files directly into PS CS6X on PC?  I have very large that I'd like to rasterize in PS.  Now what I have to do is load to MSPaint and output as .bmp but have no control of the dpi so output is not as good as it

  • Is it possible to load web content?

    Hello, I'd like to know if its possible to load a file (an xml file) from a web resource with a given address like: http://server.com/file.xml. I tried to do this with myDocument.importXML(File(file)); but this does not seem to work. Thanks in advanc

  • Site Wide Design-Time?

    I've got a site that uses a lot of server-side includes, because the client has a lot of redundant info all over the place. When I edit these includes in Dreamweaver, the best way to handle it is to use my stylesheets at Design-Time (a feature I just

  • User Exit for delivery Date Update in ME41

    Hi, I want to Create one User Exit which will Update the Delivery Date of All Line Items ,same as of Item one. Detail : When creating RFQ using tcode ME41, create with Reference to PR, add your collective Number and copy few line items from your PR,