How to generate a URL to specific record in OAF page?

Hi,
I need to generate URL to a specific page with populated record data.
I've tried using FND_RUN_FUNCTION.get_run_function_url, but i don't know if this is a good method for OAF page.
The page is opening but record is not populated.
This package generates URL like /RF.jsp?function_id=?....
The OAF pages have URLs like /OA.jsp?page=...
Is there any way I can generate this URL?

Hi
Use this code to upload the file in the server and there by get the absolete path
public void onActionUpload_File_in_Server(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionUpload_File_in_Server(ServerEvent)
    InputStream text=null;
    int temp=0;
    try
         File file = new File(wdContext.currentContextElement().getFileResource().getResourceName().toString());
         FileOutputStream op = new FileOutputStream(file);
         if(wdContext.currentContextElement().getFileResource()!=null)
              text=wdContext.currentContextElement().getFileResource().read(false);
              while((temp=text.read())!=-1)
                   op.write(temp);                                      
         op.flush();
         op.close();
         path = file.getAbsolutePath();
         wdComponentAPI.getMessageManager().reportSuccess(path);
    catch(Exception e)
         e.printStackTrace();
    //@@end
Regards
Chandran S

Similar Messages

  • How to generate wsdl url in Siebel 8.1

    Dear Gurus,
    Please help, how to generate wsdl url from inbound web services in Siebel 8.1
    Regards,
    Eldin

    Hi Raj,
    I've tried, this url did'nt recognize as a web service.
    For example, in Oracle E-Business Suite ( Integration Repository ) there's a button to generate wsdl url. The wsdl url is http://servername/webservice/pls/test?WSDL.
    So is it possible we generate wsdl url like in E-Business Suite ? Or there's something we need to configure so Siebel wsdl url will recognize as web service in E-Business Suite.
    Thanks for your response.

  • How to generate SEO URLs in ATG 10.0.1..?

    how to generate SEO URLs in ATG.. pls explain how it works..?
    Thanks in advance,
    Vishnu & Nithin Kayithi

    There are different ways of doing SEO and generate crawler friendly URLs. Go through with the following to understand SEO options provided in ATG and proceed with whichever is matching with your requirements:
    http://docs.oracle.com/cd/E35318_02/Platform.10-1-1/ATGPlatformProgGuide/html/s1501searchengineoptimization01.html

  • How do I raise a Business Event from a OAF page?

    Hello,
    I am developing a custom system using the OAF and need to raise a custom Business Event, which in turn will have a subscription to launch a workflow process.
    How do I raise a Business Event from a OAF page ?
    Can I use the classes in oracle.apps.fnd.wf.bes.* ?
    Any help would be highly appreciated.
    Best Regards,
    Andries Hanekom

    Hi,
    When I try to compile just the basic part of my class I receive the following error:
    Error(21,36): cannot access class javax.jms.TextMessage; file javax\jms\TextMessage.class not found
    Class Code:
    import oracle.apps.fnd.wf.bes.BusinessEvent;
    public class VscmsEvents
    public VscmsEvents()
    public static void main(String[] args)
    VscmsEvents vscmsEvents = new VscmsEvents();
    //Initialize BusinessEvent, Payload objects
    public void initEvent(String eventName, String eventKey, String eventData)
    //Create BusinessEvent Object
    BusinessEvent mEvent = new BusinessEvent(eventName, eventKey);
    Furthermore, when using the BusinessEvent object to raise the event I will need to provide the raise method with a java.sql.Connection parameter. In the context of a OAF page how will I perform this?
    Thanks for the help.
    Best Regards,
    Andries Hanekom

  • How to drill or navigate to specific records from a pie chart

    Hi,
    I have created a report that has a Pie chart view in it. What i want is that when i click on the chart it should navigate me to the specific records. E.g. I have a chart that shows %age of satisfied customers and %age of Not Satisfied Customers, what we are looking for is that when I click on satisfied customers's area, it should take me the satisfied customers records ony and same goes for Not Satisfied Customers.
    Can anyone help ?? I have tried the drilling option under charts properties, but that doesnt seem to be working.
    Thanks
    Ahmed

    Hi Martin,
    I haven't tried it, but can't you use a filter? Drag out a line from the data source and choose "filter" or drag a filter from the compose panel to the story board. Place the filter between data source and chart.
    Change the filter properties so that the specific value is filteres.
    Best Regards, Benni

  • How to track the URL that comes from a referred page using XSQL Custom Handler

    Hi,
    I have a cold fusion page(say cf.cfm) that sent a request to xsql page(say test.xsql) and then xsql page displays results. I want to capure the URL of cf.cfm page and then after checking its host name and path name for correctness then want to display the test.xsql results.
    Please let me know how can I capture URL of the refered page(cf.cfm) in the Custom Handler and then I want to extract host-name and path-name out of that url and on the basis of their values I want to display the result of XSQL page(test.xsql).
    Regards
    a2012

    req.getHeader("Referer") will return the referring url

  • How do you link to a specific location in another page?

    I'm working in Dreamweaver CS4.  I'm trying to create a link to go to a specific location on another page in my website.  Any advice?

    All the information I have seen about Named Anchors deals with information that is contained on the same page.  I am looking to go to a specific location on a different page.  Is this possible using Named Anchors?  If so, how?
    Sure it is.
    Place a named anchor on your destination page near the bottom of your page for this test.  And name your anchor  1.
    On the parent page, your link will look like this:
    <a href="some_page.html#1">this is a link to named  anchor 1</a>
    Save both pages and test in browser.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • How to edit the url of sites in new tab page of firefox

    If we open newtab in firefox 9 tabs are visible. How to edit the url address of the previously pinned tab.

    I found solution for this problem.
    1. Type ''about:config'' in firefox url and click enter.
    2. An alert will be shown on click on "I'll be careful, I promise!" button.
    3. Type ''browser.newtabpage.pinned'' in textbox and click enter.
    4. Right click and select '''Modify''' option to edit the url address.
    ''I want to change this url address''
    [{"url":"http://localhost:8080/Admin/login","title":null},]
    After change the url address in firefox is
    [{"url":"http://localhost:8080/Admin","title":"Admin"},]

  • How to call a URL in jsp without direct the page to the URL

    Hi,
    I have a jsp page, which when user come in to the page, the page will call a URL without direct the current jap page the URL. This URL will only help me to do on something in the backend. Anyone know any method that i can use to call the URL?
    Thanks a lot

    Doeas AJAX rings a bell? ;-)
    https://blueprints.dev.java.net/bpcatalog/ee5/ajax/usingAJAXwithoutJSF.html

  • How to display the username and current date in OAF  page Footer region

    Hi,
    I need to display the username and Current-Date in footer region.If anybody knows the procedure then please share with me.
    Thanks
    Divya Agarwal

    Hi,
    Read this Thread:--
    You have to capture the UserName and Date in the Process Request Method of page Controller and invoke a method which will subsequently get and set the value in some attribute.
    String userName = pageContext.getUserName();
    How to populate Current Date and Time in OAF page through CO
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to render direction on elocation Map in my OAF page?

    hi,
    I have the coordinates of start and destination points in my OAF page. How do I render the directions like what I see in http://elocation.oracle.com/elocation/directions.jsp.
    Is there a service elocation provides where I can pass the values and expect to render the elocation page on the region of my page. Like calling the elocation service and render it on the region of my page, where I can also zoom in/ zoom out to see the directions in details.
    If not, can you please suggest any documents whihc has the APIs I need to call to implement direction on elocation map which I can fit into my page.
    Thank you,
    Prashanth
    Edited by: Prashanth Pillai on Oct 23, 2009 1:49 AM

    You need to send an XML routing request to the elocation server, extract the route geometry from the response, and display the route geometry as an MVFOI object on the map.

  • How to Find/ScrollTo/GoTo a Specific Record in an MS Access Report?

    I have a database that contains software specifications from multiple documents.  The front end database has forms that allow users to associate higher level specifications (e.g. requirements or functional specs) with lower level specifications (functional
    specs or design specs).  The front end also has a comprehensive subreport embedded on a page of a form's tab control that shows the entire list of specification associations.  When users click on a specification in the report, it opens the appropriate
    form for editing the associations.  When the user closes the association form, the report is requeried to show the new information.  The problem is that the requery method sets the report back to the top instead of the page/record that the user clicked
    on.  Is there any way to find the original scroll position or record before click and then return the report back to that position/record?

    Yes, the Report object doesn't have a Refresh method.
    Not sure what you mean by this.
    If I open a report object in design view and create a code block I can use the DoCmd. then the letter R, the resulting list includes "RefreshRecord". It may be different when you add a Report to the Form the way you describe. I would
    not do that but rather would use a sub Form. If you have a query that you use as for the Reports Record Source, you could try running the Requery just on that rather than the Form.
    If not then maybe try using the Repaint Object.
    Just takes a click to give thanks for a helpful post or answer.
    Please vote “Helpful” or Mark as “Answer” as appropriate.
    Chris Ward
    Microsoft Community Contributor 2012

  • A continuous subform, how do i refer to a specific record

    Hi,
    I have a form which displays one client at a time.  Inside that i have a subform that shows every phone call ever logged for that client along with the date and time the call was made, sorted with the oldest at the top.
    Assume main form called fClient, subform is called sCalls, date and time field in sCalls is called sTime.
    From within the fClient's VBA module, how can i refer to:
    1: the date/time of the last call to that client
    2: the date/time of the call previous to the last call
    Thanks, Gordon

    You can do it very easily with a query, e.g.
    SELECT TOP 2 CallDateTime
    FROM Calls
    WHERE ClientID = Forms!fClient!ClientID
    ORDER BY CallDateTime DESC;
    In code you can establish a recordset based on the above, though be sure to concatenate the ClientID value into the string expression rather than referencing the control as a parameter.  You can then return the values from the two rows in the recordset.
    Ken Sheridan, Stafford, England

  • How to random write in to specific record in datalog file

    lab view

    patibandla wrote:
    please go through Examples avilabe in the Help Menu.
    Help<< Find Examples..
    Forums is for new issues not for learing..
    see the attachment ex:
    Shame on you.  This forum is dedicated to learning.  What we don't (normally) do is provide ready-made code for people so people wander away from this forum with no better understanding of LabVIEW than when they came.
    Besides, probably the user was asking how to do a random access write to a datalog file.  Which I have no idea why you would do that - except to fudge data - which defeats the purpose of a log file - and could get you into legal trouble if the data is guaranteed to be untampered with.

  • URL, title etc of webpages do not print on pages printed off internet despite selecting these in header/footers in page set up. How do I get URL etc to print on the page?

    No matter how I try I cannot get the URL of a webpage or other options such as page title, date etc to print if I print up a webpage. I have done the necessary selections in file>page setup>headers & footers choosing the options from the drop downs. I have even tried making top or bottom margin bigger thinking there was not space on the page. This is still the case if I try to print to different printers.
    Is there something I am missing that needs to be done via some other setting or menu item?

    Thanks, this was a good idea to try, however it doesn't seem to have helped.
    I reset:
    print.print_printer
    Also tried resetting:
    print.printer_Lexmark_6500_Series.print_footercenter
    print.printer_Lexmark_6500_Series.print_footerleft
    print.printer_Lexmark_6500_Series.print_footerright
    print.printer_Lexmark_6500_Series.print_headercenter;
    print.printer_Lexmark_6500_Series.print_headerleft
    print.printer_Lexmark_6500_Series.print_headerright
    Closed and restarted the browser.
    I then selected URL in footer right in page setup but still it refuses to show in print preview or print on the page in hard print. It is most peculiar. Any other ideas? Thanks.

Maybe you are looking for

  • IChat and Final Cut Pro

    So I have about an eight year-old Sony TRV 330 camcorder and am desperate to transfer old tapes to iMac - got rid of old Windows Vista to get an iMac that'd make this possible. Hooked it up dozens of times (firewire/IEEE 1394, camera) opened iMovie 0

  • After downloading itunes 10, itunes wont open

    After downloading itunes 10 for my computer, itunes wont open even when i plug in my ipod.

  • Ipod nano volume want work.

    I have a ipod nano 6th generation, the down volume doesn't work. the sound goes up until it gets to it max.

  • Problem in sun web server : user-mapped section open

    Hi Friends, I am using sun web server7.0. When i am trying to update the struts-config.xml file through my application. I got the following error message. The Struts-ConfigXML couldn't be Modified Reason: C:\Program Files\SunWebServer7\https-java1.to

  • Why are all my plugins not starting when I start firefox normally?

    When I start firefox, my plugins won't work. It used to work. When I open the add-ons window, it shows all the add-ons correctly but when I click options, it shows a very small window and no options.