How to access data of all users in a page?

Hi all, I am new to APEX and have a query.
I have installed APEX on my local machine, created a workspace, and added a few users with roles.
I am creating an application, similar to a Library app, where I have a table that stores Books information (BOOK_ID, BOOK_NAME, etc). I'd like to create another table BOOK_USER with two columns, BOOK_ID and USER_ID. BOOK_ID would refer to the BOOKS table, and I want USER_ID to refer to the table that stores user details of the workspace that I am using. The data entry would happen from a page that has two LOVs, one for book name (using BOOK_ID as the value) and another for user name (USER_ID, or whatever field APEX uses to store user's ID). Can I do that in APEX? I've found ways to access and authenticate a user for a page, but how to get data of all users in the workspace? In other words, how to get all usernames in a LOV?
As I am new to APEX, I'd appreciate if someone can guide me through the steps, or post links to tutorial, etc.

Assuming that you are using the Application Express User Accounts for authentication, in that case you have to use built-in apex views
selet * from APEX_WORKSPACE_APEX_USERSAnd use USER_NAME column instead of user_id
See http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/priv_public001.htm#HTMDB25949

Similar Messages

  • URGENT : How to retrieve Last Accessed Timestamp for all Users in GRC

    Dear Experts,
    Please help me with this urgent request. Appreciate your help in advance.
    My client is trying to understand the usage of the GRC application and would like to know information regarding the Last Accesse Time for all users who have logged into the Oracle's Governance, Risk and Compliance applcaition.
    Thank You,
    Rakesh

    If you still need the solution,
    Have a callback on OnSubtaskUpdated in your BPEL. This call back will be called for any updates in parallel approval pattern.
    Thanks
    --Sreeny                                                                                                                                                                                                                                                                                                                                                                           

  • How to access Data Guard option in Oracle 10g OEM

    Hi All,
    I have Oracle 10g ENTERPRISE EDITION on Unix envoirement. I want to setup logical standby Database through Data Guard technology. But when I brows through OEM I do not find Link for DATA GUARD????
    1) How to access Data Guard option from oracle 10g OEM.
    2) Does It come with Enterprise Edition OR I have to install it separately.
    Regards,
    Darshan

    I am managing almost everything through EM Grid Control. It is easy to setup and configure.
    Anyways, if you have read the documentation on
    Oracle® Data Guard Concepts and Administration and setup your environment accordingly then you should not have any problems. Atleast I can assure you that your production database will not be affected by it.
    Just make sure that you follow each step and read thoroughly. If you have spare machines then you can test and record your configuration before performing it on your production db. This link will provide you with the information on DataGuard.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/concepts.htm
    If you think that way then you will never be able to do any new stuff since you will always fear that something might go wrong. Go ahead pal, try it on test machines and you will know that it is not that difficult.
    There are real experts who help people like us in this forum and I know that they are doing a pretty good job.
    All the best.
    Rgds
    Adnan

  • Save persistents data for all users

    Hi
    The persistent datas are save for one specified user, the user logged in into the system (e.g. Windows).
    Is it possible to save persistent data for ALL users?
    If yes how?
    Thanks
    Hans

    Hi Hans
    IMO it might be a bit tricky. As you know - Persistence objects are stored in databases. I presume you're not asking about document database. Second database is stored in SavedData file which is located in per user data directory. I.E. on mac in ~/Library/Caches/Adobe Indesign/Version 6.0/en_US/Indesign SavedData
    Probably you need to create your own implementation of persistence or take a look on relations between file system and IDataBase interface.
    Regards
    Bartek

  • How can access data in rman output file "daily.log"

    Hi All,
    i did use following query for rman out
    output file "daily.log" has been created,but does not exist data.
    how can access data in output file "daily.log"
    bash-3.00$ sh rmant.sh
    Recovery Manager: Release 10.2.0.3.0 - Production on Thu Jun 30 16:54:16 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: DEV (DBID=45558086)
    RMAN> Spool log to daily.log;
    2> run
    3> {
    4> backup databas;
    5>}
    6> spool log off;
    7>
    Spooling started in log file: daily.log
    Recovery Manager10.2.0.3.0
    Starting backup at 30-JUN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=634 devtype=DISK
    channel ORA_DISK_1: starting compressed incremental level 0 datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00014 name=/u02/proddata/a_int01.dbf
    input datafile fno=00022 name=/u02/proddata/a_txn_data01.dbf
    input datafile fno=00023 name=/u02/proddata/a_txn_data02.dbf
    input datafile fno=00024 name=/u02/proddata/a_txn_data03.dbf
    input datafile fno=00039 name=/u02/proddata/a_txn_data04.dbf
    input datafile fno=00038 name=/u02/proddata/undo02.dbf
    input datafile fno=00027 name=/u02/proddata/a_txn_ind03.dbf
    input datafile fno=00028 name=/u02/proddata/a_txn_ind04.dbf
    input datafile fno=00012 name=/u02/proddata/undo01.dbf
    input datafile fno=00015 name=/u02/proddata/a_media01.dbf
    input datafile fno=00025 name=/u02/proddata/a_txn_ind01.dbf
    input datafile fno=00026 name=/u02/proddata/a_txn_ind02.dbf
    input datafile fno=00029 name=/u02/proddata/a_txn_ind05.dbf
    input datafile fno=00021 name=/u02/proddata/a_summ01.dbf
    input datafile fno=00019 name=/u02/proddata/a_ref01.dbf
    input datafile fno=00020 name=/u02/proddata/a_ref02.dbf
    input datafile fno=00001 name=/u02/proddata/system01.dbf
    input datafile fno=00002 name=/u02/proddata/system02.dbf
    input datafile fno=00003 name=/u02/proddata/system03.dbf
    input datafile fno=00004 name=/u02/proddata/system04.dbf
    input datafile fno=00005 name=/u02/proddata/system05.dbf
    input datafile fno=00006 name=/u02/proddata/system06.dbf
    input datafile fno=00007 name=/u02/proddata/system07.dbf
    input datafile fno=00008 name=/u02/proddata/system08.dbf
    input datafile fno=00009 name=/u02/proddata/system09.dbf
    input datafile fno=00010 name=/u02/proddata/system10.dbf
    input datafile fno=00011 name=/u02/proddata/system11.dbf
    input datafile fno=00013 name=/u02/proddata/a_archive01.dbf
    input datafile fno=00036 name=/u02/proddata/sysaux01.dbf
    input datafile fno=00016 name=/u02/proddata/a_nolog01.dbf
    input datafile fno=00037 name=/u02/proddata/izu01.dbf
    input datafile fno=00017 name=/u02/proddata/a_queue01.dbf
    input datafile fno=00018 name=/u02/proddata/a_queue02.dbf
    input datafile fno=00031 name=/u02/proddata/odm.dbf
    input datafile fno=00034 name=/u02/proddata/portal01.dbf
    input datafile fno=00035 name=/u02/proddata/sfx01.dbf
    input datafile fno=00030 name=/u02/proddata/ctxd01.dbf
    input datafile fno=00032 name=/u02/proddata/olap.dbf
    input datafile fno=00033 name=/u02/proddata/owad01.dbf
    channel ORA_DISK_1: starting piece 1 at 30-JUN-11
    channel ORA_DISK_1: finished piece 1 at 30-JUN-11
    piece handle=/sw/weekly_cum_database_DEV_t755196858_c1_s24_p1 tag=WEEKLY_CUM_DAT
    ABASE comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:32:55
    channel ORA_DISK_1: starting compressed incremental level 0 datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current control file in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 30-JUN-11
    channel ORA_DISK_1: finished piece 1 at 30-JUN-11
    piece handle=/sw/weekly_cum_database_DEV_t755198834_c1_s25_p1 tag=WEEKLY_CUM_DAT
    ABASE comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 30-JUN-11
    Spooling for log turned off
    Recovery Manager10.2.0.3.0
    Recovery Manager complete.
    bash-3.00$

    i did try this but it hangs
    bash-3.00$ sh rmant.sh
    Recovery Manager: Release 10.2.0.3.0 - Production on Fri Jul 1 10:52:01 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: DEV (DBID=45558086)
    RMAN> Spool log to 'daily' append;
    2> run
    3> {
    4> backup as backupset
    5> incremental level=0 cumulative
    6> device type disk
    7> tag "weekly_cum_database"
    8> format '/sw/weekly_cum_database_%d_t%t_c%c_s%s_p%p'
    9> database;
    10> }
    11>

  • I am tryin to access old macbookpro harddisk on macbook air,when i connect it via usb i see the folders,but i dont see any files e.g. photos,movies,docs are not there,its shows that 220gb is used,but no data is visible...can u pls adv how to access data?

    i am tryin to access old macbookpro harddisk on macbook air,when i connect it via usb i see the folders,but i dont see any files e.g. my saved photos,movies,docs are not there,its shows that 220gb is used,but no data is visible...all folder are empty.......can someone pls adv how to access data?

    i am tryin to access old macbookpro harddisk on macbook air,when i connect it via usb i see the folders,but i dont see any files e.g. my saved photos,movies,docs are not there,its shows that 220gb is used,but no data is visible...all folder are empty.......can someone pls adv how to access data?

  • How to install extension for all users?

    How to install extensions for all users? I'am using Windows
    Vista sp1 x64 and Adobe Extension Manager 2.0.274. "Run as
    administrator" doens't work.

    Xych wrote:
    > How to install extensions for all users? I'am using
    Windows Vista sp1 x64 and Adobe Extension Manager 2.0.274. "Run as
    administrator" doens't work.
    You may have to log in as the Administrator user rather than
    "run as adminstrator".
    Beyond that, are there really enough users on a system that
    they can't install the extension(s) they need themselves?
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Activate Accessibility Features for all users?

    Is there a way to activate Accessibility Features for all users by editing a table on the Portal side?
    EP6 SP2 and NW04S.
    Thanks
    Jean Seguin

    Hi Jean,
    not that I would know of. But you can easily write a small portal component which sets the accessibility level of all users to your preferred level.
    The code snippet below should give you an idea of what I mean
    IUserFactory userFactory = UMFactory.getUserFactory();
    IUserSearchFilter filter = userFactoy.getUserSearchFilter();
    ISearchResult result = userFactory.searchUsers(filter);
    while (result.hasNext()){
      String userId = (String)result.next();
      IUserMaint user = userFactory.getMutableUser(userId);
      user.setAccessibilityLevel(IUser.SCREENREADER_ACCESSIBILITY_LEVEL);
      user.commit();
    Best regards,
    Martin

  • How to attach data to url of a jsf page in sun creator

    Can somebody tell me how to attach data to url of a jsf page for example String url="http://w-ngphc-0672.ng.ad.ep.corp.local:8080/Questionnaire/QuestionnaireConnector.jsp?ticket_id="+C.getTicket_id(); accesing this url uses value of C.getTicket_id() and populate the jsp page. How can I achieve this using jsf page in sun creator .
    I'm developing a workflow where url is sent to people and on clicking of the url it takes them to the form of the particular sender with its id attached to the url of the page.

    Here's how I do something similar:
    <ui:hyperlink binding="#{dfrReviewPage.hyperlink4}" id="hyperlink4" style="text-decoration: line-through"
                                                    text="DFR #{currentRow.value['d1.replacesdfr']}"
                                                    url="/getReport/DFR#{currentRow.value['d1.replacesdfr']}.pdf?reportId=#{currentRow.value['d3.replacesformat']}&exportType=0&id=#{currentRow.value['d1.replacesdfr']}" visible="#{currentRow.value['d1.replacesdfr']!=null}"/>As you probably gathered from the currentRow var this is embedded in a table but it could be bound to any bean type object.

  • How to make session invalid when user refresh the page?

    How to make session invalid when user refresh the page?

    I have a <form> in a JSP file that has another JSP file as an action.
    I have main.jsp that has <form> with action.jsp file as an action.
    Now when I submit the <form>, request forwarded to action.jsp and it will take the action. But this file is taking so long, hence user refresh the page again and again, hence duplicate request processing is occuring.
    I want to prevent this.

  • How do I access  data from one user account to another?

    I want to access data from a different user account. How do I make all the files available?

    I have another post here in the forum that explains in detail about the rez problem. It was read by a lot of people with no responses. 1 thing that might be important is that I was using a Wacom drawing tablet when this problem started. I removed the Wacom software and no help.
    My Apple 23" Cinema display has very large icons but the display prefs says it is at 1920 x 1200. It's not just a low screen rez but the dock and all icons will scroll on the screen when I move the mouse.
    The resolution will not change to anything else. The rez is fine on other user names.
    I have booted from the Apple DVD and run disk repair, repaired disk permissions. Booted and run Tech Tool.
    Booted from the Disk Warrior cd and ran that.
    I have zapped the PRAM. I have plugged the display into the other port on the video card.
    When I change to the problem user name it is fine for about 1 second and then changes to the "problem". I have never seen this before and I have been using a Mac since 1990.
    It's a G-5. Dual 2.0 ghz. 2.5 gb ram. OS 10.5.8. Apple keyboard. Logitech mouse and
    Thanks.

  • How to track "Date of Last user Login" across all provisioned systems ?

    We all know how hard it is to track old users - in particular ones that have left and termination paperwork has not been completed (users such as contractors, service technicians etc)
    Anyone think of a way where IDM could track the date/time of last login to each system that it has provisioned that user to ?
    Maybe a new field per system eg LASTLOGIN<ECPxxx> which I can then view along with the User ID Alias ACCOUNT<ECPxxx> field and see ;
    Which Systems the user has a login to
    Date / Time of last login to these systems
    Yes, it can be done manually by logging in to each to the systems and running SUIM, but I would hopping for an elegant solution as part of the IDM process.

    Hi Phil,
    getting the last logon date is dependent on the system to which you are provisioning userids. For some systems you might not be able to retrieve the last logon date at all.
    We have implemented something like that in my previous project for Active Directory, because we needed to implement a custom password ageing functionality that disables accounts when the user does not change his password in time. For Active Directory you can check the lastLogon attribute or alternatively the accountExpires attribute.
    Best regards
    Holger

  • How to expire password for all users

    I need to be able to expire the password for all users. This is to prevent access by any user until each one is released individually (administrator will set a new password and notify user).
    Please could someone give me any tips on how to expire all users passwords.
    Thanks

    Login to the Internet Directory
    Select the user and modify its expiry date
    hope this helps u

  • Unable to Access Data Form with Users Provisioned as 'Planner'

    Hello,
    I am currently experiencing an issue that I can't seem to resolve. I was hoping someone else might have some insight and/or have come across this issue.
    I created two data forms. Users have been assigned permissions to the dimensions included in the data form. I have also assigned users access to the data form. The model is a single currency model.
    Upon logging into the application, the user is unable to open the data form unless he/she is provisioned as an 'Administrator'. Provisioning the user as a 'Planner' or 'Interactive User' does not allow the user to open the data form. The following message appears:
    *"Security and/or filtering has resulted in a required dimension not being represented on this data form."*
    My data form uses the following dimensions:
    POV: ELEMENT
    PAGE: SCENARIO, YEAR, VERSION, ENTITY
    ROWS: ACCOUNT
    COLUMNS: PERIOD
    We are currently implementing Hyperion Planning 11.1.2.0. The operating system is Windows Server 2008 64-bit R2.
    Any advice/suggestions on how to resolve this would be greatly appreciated. Thank you.
    Corey

    I went ahead a created a data form that just used level 0 members and confirmed that the user had access to the members defined in the form. Still no luck.
    I also checked to make sure the filters existed in Essbase. Here is what I found in Essbase:
    Access: None
    Member Specification: @IDES("Account"),@IDES("Scenario"),@IDES("Version"),@IDES("Entity"),@IDES("NTTA_ELEMENT")
    I have no issues accessing the data through the Essbase Add-in.
    I did notice some additional items in my Planning setup:
    1. Task>Manage Process - Sub-Status states 'Failed' when I attempt to validate
    2. Task>Manage Process - Status changes from 'Not Started' to 'Under Review' when I start the cycle.
    3. Dimension Security - Users are attached to a group that has write access at the Descendent(Inclusive) level.
    4. In the Account, Department, Scenario and Version dimensions I also setup the user to have write access at the member level.
    As for my earlier post with the data forms, that was just my way of showing the dimensions used. I do have two data forms, 1) with top level and descendants/children and 2) with level 0 members only.
    I checked the logs and there isn't really much info there. I have a case open with Oracle and a webex scheduled for tomorrow.
    Thoughts?
    Thanks
    Corey

  • How to access date and time of compiled forms

    hi all
    i want to access the date ,time and size of compiled forms that are stored in a particular folder.
    can anybody tell me how to access it.
    thanx
    Message was edited by:
    new.oradev

    hi all
    i want to access the date ,time and size of compiled
    forms that are stored in a particular folder.
    can anybody tell me how to access it.
    thanx
    Message was edited by:
    new.oradevIs this an Oracle Forms question???
    You can always use your operating system to check the creation/modification/access dates of a file on your file system.
    If you're looking for versioning, I suggest you read abot OSCM (Oracle Software Configuration Manager)
    Tony

Maybe you are looking for