How to get the guid of currently opened page programatically

Can any one of you please let me know how to get the guid of a page at database level which is opened currently?
The requirement is I need to grab the url of a page which is currently opened by the user.
Is there any way to get it from accessing the tables like wwv_things or wwpob_page$.
Please suggest me how to get it.

Hi Ravi,
You may wanna explore the two API's (wwsbr_all_folders and wwsbr_all_items) and make a bridge to get the name of the portlets that appear on the page.
something of the following nature should be enough to take you where you want to go. here is the GUID of the item you are looking for.
SELECT DISTINCT c.display_name,,c.updatedate
FROM portal.wwsbr_all_folders a, portal.wwsbr_all_items c
AND = c.folder_id
AND a.caid = c.caid
AND c.itemtype = 'baseportletinstance'
order by 3 desc
this will work in the portal but not in the sqlplus or any querying tool. for that purpose, it will work once you establish the context of user.
hope that helps!

Similar Messages

  • How to get the footage's current frame number in expression?

    There are 2 layers.One is text layer,one is sequence layer.
    Footage has begun from the 20th frame.
    Therefore, the number of composition's current frame number and footage's frame number has shifted.
    I want to show footage's frame number in text layer . not composition's frame number.
    How to get the footage's current frame number in expression?

    >Footage has begun from the 20th frame.
    Do you mean that the footage layer has been trimmed (so that the start of the footage lines up with the start of the comp, but the first 19 frames are not visible), or moved to the left (so that frame 20 lines up with the comp's frame 0), or that the sequence actually begins with the 20th frame (at frame 0 of the comp), or something else?
    Are the frame rates of the comp and the footage the same?

  • How to get the form reference in .js page from .jsp page

    i have written one form in jsp page omething like:-
    <html:form action="/shopping" onsubmit="return false;">
    can anybody tell me,how to get the form reference in .js page from .jsp page ,
    i have tried:-
    var formRef = document.forms[0];
    butits not working.

    Its very simple......y cant u prefer google...Bad
    c this example...
    function submit()
    alert("textbox"+ document.forms[0].name.value);//to get textbox value in js
    document.forms[0].submit();//to submit jsp page using js
    <html:form action="/shopping" onsubmit="submit()">
    <html:text property=name>
    learn to search in google..

  • How Can i Get the reference of currently opened System form

    Hi Experts,
    I have a scenario in which i need the reference of currently opened SAP form The code is like
                                                SAPbobsCOM.ProductionOrders op = null;
                                                op = (SAPbobsCOM.ProductionOrders)SBO_Company.GetBusinessObject(BoObjectTypes.oProductionOrders);
    now i want some logic like
    op=currently opened production order in sap
    so that i can edit the fields of that order
    Thanks Amit

    Hi Amit
    You can access the currently opened form using this
    for getting the active form
    Dim oForm As SAPbouiCOM.Form= Sbo_Applicaion.Forms.ActiveForm
    for getting the form using form type and count
    Dim oForm As SAPbouiCOM.Form= Sbo_Applicaionl.Forms.GetFormByTypeAndCount("133", 0)
    Hope this helps

  • How to get the Asset's current step under a specific workflow process via API?

    Is there a way to get the asset's current step for a specific workflow process by the WebCenter Sites API? We are showing out the asset created within the WebCenter Sites in another application via its API. We would like some actions get to be done once determined assets went into a specific step of a workflow process. Any suggestions are welcomed.

    Here is some information from the FDK Programmer's guide page 115:
    IMPORTANT: A valid text range can span multiple paragraphs, subcolumns, or text frames.
    It cant span multiple flows, footnotes, table cells, or text lines.
    It is possible for a document to have no text selection or insertion point at all. This can occur in
    the following circumstances:
    ● One or more graphic objects in the document are selected
    ● One or more entire table cells in the document are selected
    ● There is no selection of any type in the document
    So, I did select one or more entire table cells in the document in my first test. It's logical that the result was not like expected.
    But selecting one or more entire table cells is a crucial requirement for my plugin, is there anyway to get things straight?
    Simply put, I want to enable users to select one or more table cells in the document, and I want to get the object handles of the first cell and the last cell through Framemaker API calls. How?
    Many thanks in advance!
    Best Regards,
    Ellen N. Zhao

  • How to get the number of current active external modes?

    hi all,
    I need to get the number of currently active external modes. This can be done by calling function THUSRINFO. But this only works propperly, if you are logged on only once. If you are logged on more than one time then the function returns several entries in the parameter USR_TABLE. The entries mainly differ in the first parameter TID (type UTID, INT4) "terminal-identification" but how can I know which is the valid one for my current session. Functions TERMINAL_ID_GET, SPH_TERMINAL_IDENTIFY and SPH_TERMINAL_ID_GET dont work.
    Or is there another way to get the number of active external sessions?
    Thanks in advance,

    tables: usr02, usr41.
          modes like sy-index,
          u_MODES LIKE MODES.
    select * from usr02.
      select * from usr41 where BNAME = usr02-bname.
          ID 'TID' FIELD usr41-TERMID
        IF SY-SUBRC = 0.
          u_MODES = u_MODES + MODES.
      if sy-subrc = 0.
        write:/ usr02-bname, u_MODES.
      clear u_modes.

  • How to get the class name of a page in oracle apex

    Hi All,
    Can anyone please let me know how we can get the class name of a page or region in oracle apex? I would also like to know how we get the DOM object ID for particular item.
    I appreciate any help on this.

    RajEndiran wrote:
    Can anyone please let me know how we can get the class name of a page or region in oracle apex?What do you mean with class name? The name of the template (e.g. the css style class name)?
    I would also like to know how we get the DOM object ID for particular item.Use firebug or inspect the source code of the rendered page to see the object IDs. Other then then, the typical ID of page items is the name of the item. For regions you can set your own ID.

  • [CS3] How to get the parent spread of a page?

    I have the page UID.
    How to get the spread of this page?
    Alois Blaimer

    You'll also need an IDataBase*, from any object in the same document.
    Then you can follow IID_IHIERARCHY one up to the kSpreadLayerBoss, two up to the kSpreadBoss or just refer to the hierarchy root.

  • How to get the initial state of JSF PAGE IN ORACLE ADF

    Hi everybody
    my Jdeveloper version is 12.1.3
    I'm building my JSF pages based on a template that has a navigation pane which contains command navigation items , every one of them (command navigation items) appears as a link at runtime and calls a JSF page , I wish to get the initial state for any page when leaving it then entering such page again , and I would like to know what is the suitable place to write the code to do this task.
    many thanks !

    Clear the cache by adding the following to each jsf page.

  • How to get the words in an opened but unsaved Voice board file?

    I'm using the software named ViaVoice from IBM, which can change the voice from the computer's microphone to text, and display the words on the Voice board file that the software provides.(See attachment)
    Each time the user speaks two words to microphone, the Voice board displays these words on it(but doesn't save the words in the file automatically). I want to get the words into LabVIEW after the user finished speaking everytime.
    For example, in my application, I want to control a car by user's voice, once the user speaks "to Left", the voice board displays " to Left" on it, LabVIEW reads the voice board file every 2 seconds, once LabVIEW finds the number of words changed, it reads the last two words and does the corresponding task.
    The problem is that how can I get the words into LabVIEW from the Voice board? I can pre-run the ViaVoice, pre-open the Voice board, and pre-save the Voice board as a .doc file or a .txt file, But the ViaVoice can’t save the doc/txt file antomatically as the speaker adds new words on. What should I do?

    the attachment

  • How to get the name of current monitor?

    I have a script which is used to get some application data. The script take parameters such as "LOB" so it can query data for different department. When it found something, it raise an event in event log.
    Therefore this script is used by several different monitors. Each monitor calls the script by passing different parameters. To better understand the event was created by which monitor, I want the script can get the name of monitor which calling it and they
    list it in the event log too. 
    Currently, I am passing $MPElement$ as one script parameter so I can get the monitor's GUID. Then get the name by running powershell command. Is there an easier way to get the monitor name? Thanks!

    The best way to do this is to put the monitor name as a property bag in the script and pass that to your event details. Otherwise, we're looking at querying the database each time the monitor generates an event, and this is overhead that is really not
    necessary. The other option, which is just even worse in terms of performance, is to use powershell to query the SDK for the monitor name. Both of these options are not going to be a good solution, because now you need to implement action accounts that can
    either query the database or the sdk.
    Jonathan Almquist | SCOMskills, LLC (

  • How to get the number of resultSets opened ?

    As I have a memory leak in my application, I wonder if there is a simple way to get the number of statements and resultsets opened to determine if it dramatically increases.

    As I have a memory leak in my application, I wonder if there is a simple way to get the number of statements and resultsets opened to determine if it dramatically increases.

  • How to get the tablename of current price

    Hi experts,
    In sales tab page in MM43, I can see the current price in the bottom right corner of the screen. When I click "Sales Prc. Calc." button, I can find a list.
    Now I want to get the curr. finalprc of the list. Who will tell me the table name and field name?
    I press f1 key, and it tells me CALP-ENDPA, but CALP is struct.

    please try MBEW for your requirement. you will get the material price in it.
    Ninad Kshirsagar

  • How to get the name of currently logged in user in the network

    Hi all,
    I want to know if there's a way to get the name of the currently logged in user in the network.
    SYS_CONTEXT('USERENV','OS_USER') won't work for me because our users do not loggin in portal.
    Any ideas?
    Thanks in advance.

    Hello, I had the same problem. Here is a smaller version to find the Group of the current User.
    The VI get the members of a Group and match it with the Username.
    Note :
    If the User belongs to multiple Groups the the VI returns only the 1st Groupname
    If the User belongs to no Group then the VI returns "unknown Group"
    The VI is written with LabVIEW 2010 and TestStand 4.2.1
    current user ‏20 KB
    TestStand get Group of current User.PNG ‏43 KB

  • How to Get the values from Dynamic jasp page

    I have a jsp form page wherein i input the data form the user and get these values on the action servlet.
    But now i have added a feature to Add and Delete the Elements using javascript and this creates a dynamic form on the jsp page. I want to Get the values of these all elements at the Action servet.
    Please suggest the solution.

    getParameterMap() returns a Map[1] with all parameters; the parameter name is the key and the value is the value of the parameter in the form of String arrays.
    You have to iterate over the Map and get values as you see fit. Search for a tutorial/ example/ sample for using Maps. I'm sure you'll find loads that will do a better job at explaining.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first:

Maybe you are looking for

  • Problem displaying data in Crystal Viewer

    Hi, First time posting on here, so apologies if I've got the wrong thread.... Currently developing an application that uses ASP, via a COM+ object to connect to SQL Server 2005 Db.  My problem is that since the users default printer might not be visi

  • Installing Windows 8.1 64 bit on HP Stream 8.

    Hello,  HP stream 8 ships with win8.1 32 bit. I've a copy of win 8.1 64 bit which i intend to install on stream 8. Not sure if Boot from USB will work on this tab. Has anyone tried it? Any clue on performance as on stream 8 tab with 64 bit os? All ex

  • Can't get any response from HttpsURLConnection

    sorry, i've reformat the code here again Deal frens, Currently i'm doing a code to get a response from https link in my servlet. I don't know where the lack of my coding, but i don't get any response from the server when i execute my code. here is my

  • Clock Screensaver

    Does anyone know of a Digital clock screensaver for the N95. I want a it to be full screen size......... Thanks.

  • How can i find the meta chain name?

    My process chains are running based on meta chain option,So how can i find the meta chain name???