Using VO Attribute in destination URI of Item Style LINK in OAF Personalization

Extended the VO in iReceivables to have a Transaction link (external URL) as additional view attribute 'InvoiceUri' (i.e. each TRX will have a unique URL from 3rd party)
Now trying to add a LINK type Item in the same and proving the VO Attribute as Destination URI, tried all the below possibilities:
javascript:void window.open('decodeURIComponent({@InvoiceUrl})')
javascript:void window.open('{@InvoiceUrl}')
{@InvoiceUrl}
When I click the link item created/added using personalization is, its opening the URL like this:
http://*******.com:34604/OA_HTML/https%3A%2F%2Fxxxx.net%2FXDSServer%2FInvoice_51214777_20141201.pdf
First issue is its prefixing the Oracle Apps server url (i.e. http://*******.com:34604/OA_HTML/) to the invoice url while opening the new IE window
Other issue is URL being encoded i.e. removing all the special characters and replacing them with %3A, %2F etc.,
Is there a way to make it work, with out extending the page controller. This is for Oracle R12.1.3, tried with IE 7, 11 and Mozilla
Thanks in advance

Hi,
In destination URI, you can add parameters at the end of URI as shown below:
OA.jsp?page=/xx/oracle/apps/<app_name>/webui/XxPageNamePG&Action=DETAILS&HdrId={@HeaderId}
Here, there are 2 parameters added (followed by '&'):
Action - event name
HdrId - parameter name you want to pass.
{@HeaderId} - value of parameter (VO attribute name)
--Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Need to create OAF new Button Item with Destination URI with dynamic value

    Would like to add a personalization to a OAF page, with adding a new button Item. Behind the button item, one of the properties we would like to set is Destination URI, and we would like to have this with a dynamic value from the Page we are on.
    Let's say we are on the OAF page for customers. One of the fields is Customer Account Number. This is one of the Attributes from the View Object that the page is built on. So we want to take a value from an Attribute, and use this in the Destination URI value. That is what I mean by dynamic. It depends on what record from the database we are looking at on the OAF page.
    In this case it is View Object is 'HzPuiCrUpCustActVO' and the Attribute is 'AccountNumber'
    Does that make sense? can we reference an View Attribute value in the Destination URI? How can this be done?
    Thanks!

    Kristofer,
    This does make it clearer, as far as using the personalization property to reach another OAF page.
    I would like to build a custom page for the destination, but I did not want to necessarily the page to be another OAF/jsp page.
    One thing we might want to do is build an APEX page. so this Destination URI might have to start with something like http://oraserver.mycompany.com:7779/pls/apex/f?p=
    Another option we might want to use is to just have the destination resolve to a custom URL that includes a parameter value like http://mycompany.com/1905 where 1905 is the account number from the Customer Account OAF page.
    Any ideas, or is this even possible?
    Chris

  • How to change the Destination URI value of a item table at run time

    I'd like to change the Destination URI of item of a table region when a column X of my view is not NULL. Where should I set the new Destination URI value for the item table region for specific row? Is in the RowImpl for the view object or in the Controler of the page?
    I'd really appreciate any suggestion.
    Thanks in advance.

    Hi,
    Thanks for the help, but I still dont know where I should to use setAttributeValue(DESTINATION_ATTR,OADataBoundValueViewObject());
    All examples that I saw till now here, suggestes to change something in the page in Controller but based on something entered in the page. In my case is IN to OUT, I will render some item table with a specific value parameter based what is in the database. Being more specific, I have a html table and one column Col1 has a value and it will have a DESTINATION URL if another column Col2 is Null. I believe I would have to check somewhere if the Col2 is null or not and change the DESTINATION URL property.
    Thanks again..

  • Search BP using Marketing Attribute

    Please let me know if there is any way I can use marketing attribute as a standard search item.

    Hi Subhasis,
    Have you found a way to search for BP by marketing segments? I am looking for similar functionality also.
    Thanks!
    SF

  • How to call RFC in Async Mode using TCP/IP RFC Destination ?

    Hi experts,
         Can anybody tell me how to call an Async RFC using TCP/IP RFC Destination ?
    Regards,
    Umesh

    Check the link
    http://help.sap.com/saphelp_nw04/helpdata/en/80/09680289c751429ab3b07ad2a61c10/content.htm
    It says
    <b> For asynchronous calls, no connection to external systems is possible (TCP/IP connections in transaction SM59).</b>
    Regards,
    Abhishek

  • Link Item Style to open a PDF hangs if opened in IE in 30 seconds

    Hi,
    I am using Jdeveloper version 9.0.3.
    I have a page in which, I have an advanced table, in which there is a column, with item style - link.
    On the link item there is a PPR event and it should open a PDF file, residing on the server.
    I am using java code to open the PDF file.
    In Internet Explorer, the link doesnt work, infact the Explorer hangs and the user has to exit the window.
    This doesnt happen in Firefox. However, this is critical as , use of firefox is not allowed, and the users have to ultimately use IE.
    Below is the java code for opening the PDF file from the server:
    public void downloadFileFromServer(OAPageContext pageContext, String file_name_with_path, String file_name_with_ext)
    HttpServletResponse response = (HttpServletResponse) pageContext.getRenderingContext().getServletResponse();
    if (file_name_with_path == null || "".equals(file_name_with_path)){
    throw new OAException("File path is invalid.");
    File fileToDownload = null;
    try{
    fileToDownload = new File(file_name_with_path);
    }catch (Exception e){
    throw new OAException("Invalid File Path or file does not exist.");
    if (!fileToDownload.exists()){
    throw new OAException("File does not exist.");
    if (!fileToDownload.canRead()){
    throw new OAException("Not Able to read the file.");
    String fileType = getMimeType(file_name_with_ext);
    response.setContentType(fileType);
    response.setContentLength((int)fileToDownload.length());
    response.setHeader("Content-Disposition", "attachment; filename=\"" + file_name_with_ext + "\"");
    InputStream in = null;
    ServletOutputStream outs = null;
    try{
    outs = response.getOutputStream();
    in = new BufferedInputStream(new FileInputStream(fileToDownload));
    int ch;
    while ((ch = in.read()) != -1){
    outs.write(ch);
    }catch (IOException e){
    e.printStackTrace();
    }finally{
    try{
    outs.flush();
    outs.close();
    if (in != null){
    in.close();
    }catch (Exception e){
    e.printStackTrace();
    }//end catch
    }//end finally
    }//end method
    public String getMimeType(String s)
    int i = s.lastIndexOf(".");
    if (i > 0 && i < s.length() - 1){
    String s1 = s.substring(i + 1);
    if (s1.equalsIgnoreCase("pdf")){
    return "application/pdf";
    }//end if
    }//end if
    return "application/octet-stream";
    }//end method
    Thanks,
    AJ

    Hi Kristofer,
    We did look at the possibility for using messageDownload bean instead of a link, but we do not want to store the file as a LOB.
    The file needs to be stored in the server location.
    Any clue as to why the file opened in the browser ( on clicking on the link) hangs and this is happening only in IE.
    Thanks,
    AJ

  • Adding a link to another page in View Mode using Destination URI

    Hi All,
    I have the Search items page in iProcurement, and the Supplier Name is a text field in the search results region. Now I want to display the Supplier Name as a link, clicking on which the user should be taken to the corresponding Supplier details page in View Mode.
    Is this something that can be done through personalisation, as in without extending the controller etc. I tried by giving the url of the supplier page in the Destination URI of Supplier Name, and it navigates to the supplier page, but how do I implement the functionality of querying the details of the Supplier in context. That is, what is the url that needs to be used, and what are the parameters that need to be passed etc? What is the approach to implement such a functionality. I have done OAF development, but havent done any personalisation.
    Thanks
    Anish

    Hi,
    I have a custom inventory report where I have a header region with the From Date and To Date column. The user enters these two dates and the data is displayed in the Table region between these two dates. Then in the item column I have a URL link which takes us to the Detail page. I need to pass the item number and the From Date and To Date in that link so the where clause can be set for the detail query. The attribute value for the item passes fine but I do not know how to pass the value for the dates. My URL looks like as below. I have tried different ways as mentioned in metalink or google search but no luck. Tried to capture the value also and it shows as the value as ‘$FromDate’.
    OA.jsp?page=/xxbn/oracle/apps/xxbn/consignment/webui/ConsSaleDetailPG&ItemNumber={@ItemNumber}&FromDate=$FromDate&ToDate=$ToDate&retainAM=Y&addBreadCrumb=Y
    I would appreciate if I can get some light on this.
    Thanks in advance.

  • SOLVED: Unable to set Destination URI to URL stored in a VO attribute

    Hi OAF Gurus,
    I want to set destination URI for a message styled text bean in my custom OAF page, such that on clicking the link a popup window comes up with an external url. This external url is record specific and is stored in a db table. I have access to this url thru a VO attribute on my page.
    If I set destination URI declaratively using a static url, it works fine for me. However when I try to pick up the destination url from VO attribute, fwk is prefixing "http://server:port/" to the url and consequently making it an invalid url.
    Please suggest a way to stop fwk from prefixing "http://server:port/" to the url stored in my VO attribute.
    What works:
    Destination URI:
    javascript:var a = window.open('http://www.google.com/', 'a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no'); a.focus();
    What doesn't work:
    Destination URI:
    javascript:var a = window.open('{@BpelInstanceUrl}', 'a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no'); a.focus();
    VO attribute BpelInstanceUrl has value "http://www.google.com/".
    When I specify the above destination uri using VO attribute 'BpelInstanceUrl', I get the following url on the link:
    javascript:var a = window.open('http%u003a//www.google.com/', 'a','height=500,width=900,status=yes,toolbar=no,menubar=no,location=no'); a.focus();
    I searched the forum, but couldn't find any discussion on setting destination uri to an external url based on the value of a VO attribute.
    Thanks for the help. Waiting for your valuable inputs.

    Shiv,
    I don't think your suggestion will work, because jsp redirect which framework will use internally will take default port number if fully qualified url(like http://www.google.com/') is not used.So, Ritesh will have the same problem as he mentioned.
    Now, Ritesh coming back to your problem, the solution is to attach the fully qualified url in the table component at runtime. This will help you in two forms:
    1)There will be no MAC key validation for your javascript generated url.
    2)Your fully qauilified url will be attached to url property at runtime, so would not face the current problem.
    Hence you need to use bound values api. Here is the sample code:
    OATableBean tableBean =
    (OATableBean)webBean.findChildRecursive("<table item id>");
    OAMessageStyledTextBean m= (OAMessageStyledTextBean)tableBean.findChildRecursive("<message styled text in table item id>");
    OADataBoundValueViewObject tip1 = new OADataBoundValueViewObject(m, "<vo attr name which stores url for each row>");
    m.setAttributeValue(oracle.cabo.ui.UIConstants.DESTINATION_ATTR, tip1);
    I hope i am clear.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Use of Destination URI...

    Hi friends,(Apps R12)
    I'd added a button on a page (/oracle/apps/pa/setup/webui/SetupTabSetupPG) with Personalization.
    I'd like to call a database procedure when I clik on the button, but passing a parameter that would be an attribute of an VO in the page (ProjectBasicInfoVO..ProjectId)
    I think it can be done specifying a Destination URI in the button , but don't know exactly what to put.. and I suppose that to get and pass the parameter
    to the procedure.. it could be done in the processRequest of the Controller page (oracle.apps.pa.setup.webui.TabSetupLayoutCO) but I don't know neither how to
    ereference the button... (as it was create dwith personalization)
    Any example code would be appreciated
    Thanks !
    Regards,
    Jose L.

    You can check by not having the retainAM parameter. But this Destination URL parameter has worked for me in my assignments and that is why I mentioned it on blog.
    Can you try by coding. Instead of having items using Personalization, you create a Submit button using code and then handle the click in the code itself. Something like this.
    In ProcessRequest:
    OAPageButtonBarBean pageButtonBean = (OAPageButtonBarBean) webBean.findChildRecursive("PageButtonRN");
    if(pageButtonBean!=null)
    OASubmitButtonBean subBtnBean = (OASubmitButtonBean)createWebBean(pageContext,OAWebBeanConstants.BUTTON_SUBMIT_BEAN,null,null);
    if(subBtnBean!=null)
    //Set the Properties now
    subBtnBean.setLabel("Bank Additional Information");
    subBtnBean.setText("Additional Information");
    subBtnBean.setFireActionForSubmit("addInfoBank",null,null,true);
    pageButtonBean.addIndexedChild(subBtnBean);
    In ProcessFormRequest:
    //Check if Additional Information button got clicked
    if("addInfoBank".equals(pageContext.getParameter("event")))
    pageContext.putParameter("BankAccountId", vBankAccId);
    pageContext.putParameter("BankBranchId",vBankBrnchId);
    pageContext.setForwardURL("XXWAP_INTBANK_ADD_INFO", // Function Name
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, // Application Menu Name
    null, // HashMap
    true, // Retain the AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO, // No BreadCrumb
    OAException.INFORMATION);
    Again the above snippet is from a working code. You can pick relevant ideas and implement your solution.
    Regards
    Sumit

  • Button Destination URI 255 char limit?

    While entering the "Destination URI" property on a button,
    Jdeveloper is stopping me at character 255.
    Has anyone else run into this and found a solution?
    TIA
    Searched history but did not find anything.
    JDev 10.1.3.3.0.3
    OAExt 10.1.3

    Calling a Reports Server or Bi Publisher requires passing all the parameters, along with
    what printer to print to and all the other stuff. This easily can exceed 255 characters.
    As long as the report I have has only one or two parameters, the approach of using
    Destination URI off a button worked great.
    ( And I'd rather not add redundant VO attributes with cryptic short code names
    to fake my way around this! )
    In any case, IE supports 2048 character long URLs ( being one of the SMALLEST..
    Firefox and others go much bigger ) and the HTTP spec says nothing about any length limit.
    Interestingly, prior postings on the forum indicate that elsewhere people are setting
    URLs that exceed 255 characters ( in their examples/dumps ) and those work just fine,
    on other item types?
    I was hoping to avoid more pp methods to do this since the Destination URL works perfectly
    for the task... until I hit this (highly questionable ) data entry limit.
    Thx.

  • How to set Destination URI of a column in a multi row table

    Hi,
    I need to programmatically set the destinationURI property of a 'messageStyleText' column in a multi-row table.
    I have used the below code in the processRequest of the Controller of the page:
    OAViewObject viewObject = (OAViewObject)am.findViewObject("IntSummBackOrdDetVO");
    String url = (viewObject.getCurrentRow().getAttribute("ErrorCode")).toString();
    url = "/oiphtml/o2c22_"+url+".htm";
    OAStaticStyledTextBean errorlink = (OAStaticStyledTextBean) webBean.findChildRecursive("ErrorCode1");
    errorlink.setDestination(url);
    But this code is not working. Could you please help me in correcting the above code?

    user594528 ,
    What ur trying to do can be conceptually possible through bound values only as there are many rows in table.Read bound values section in dev guide, to understand the fundamentals.
    You can refer to thread to correct ur code:
    Re: Unable to set Destination URI to URL stored in a VO attribute
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to pass _ti value to javascript's window in Destination URI of Button

    How to pass _ti value to javascript's window in personalization's Destination URI of  a Button.
    In Self-Service HR, under my benefit's final confirmation page, I added a new button,
    when clicked would do a javascript alert saying "You have successfully completed your 2008 Benefit Enrollment Process". After clicking ok button, it takes to a printable page.
    Here is my code in the Destination URI field
    javascript:onClick=alert('You have successfully completed your 2008 Benefit Enrollment Process'); window.location='OA.jsp?page=/oracle/apps/ben/selfservice/enrollment/webui/EnrlConfPG&retainAM=Y&OARF=printable';
    The alert works but after clicking ok, I get error.
    Looks like it is expecting ti value in the URL and if I pass ti value like this, it works
    window.location='OA.jsp?page=/oracle/apps/ben/selfservice/enrollment/webui/EnrlConfPG&retainAM=Y&OARF=printable&_ti=800699419'
    But where do I get the real ti value? instead of hard-coded value, as ti is not constant and it changes for each login or session
    ERROR was:
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:597)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:98)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.apps.ben.selfservice.enrollment.webui.ConfirmationCO.processRequest(ConfirmationCO.java:158)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:98)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.NullPointerException
         at oracle.apps.ben.selfservice.enrollment.webui.ConfirmationCO.processRequest(ConfirmationCO.java:158)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
         at oa_html._OA._jspService(_OA.java:88)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:98)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    Please help!
    Thanks

    Burkepm,
    Two things:
    1)Don't use .showModalDialog api of MSDN library, because its only applicable to modal dialog pages in IE.This api won't work on any other browser. Moreover,u will need to add
    < base target="_self " />
    under <head> tag of pop up page. This is required because imodal window api of javascript provided in MSDN would not be able to recognize its parent window with out this.
    So,its not possible to close the pop up window and submit data to the base page form by submitting the page when we close the pop up.
    You can OAF js function for openeing the pop up window.
    2)Secondly, there is way to invoke js pop window function without setting profiles I have mentioned in my blog.This is basically through bound values, for ehich url is genaradted dybnamically, so there is no MAC key url validation.
    Here is the code u need to use this code in process request.:
    import oracle.apps.fnd.framework.webui.beans.nav.OAButtonBean;
    import oracle.apps.fnd.framework.webui.OABoundValueEmbedURL;
    OAButtonBean btn = (OAButtonBean)webBean.findChildRecursive("<button item id>");
    String page= "/xxx/oracle/apps/XXX/abc/webui/xxxPg&retainAM=Y";
    String destURL = APPS_HTML_DIRECTORY + OAWebBeanConstants.APPLICATION_JSP + "?"+ OAWebBeanConstants.JRAD_PAGE_URL_CONSTANT+ "=" + page;
    OABoundValueEmbedURL jsBound = new OABoundValueEmbedURL(btn,"openWindow(self, '", destURL, "' , 'longTipWin', {width:"+900+", height:"+500+"}, true); return false;");
    btn.setAttributeValue(oracle.cabo.ui.UIConstants.ON_CLICK_ATTR, jsBound);
    I hope this helps.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Issues in auto creation of tasks using templates/attributes in FS

    Hi,
    We have a requirement to auto-create one or more tasks when a SR is created in Field Service module. Additionally, task owner should be auto-populated during the task creation (task owner would a CRM group which is dependent on the task type as per company defined business rules). There can be one or more task types associated with a SR type. Tasks within a SR type can or cannot be dependent on one or more tasks within the same SR type e.g. I can have 3 task types A, B and C under a SR type and C is dependent on B, so we set up the dependency as needed.
    We were thinking of following the task template group approach. We created the task templates per SR type and associated the template with the SR type. Issue here is - we cannot assign the task owner value to the task type (I couldn't see a placeholder to define the task owner). Does anyone have pointers on defining the task owner while creating task group templates?
    Another issue is - whenever there is a dependency between tasks, we cannot define the parent task id value. When you navigate to the tasks screen and select the dependent task, you get the error "field must be entered" for parent task id. Any thoughts on defining dependencies with parent task id populated when the tasks are created?
    Second approach we tried is creating SR/Task attribute mapping configuration. Here we can define the task owner as well but the issue is we cannot define the dependencies between the tasks. Also we are getting the error "Attribute CUG_TASK_DEP_ID doesnot exist for item JTFTASK" and tasks are not getting created.
    Any pointers on resolving these issues would be greatly appreciated.
    Thanks
    Shreevatsa

    Hi,
    Today Auto Task creation can be based on the following:
    Task Template Mapping => Based on SR Type, Product Category/Product, Problem Code mapping. For this mapping, Territories need to be setup to determine the Task Owner. If Territories are not setup, the application will not auto create Tasks.
    Task Type Attribute Configuration => Based on SR Type <=> CIC Attributes mapping. In this mapping definition, the Task Owner field is required to be setup. Whenever Tasks are auto created, the Task Owner setup in the definition is used.
    For Task Dependency - what is the requirement? For a SR Type if three Tasks A, B, and C need to be auto created - are you looking for functionality to first create only Task A and when Task A is closed to create only Task B and when Task B is closed to create Task C?
    Thanks,
    Denzil

  • How to pass the session_id in the destination URI?

    Hi,
    How can I pass the database session_id (sid) via the destination URI of my navigation button, which I created via personalizations, on a standard Oracle page? I am currently using: OA.jsp?page=/xxxe/oracle/apps/ar/webui/XXXMyPagePG&retainAM=Y. Is there any standard functionality to do that without changing standard Oracle code?
    Thanks for your help!
    Best regards
    Guy

    There's currently no API for that - both accessing the Audit database or internally accessing the Session ID within InfoView.
    Sincerely,
    Ted Ueda

  • Setting custom table attribute set value in region item table

    Dear all
    I am working on oracle application customization and extension in
    oracle JDeveloper R12. I am finding a difficulty in an query region of
    a OA framework page
    My Entity object is on the table FWK_TBX_ADDRESS table
    and VO objects has the fields or columns
    AddressName, AddreessId, TownC-OrCity
    what I am doing shown in the following steps
    1-I select region using wizard option
    2-select my AM and VO
    3-select table as style
    4-shuttle all attributes associated with VO
    5-in region items table , select the Attribute set field for AddressName attribute and click the serach flashligh icon
    6-After that select the browse button , using the package browser , expand down to oracle > apps > fnd> framwork > toolbox > attributesets, then oK
    7-select the serach control , and then it list all the attributes set related to fwkTbxEmployees table like the following
    /oracle/apps/fnd/framewok/toolbox/attributesset/FwkTbxAddress/AddressName
    Now the problem which I am facing now is that if I have custom table suppose "xxEmployees" and have attributes or column
    for example employeeId, employee_name, email etc. what would I do to search these attributes when I come to step number 6 which
    I mentioned above. from where in which package I can find these attributes to set attributesset value. in above i find these attributes
    in /oracle/apps/fnd/framewok/toolbox/attributesset/FwkTbxAddress/AddressName
    but in my case for attribute lie employeeId or employee_name from where I can get this how can I set the value of attribute set field in regin item
    table in step 5
    Noman

    I dont know what u trying to ask
    My problem is just that I want to set the attribute set value of my attribute employee_name, same is AddressId in fwk_tbx_address
    ame is AddressId in fwk_tbx_address found on
    /oracle/apps/fnd/framewok/toolbox/attributesset/FwkTbxAddress/AddressName
    where can I find my attribute employee_name
    in jdeveloper

Maybe you are looking for

  • Photoshop CC: "Could not complete your request because of a program error." Whenever I file open

    Just started happening spontaneously. Only thing in the error log is this: 2014:01:09 18:13:31 : /Volumes/workarea/PS_14_Mac_Daily_Retail/20130923.r.427/photoshop/main/photoshop/xcode/.. /framework/sources/UEvent.cpp : 582 : REQUIRE failed Can't open

  • Windows CCP Failing to create a package successfully....

    Hi All, I have been trying to create a test package with CCP. I have limited it to include just Acrobat 11 and updates to make the logs easier to follow: OS: Windows 8 64bit 9/10/2013 17:25:42[INFO] AdobePackageBuilder - Build Version - 1.2.0.4 9/10/

  • Make photo grid objects into links?

    I would like to make the photos and captions in the photo grid into links. When I select a photo or a caption in the photo grid, the link inspector is grayed out and I can not click "enable hyperlink". Every thing works fine for images and text not i

  • Rman restore files from diff location

    Hi, In rman backups i have kept 3 location of backup /disk1,/disk2,sbt.now i want to restore the datafile or archive file from only location /disk2 .how can i do that.I dont want to give the backupset name or tag etc etc.Can i point allocate channel

  • Windows won't recognize my iPhone, but recognizes someone else's. What do I do?

    I plugged my iPhone in earlier tonight to sync and backup my phone before I did my upgrade. I had a ton of problems that I never had... was stuck still on step 2 after an hour. I kept getting out of iTunes and retrying, finally got to the last step a