Get current page url

I need to grab the current page url. What is the pl/sql api to do this?

You find it in the page_url field of the portlet_runtime record in the wwpro_api_provider package.

Similar Messages

  • How to get the current page URL

    HI All
    I am working in oracle apps 4.0
    I have one page called history in that i have one page item called Application url. My application id is 122 but its a copy of application 106
    How to get the current page url for the page item.
    Any steps should be help ful
    Thanks & Regards
    Srikkanth.M

    I'm not 100% clear on what the requirement is from the description, however it does sound like you are making things unnecessarily complicated.
    If you want permanent/ID-independent links then use application and page aliases.
    so here we used to display the url like this: <tt>{noformat}http://81.131.254.171:8080/apex/f?p=122{noformat}</tt>
    Do you mean that the URL is displayed like that? If so that doesn't seem particularly helpful. How is anyone supposed to know what it is?
    There are many ways to provide links in APEX&mdash;including lists and nav bars.
    Where the link is to another resource located on the same server (such as another page in the same app, or a different app in the workspace), relative addressing can be used, making it unecessary to include scheme, domain and port information in the URL. For example, if the page to be linked to has a page alias <tt>ABOUT</tt> in an application with alias <tt>UNITY</tt>, and the apps share an authentication scheme/cookie to permit shared sessions, then the link URL is simply
    f?p=UNITY:ABOUT:&APP_SESSION.

  • Function for getting full current page url

    Hello Everyone!
    Is there a funtion to get your full current page url? With
    the
    http:// and possible url variables?
    Thank you!

    > <cfoutput>#"
    http://" & CGI.HTTP_HOST &
    CGI.SCRIPT_NAME &
    IIf(len(trim(CGI.QUERY_STRING)),DE('?'),DE('')) &
    CGI.QUERY_STRING#</cfoutput>
    Unless it's HTTPS, or running on a port other than 80... ;-)
    I don't have access to an HTTPS-running server @ present,
    otherwise I'd
    provide a more helpful answer. However there are two
    additional CGI
    variables which get set to (something) if the request was
    made via HTTPS.
    To deal with the port, there is CGI.SERVER_PORT. If it's
    other than 80 (or
    443 if HTTPS), the one should include a colon and the port
    number after the
    HTTP_HOST value.
    Adam

  • Get current HTML URL into flash with LoadVars and ColdFusion

    I need to get the current page url and pass it into flash.
    I'm also using ColdFusion. Is there an easy solution?

    I gave up on bringing in the URL and parse it into a string,
    there is too much I don't understand. I put in two commands in the
    HTML where the Flash movie is sitting:
    1. <param name="FlashVars" value="airport=sbn"/>
    2. and in <embed src I put in, Flashvars="airport=sbn"
    "airport" is the variable in Flash (it is called as
    "_level0.airport" in the Flash file) and "sbn" is the variable
    definition for 12 of the files. I will just find "sbn" and replace
    it with the new airport name in the next set. It's not very slick,
    but it's better than having to create a new navigation for every
    airport. Thanks for the help.

  • Get current page title sandbox solution

    Hi
    What is the best way to get current page title in sandbox visual web part code behind?
    I observed SPContext.Current.Item is not defined so I cannot use SPContext.Current.Item["Title"].
    I get title and sate creation page...
    Thanks

    Hi,
    I suggest you follow this blog to build a new sandboxed solution for a test to see if it will work in your environment:
    http://social.technet.microsoft.com/Forums/en-US/988c573f-1caa-42ea-b55a-740627bc351f/get-current-page-title-sandbox-solution?forum=sharepointdevelopm
    Feel free to reply with the test result.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Extract current page url without host

    Anybody aware of a {tag_ or {module- that returns the current page url without host, i.e. on page 'http://mysite.com/sub/page1.html' we need to extract the page url 'page1.html'?
    Thanks

    I think I missed it the first time, but I found it, thanks (http://forums.adobe.com/thread/1032246?tstart=0)

  • Get current page details from within dynamic page

    Is there any API or any other way of getting the current page id that the dynamic page portlet is being called from?
    Thanks in advance.

    I've tried the following:
    theLink varchar2(1000) := 'http://'||owa_util.get_cgi_env('HTTP_HOST')||owa_util.get_cgi_env('SCRIPT_NAME')||owa_util.get_cgi_env('PATH_INFO')||'?'||OWA_UTIL.GET_CGI_ENV('QUERY_STRING');
    But that gets me the URL of the dynamic page portlet not the page the portlet is on?

  • To get Current Page No. at Report 6i Runtime

    Hi to everybody,
    I wish to know how can i get the current pageno at runtime in report 6i ,
    i want to display data at end page of the report on a condition that it is the last page of the report. i can get the last page but not the current page no at runtime.

    You should probably ask this in the Reports forum at Reports

  • How to get Current Page(region)  Name/ID   in OA 11i

    We need to get the name or id of the current page, and based on the pagename, we retrieve configuration to launch specific web service.
    pageContext.getPageLayoutBean().getPageFunctionName() is no sufficient. Since one page function sometimes contain multiple pages (eg, each individual page maps to one train node, all the train nods maps to one page function).
    are there OA apis that I can use to get the Current Page name in controller?
    I tried pageContext.getParameter("CurrrentPage") , it works great for iExpense application. However, in iRrecuiment, the parameter "CurrentPage" was not set at all.
    Please advise.

    First let me explain what I want to achieve:
    I am writing one region (choice list displays the webservices based on the container region) along with the controller, and that region will be embed inside any OA application pages via OA personalization. On the runtime, I need to detect the current page (container region) name. Then, based on the configuration stored in my table, I need to query out the web services endpoint to call.
    Now let me answer your question:
    For example, OIEMAINPAGE.xml (OIEMainPageContainer) contains OIEReview, OIEDetail, OIEGeneral, etc, each inner region will be rendered as a page when you click the train node or link of other page. (from end user perspective)
    If I call pageContext.getPageLayoutBean().getPageFunctionName() on those inner regions, it will return OIEMAINPAGE, so I can not figure out which region are rendered (displayed) on runtime. (My region are embed inside OIEMAINPAGE pagelayout region )
    If I call pageContext.getParameter("CurrrentPage"), it will return (OIERview, OIEDetail etc), which are exactly what I want.
    However, I have to make sure my code works for other OA application, and I already noticed that some application does not set parameter CurrentPage, instead they may set parameter Page. So, I want to know if there is API provided by OA or fnd team to return current container region (page), very similar to Form Block name.
    In form, One Form function could have multiple Blocks, and they are not displayed at same time.
    In OA, one function could have multiple inner container region, and they are not displayed at same time.
    In form, One Form function could have mutlple Blocks, and they are not displayed at same time.
    In OA, one funciton could have mulple container region, and they are not displayed at same time.

  • Get current page or page of selected item

    Hello,
    I' d like get the current page in Indesign or (if this is not possible) the page of a selected object.
    How could I implement this?
    var page = app.selection[0].page;
    does not work.
    Thanks and kind regards,
    mannyk

    Another way getting that done is based upon what is your current
    selection.
                    var myPg=getPage(app.selection[0]);
                    alert (myPg.name);
    function getPage(theObj)
    if (theObj.constructor.name == "Page") return theObj;
    if (theObj.constructor.name == "Character" || theObj.constructor.name ==
    "Paragraph")
    return getPage(theObj.parentTextFrames[0]);
    if (theObj.constructor.name == "Application")
    // Frame is on an unexpected place...
    alert ("Can't able to find the page");
    exit(0);
    return getPage(theObj.parent);

  • IS-U print workbench - User exit - to get current page number

    Hi,
    I have a doubt in IS-U print workbench where in I need to get the current page number which is being processed inside the user exit of the application form.
    I have a user exit called Z_EXIT_150 and here I have a subroutine which is inside the LOOP DOC_ITEM …ENDLOOP.
    Inside the subroutine, I need to get the current script page number.
    There is an option of getting the current page as &PAGE& inside the Script but I need to know the page number inside the exit.
    Do you have any idea of getting the current page number?
    Thanks and Regards,
    Sakthi.

    Hi Sakthi,
    I have also had this problem while working in IS-U Print Workbench but was also unable to solve.  I tried looking into the output_text that is called when reaching an object that references SAPSCRIPT-FORMPAGES but I too could not find a way to save PAGE to a variable for later use.
    The only idea I can think of, although I have not tried, would be to place some sort of counter variable in the BUILD_DOCUMENTS and increment the counter each time there is a successful printout of a header logo or some other object that you expect to see printed on each new page - that way maybe you can determine later in the exit processing what page # you are currently in. 
    I hope this has helped some.  I would be really interested to hear if someone else has a solution of how to access items in the SAPSCRIPT structure from outside of the SAPscript code.
    Regards,
    Geoff

  • How do I open a new window (cmd + N) on the current page (url) NOT my homepage?

    Before I updated to firefox 28, I was able to hit cmd + N and it would open a new window with the exact same webpage I was on. Now it opens a new window with my homepage. I'm assuming I had an add-on or extension, but I am desperate to be able to do this again. Ideas?

    This is an oversight by the developers of the latest FireFox revision: a great shame, as the overall feel of the browser has patently been improved.
    Xabolcs has come up with a nice fudging idea; if it were to work; but sadly it doesn't for me....
    As mentioned by MGprof, the latest version of FireFox (May'14) now opens one's "homepage" instead of a new blank window.
    As my "homepage" is almost a dozen tabs; this is worse than useless. It's like starting FireFox again; and then having to close a whole string of unwanted tabs!
    To compound my frustration, the "move to a new window" option disappeared on another recent FireFox "upgrade"; but I managed to get round that by copying an url from a tab, then opening a new blank window, to paste the url into.
    So, is there any possible way to open a new window in this latest version of FireFox?
    I just want to be able to open a new FireFox window; and I'd be happy with it being either blank, or duplicating the url of a currently-showing tab.
    This would allow view of one trimmed-size webpage in front of another one, showing in a selected tab in my normal-use multi-tab window: useful when comparing complex images, for example.
    I have just installed the above-recommended "duplicate-2-window"; but can't make it work for me.
    I've assumed "no-restart-necessary" claim is correct; but using cntrl+N, I now get a new blank TAB!
    I'll try rebooting next, and post here again if that improves the situation; but don't hold your breath!
    Meanwhile, if the developers are watching out for feedback..................................... please sort this, by putting back the "open a new window" option: I do NOT want to have to use Gugl-Krohm!

  • Get Current page number of PDF file

    Hi,,
    I am using acrobat plugin(SDK) in VB.Net while am nevigating in the
    PDF file i want get the current viewing page number of that
    PDF file and Display in Lable/Text....
    In abouve screenshot am marked the SDK display page number that i want read by VB.NET and display in my application..

    ..... perhabs in connection with this;
    http://forums.adobe.com/message/4587057#4587057
    However, full Adobe Acrobat is needed for both (not Reader only).
    HTH, Reinhard

  • Firefox not displaying current page URL in address book.

    Firefox is now showing the URL data for the most recently opened tab in every address bar rather than the actual data for the page opened within that tab. For example, tab 1 is opened to wsj.com and tab two is the opened for foxnews.com, suddenly the address bar for tab 1 is now showing foxnews.com in the address bar AND it is now impossible to go 'back' because the back button is greyed out. Additionally, if a link is clicked from within the current tab, the URL in the address bar does not change but remains 'fixed' on the address opened in the most recently opened tab.
    == This happened ==
    Every time Firefox opened
    == 20 June 2010

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Getting current portal url and port no

    Dear all,
    Please let me know how to get the current portal hostname and port no .  We are  accessing the port thru <b>virtual hostname</b> and not by physical server name. We are using EP 7.0 SP10 . I need this  virtual hostname and port no to build the url to access the images stored in server from Web Dynpro. I have created http alias for the images folder in the server. I need to build the url like  <http>://<hostname>:<port>/<image alias name>/***.jpg  to access the images from server.
    Pls also share any other suggestions to access the images from the sever thru web dynpro
    Thanks in Advance.
    Regards
    Vasudevan

    Hi friends.
    I have used the last post, but it is not working.
    Mat be the API had changed.
    What class or interface could give me this data in web dynpro component?
    Too, I'm using the SAP NetWeaver Developer Studio
    Version: 2.0.16
    Build id: 200602130353
    Thank you.
    Manuel Loayza
    Living La Vida JAVA
    Edited by: Manuel  Loayza Gahona on Jul 23, 2008 6:54 PM

Maybe you are looking for