Get the Pageid or URL programmatically

Hello,
How can I get the ID of the page or the current URL/Page programmatically in PL/SQL ?
I'm using a dynamic page within a Portal Page and I would like to know the pageid (of the portal page) or current URL.
Which Database Package/view can I use to obtain this information.
Thanks,
Bram

Bram,
see also Metalink (http://metalink.oracle.com) for this:
DocID: 115890.1
select id, name
from wwpob_page$
Hope this helps,
Kind regards,
Frank van der Borden
Oracle Support Services Netherlands
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by B. Voogel ([email protected]):
Hello,
How can I get the ID of the page or the current URL/Page programmatically in PL/SQL ?
I'm using a dynamic page within a Portal Page and I would like to know the pageid (of the portal page) or current URL.
Which Database Package/view can I use to obtain this information.
Thanks,
Bram <HR></BLOCKQUOTE>
null

Similar Messages

  • How can I get the Lync Meeting URL programmatically in C#?

    Currently I am running an ASP.NET web application and my web page needs to provide a button to get the Lync Meeting URL just like the Outlook does:
    Please see the screenshot here: Lync
    Meeting Address in Outlook
    The behavior of this button is when it is clicked, the Lync Meeting URL is retrieved (maybe from the Exchange server) and is shown on a asp:Label control on the web page.
    I googled but I have been told that there are three SDKs can be considered for this scenario:
    Lync SDK - seems the Lync client must be running while the SDK is in use
    Microsoft Unified Communications Managed API (UCMA)
    Microsoft Exchange Web Services (EWS)
    I am really confused on these three SDKs, and don't know how to achieve my goal by utilizing these SDKs, could someone please help me? It would be much appreciate if you can post some sample code here.

    Hi,
    You'll receive a better response posting this thread in the Lync Development forums here;
    https://social.msdn.microsoft.com/Forums/office/en-US/home?category=lync
    The majority of readers here typically are end users, administrators, consultants, architects, or enthusiasts.
    Kind regards
    Ben
    Note: If you find a post informative, please mark it so using the arrow to the left. If it answers a question you've asked, please mark the thread as answered to aid others when they're looking for solutions to similar problems or queries.
    Lync | Skype | Blog: Gecko-Studio

  • Problem in getting the image through URL

    hi all,
    I facing the problem,Inwhich i am unable find the solution...I am using the following code to display the image
    public void doGet(HttpServletRequest request,HttpServletResponse response)
                        throws IOException, ServletException {
                   int data=0;
                   response.setContentType("image/png");
                   ServletOutputStream out = response.getOutputStream();
                   String file = request.getContextPath()+imageNames[0];
                   //String file = "C:/Program Files/Apache Group/Tomcat 4.1/webapps/ImageComm/WEB-INF/images"+imageNames[index];
                   BufferedInputStream in = new BufferedInputStream(new FileInputStream(file));
                   System.out.println("the size of the inputStream is..."+in.available());
                   System.out.println("the context path is..."+request.getContextPath());          
                   while ((data = in.read()) != -1) {
                   out.write(data);
    with the above i am not getting any error at the compile time but it was giving exception like FileNotFoundException.
    but the same thing(URL address) when i am copying on the browser it was displayig the image.
    (what might be the reason)
    one more thing when i commented on the url address and try to use the actual realpath address it was displaying the image with out any problem
    can anybody give me the solution like where to keep my images by which i can able to get the images through url address
    thanks in advance
    lakshman

    hi all,
    I am getting the image from the server.but the problem is i am getting the Exception as ArrayOutOfBound exception.
    It was displaying the Image for the first time.and when ever it was going for the second time in to the paint method it was displaying the IOException in reading the stream from the connection.
    can anybody give me the solution in rectifying that exception.
    thanks in advance
    lakshman

  • 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.

  • Why am I getting the flag Invalid URL for web content overlay when making scrolling panel in Indesig

    Why am I getting the flag 'Invalid URL for web content overlay" when making scrolling panel in Indesign? Iam making additions to existing articles but the problem is new. The articles were originally made using CS and now I am on CC, which I have just uninstalled and re installed, no difference, can anyone help please? Steve

    Hi Bob, thankyou very much for coming back on this. The flag is coming up towards the end of the preview process on desk top. I have made dozens if not hundreds on my two published apps on the app store, but have not done an update for nearly a year, in which time I have needed a refresher, and as usual went to Lynda. In this case I have followed to the letter your DPS course, which is great, and I found the process of making the scrolling panels somewhat easier than when I started 2-3years ago. Initially I was mystified that the flag talked about url and web content, but just put it down to something I had missed in recent improvements in CC.
    I tried over and over, but always got the same result. I thought at one point it might be because the content of my slide was copy and photo, so for a test I deleted the photo. Same result, and many of my existing slides are copy and picture.
    I also uninstalled Indesign CC and reinstalled in case of corrupted content, I also copied to IDML and relaunch, same problem. I am sure I have made the scrolling content as instructed, The one thing I havn't done is trash my preferences, if you think that would be a good Idea could you please direct me to some content at Lynda on how to do it in CC. Many thanks, Steve

  • How to get the filename from URL

    Hi,
    I want get the file name from the url while downloading a file. here is my case follows:
    I have url like "http://www.myhost.com/dowloadFile.do?id=345546" . this will download "test.zip"; file from the browser.
    I want download the file from that url and save that as "test.zip";, how can we get the file name "test.zip"; from java. I am using ConnectionURL to download the file.
    waiting for the earliest responses.
    -Bhaskar

    Specify it in the content-disposition header.
    To get it to work in a certain webbrowser, you need to supply it as part of the URL either.
    Also see this example: [http://balusc.blogspot.com/2007/07/fileservlet.html].

  • When trying to play videos I get the message "requested URL is not supported on this network" how do I fix this?

    I receive the error "requested URL is not supported on this network" when trying to play videos on my iPhone. Can you please advise how to fix this problem?

    Hi,
    You will need to re-instal iCal as an optional install from your OSX installer DVDs. Then run the Mac OS X 10.5.8 Combo Update.
    Best wishes

  • Getting the parameters in url using cfgrid to cfc....

    please help!!!
    passing parameters to cfc using the cfgrid bind...
    im using the cfc bind if u hard coded the query in the cfc its works but if u need to pass a parameters in cfc bind its not working...
    for example...
    my url with parameter is http://localhost/index.cfm?empid=123&start_date=2009/05/01
    <cfform>       
                <cfajaxproxy bind="javascript:todetail({maingrid.id@change},{maingrid.firstname@none},{maing rid.lastname@none})" />
                <cfgrid format="html"
                    name="maingrid"
                    bind="cfc:#request.cfcpath#users.getGridas({cfgridpage},{cfgridpagesize},{cfgri dsortcolumn},{cfgridsortdirection})"
                    preservepageonsort="true"
                    appendkey="no"           
                    selectonload="false"
                    width="750"                           
                    style="clear:both;" colheaderalign="center"
                    >
                    <cfgridcolumn name="id" display="no" />
                    <cfgridcolumn name="datatime" header="DATE" width="100"/>               
                </cfgrid>
            </cfform>
    my query in cfc file:
    select * from hrd_emp
    WHERE 0=0
                <cfif arguments.id NEQ "">AND (id='#arguments.id#')</cfif>
                <cfif arguments.whereClause NEQ "">AND (#preserveSingleQuotes(arguments.whereClause)#)</cfif>
                AND (EmpNo = '#######')   =====> i need to put the empid=123 from the url  http://localhost/index.cfm?empid=123&start_date=2009/05/01
    PLEASE HELP!!!

    Pam, here's how I solved this one. Note the order of the bindings and the order of the bindings in the CFC must be the same as well. Hopefully this helps:
    <!--- create cfgrid with results from url.CFGRIDKEY variable --->
    <cfform name="getUsers">
           <cfgrid format="html" name="displayUsersActive" autowidth="yes" selectmode="row" striperows="yes" pagesize="13" bind="cfc:getUsers.SPActiveUsers({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgrid sortdirection},'#url.CFGRIDKEY#')" width="700" height="360">
                <cfgridcolumn name="intfkclassid" display="no">
                <cfgridcolumn name="txtLName" header="Last Name" headerbold="yes" width="20">
                <cfgridcolumn name="txtFName" header="First Name" headerbold="yes">
                <cfgridcolumn name="startdate" header="Start Date" width="30" headerbold="yes">
                <cfgridcolumn name="enddate" header="End Date" headerbold="yes">
                <cfgridcolumn name="classno" header="Class No" headerbold="yes" hrefkey="intfkclassid" href="allEnrolled.cfm" >
            </cfgrid>
        </cfform>
    <!--- getUsers.cfc ----------->
    <cfcomponent>
        <!--- METHOD: List Active users method --->
        <CFFUNCTION NAME="SPActiveUsers" access="remote" RETURNTYPE="struct">
            <cfargument name="gridpage" type="numeric" required="true" />
            <cfargument name="gridpagesize" type="numeric" required="true" />
            <cfargument name="gridsortcolumn" type="string" required="true" />
            <cfargument name="gridsortdirection" type="string" required="true" />
            <cfargument name="cfgridkey" required="false" type="string" default=""/>
         <cfif arguments.gridsortcolumn eq "">
                <cfset arguments.gridsortcolumn = "txtLName" />
                <cfset arguments.gridsortdirection = "asc" />
            </cfif>
             <!--- get user's info --->
                 <cfquery datasource="#application.dsn#" name="getUsers">
                        select a.intuserid,
                                a.txtFname,
                                a.txtLname,
                                b.intfkclassid,
                                c.intclassid,
                                convert(varchar,c.dtstartdate,106) as startdate,
                                convert(varchar,c.dtenddate,106) as enddate,
                                right('00' + convert(varchar,c.intclassyr),2) + '-' + right('00' + convert(varchar,c.intclassno),2) as classno,
                                c.intclassNo,
                                c.intclassyr
                        from tblusers a, tblenrollment b, tblclasses c
                        where a.intuserid = b.intfkuserid and
                                b.intfkclassid = c.intclassid
                                <cfif arguments.cfgridkey NEQ "" and isnumeric(arguments.cfgridkey)>
            and c.intclassid = #arguments.cfgridkey#
                                <cfelseif arguments.cfgridkey NEQ "" and arguments.cfgridkey EQ "active">
                                and c.blnIsActive = 1
                                <cfelseif arguments.cfgridkey NEQ "" and arguments.cfgridkey EQ "inactive">
                                and c.blnIsActive = 0
                                <cfelse>
                                and 1 = 1
                                </cfif>
                        order by #arguments.gridsortcolumn# #arguments.gridsortdirection#
                        </cfquery>
              <CFRETURN queryconvertforgrid(getUsers, gridpage, gridpagesize)>
        </CFFUNCTION>
    </cfcomponent>

  • How to get the current web url in __redirect in custom new form?

    I have created one custom new form of a list in which I want to redirect the user to other page after saving item.
    I have placed <input> button to save the item and set the
    __redirect attribute to my custom page in Pages library. My site url is like,
    <sitecollection>/Pages/Page.aspx for e.x., http://xxx/sites/web/Pages/Page.aspx.
    My HTML code in CustomNewForm.aspx is:
    <input type="button"
    value="Save"
    onclick="javascript: {ddwrt:GenFireServerEvent('__commit;__redirect={/Pages/Test.aspx}')}" />
    But when press save button it redirects me to http://xxx/Pages/Test.aspx rather than
    http://<sitecollection/site/web/Pages/Test.aspx
    What should I do?

    Hi,
    According to your post, my understanding is that you want to redirect to a customized page in the specific "web" site when you click a save button in you customized new form. 
    I recommend that you can use the relative URL of the customized page in this site named "web" like “/site/web/Pages/Test.aspx” to implement it.
    In my environment, I do this test and the result is that it works well.
    Best Regards,
    Yumi Fu

  • How to get the BPEL WSDL url?

    i'm trying to generate a Stub/Skeleton with JDev to invoke a BPEL Proccess from a Java client and i don´t know which is the BPEL Process WSDL
    Thanks
    Germán

    Here is the process to get access to the WSDL of a BPEL process.
    Step1: deploy the BPEL process to the BPEL server using either obant script from command line or build option in the BPEL console.
    Step2: go to the BPEL console (http://[your_hostname]:9700 and login.
    Step3: in the dashboard page, you should see your BPEL process in the list of processes. Click on it.
    Step4: click on the WSDL sub tab and you will see the link to the WSDL of that BPEL process. You should be able at that point to consume that WSDL in your favorite web services toolkit and invoke it.
    Important Note: If you want to have a simple Java API on the generated Java stub, you should create BPEL processes that have a wrapped message style, otherwise the signature of the Java stub is Element and you have to build the element on our own.
    I hope this helps. We will have more examples on how to invoke a BPEL process from the JDev on the OTN website shortly.
    Edwin

  • On all https sites I get 'the connection to -url- was interupted while the page was loading.

    This occurs on my mac and on almost all websites using https. I've tried clearing the cache and other tips in the 'Errors loading secure sites' help topic.
    I could not even post the question from my mac because the support page uses a secure site, so this is posted from a pc.

    That is a message coming from that server.<br />
    It is also possible that your firewall is blocking or closing the connection somehow.
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *http://kb.mozillazine.org/Error_loading_websites

  • On the Washington Post website, when I try to click on an article, I get the message, "Invalid URL". I don't have this problem with other Web sites. I recently upgraded to the secure version of Firefox.

    I never had this problem before. I don't know if it's related to now having the secure (HTTPS) version of Firefox. Some WaPo links DO work, but most don't. One other thing: at least once when I Googled "The Washington Post" and clicked on the apparent result, I got a message saying that the certificate was "Not Trusted" and that legitimate Web sites did not ask me to override this issue and proceed to the site. Yet the website I'm trying to use is "www.washingtonpost.com", which I know for a fact is THE Post Website. What's going on, and how can I fix this? Thanks.

    I never had this problem before. I don't know if it's related to now having the secure (HTTPS) version of Firefox. Some WaPo links DO work, but most don't. One other thing: at least once when I Googled "The Washington Post" and clicked on the apparent result, I got a message saying that the certificate was "Not Trusted" and that legitimate Web sites did not ask me to override this issue and proceed to the site. Yet the website I'm trying to use is "www.washingtonpost.com", which I know for a fact is THE Post Website. What's going on, and how can I fix this? Thanks.

  • Get the web root path programmatically?

    I've got a column in a database with an absolute path to a
    file on our webserver.
    What function can i call to return the webroot where the CF
    server is actually running?
    I tried getContextRoot() but that returns a coldfusion temp
    directory.

    This should give what you're seeking.
    ExpandPath('/')

  • 4.0 will not find Washington Post. Instead, I invariably get the message: Invalid URL The requested URL "/", is invalid. Reference #9.1d2d0660.1300912680.122846de Any idea what's happening?

    A request for any WP site generates a similar response. My laptop, also running 4.0, does not come up with this. (Both are XP home SP3 machines...)

    A request for any WP site generates a similar response. My laptop, also running 4.0, does not come up with this. (Both are XP home SP3 machines...)

  • How to get the Url(address) of Next Page in Sequence of Pages in OAF

    Dear All,
    My requirement is to get the next page Url dynamically .
    i have created 2 pages ,first page have button to navigate to the next page ,when i click on first page button ,
    i want to store the url of the next page in column of the database table.
    This is urgent requirement .
    Please suggest .
    Thanks
    Maheswara Raju

    > Is there any way to get the memory address of a
    variable (like int ,float and all) in java.
    No. Chances are excellent that there's a way to do what you want without needing the variable's address, however.
    ~

Maybe you are looking for

  • HT4994 How do I use which is sim with the device

    How do I use which is handsome with the device

  • Ideapad U110 and Intel VT

    Hi there, In order to test some virtual machines features, I need to enable the Intel VT instructions out of the CPU. However, what a surprise to see there is no way to enable such CPU feature through the bios of the Ideapad U110... Do you know if we

  • Mmk... anyone actually wanna try to help me with my problem?

    yeah so I've had this trouble for months now, but only recently has it really affected my temper. whenever i try to install itunes, i get a frickin error. it says it cannot delete a stupid file that ISNT THERE. whats the point in trying to delete a f

  • Problem with LOB

    Hi everybody, I want to extract a row from a database DB2. This row containt a BLOB column. I want to extract this column but i cann't do it !!! Why???? here is the code: while (rs.next()) recCount++; System.out.println("Number of records = "+recCoun

  • Problem in Activating Contract

    Hi all, I am creating Contract in REFX while creating contract I am activating the contract. It is showing the error "Activation is not possible due to warnings (Partner Assignment)" Message no. RECN027 Can anybody help me in this? Thanks in advance.