Default URGENT: Differnent for LOV based on user login id

Hello

I have and portal oracle form that uses LOV to display data. This is a drop-down list box that retrieves data from a SQL query.

This form has assume first_name column. The default value for this column should which the connected user.

If I login with my user name, the default value for this column should be my name
If 'X' user connection then the default value for this column should be 'X' name

Drop-down menu should have a list of other names as well, but only by default is different based on connected users.

Please let me know how to set the default value and where can I I made changes to make.

Thank you...

Ecellent! I'm glad to hear that it worked for you. I didn't realize that you were using a select statement, but you guessed it correctly. Functions correspond to functions on the type of default value and select card statements to queries.

No problem on the forms, I can give you my 2 cents, but to be official, we should open in a new thread as this is another topic. Can you close it as answered (assuming you're noted that it is answered) and simply copy your message to a new thread?

Thank you! / Brand M.

Tags: Fusion Middleware

Similar Questions

  • Default dashboard does not work after the user login

    Hi all

    We have one issue in 11.1.1.7.1 where CHEMINPORTAIL does not work for users. Thus, the user lands on the home page / recent rather than the default dashboard after login.

    I followed Doc-ID 1576576.1 and Bug 17071629 - CHEMINPORTAIL SESSION VARIABLE IS INEFFICIENT is reported. I applied patch 17071629 on top of 7.1. I tried and checked that

    • ·     The URL we use to login is "http://machinename:9704/analytics/saw.dll?bieehome & startPage = 1".
    • ·         There is no set start page in my account to user other than default.
    • ·         In the responses, the session CHEMINPORTAIL variable retrieves the correct path of dashboard.
    • ·         I removed the space in the name of the dashboard and tried with the following path ' / shared/table of edge/_portal/PortalPathTest. In addition, assigned the same default value in the session variable. I also tried "/ Shared Folders/table of edge/edge/PortalPathTest ' and '% 2fshared % 2fDashboard % 2f_portal % 2fPortalPathTest' but nothing works.
    • ·         lsinventory watch the patch has been applied successfully.

    One thing to notice-

    1. connection url is: "http://machinename:9704/analytics/saw.dll?bieehome& page = 1"

    2 after the connection URL in the browser is changed into "http://http://scoreboard-sit.wellsfargo.com:9704/analytics/saw.dll?bieehomemachinename:9704/analytics/saw.dll?bieehome" and displays the homepage instead of default dashboard.

    3. now at this point, if I add "& startPage = 1" to the URL from step 2 above in the browser, it navigates automatically to the correct dashboard by default.

    In addition, this fix has fixed dashboard by default in acting. This means that if I act as a user, I have ask on correct dashboard by default. But if the same user actually connects, it lands on the home page.

    I suspect that if the URL redirect after login is the real problem. Please suggest if someone has an idea.

    Thank you

    Séverine

    I think it was the question-

    There was an error in java script associated with an undefined object, "mode" in logon.js.  This is related to the access or Section 508 (checked by developer tools for IE).  We have deleted this code from the logon page that was causing the error. We had personalized the page quite a bit ago. When I ignore the error and not through, I go to the correct page of portal access road. So, let's replace the file logon.js with backup and I hope that it will solve the problem.

    See you soon!

    Séverine

  • Set a default value for SQL based LOV

    Hello

    Is there a way to set the default value in a LOV. Like let him say the LOV gets of the separate to_Char(date_field,'YYYY') in a table. I want the last year is the default value. Currently, since I was the null option also, when the page loads, the lov is always null. I need to change it manually.

    Thank you
    Sun

    You can easily set the default values for the dynamic element

    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21674/bldapp_item.htm#HTMDB28287

    for example, select the default type in the body of the PL/SQL function and enter the following code

    declare
    v_return date;
    begin
    select max(date_field) into v_return from your_table;
     return to_Char(v_return,'YYYY');
    exception when others then
    return null;
    end;
    
  • ADF LOV based on Weblogic users

    Hi all

    I want to create a LOV based on all users of weblogic as the ADF. My version of Jdeveloper is 11.1.1.7. Can someone help me please in this matter? How can I achieve this in a simpler way. Thank you very much

    Here you can find example how get and set attributes on jmx: http://pirabid.blogspot.com/2013/04/modifying-supported-attributes-of.html

    Dario

  • Can the License Manager load the computer license first, instead of the license based on users?

    We have several machines in the lab with licenses computerized on them and a number of technicians who have licenses based on users. When he signed from time to time as themselves, instead of the generic service account, a technician of the License Manager fits on the machine their user account. Not a problem until they're trying to connect to their own PC again LabVIEW and they get the trial of 14 days notice period.

    Is there a way the License Manager looking for the license to the computer first instead of the user license?

    Thanks for any help.

    Joe

    Hey Joe,

    In the license file on the license server, you may be able to manually change the tag "sort" in the file to change the order in which VLM withdraws licenses. Licenses are checked in descending (2, then 3, then 4, etc.). As a general rule, your license file is set up in a default order, but in special cases like this, it may be advantageous to change the order. To do this, follow these steps:

    1. open the license file with a text editor (such as Notepad)

    2. search for the tag "flows out". For example, the entry "VLM_Core" will sort tag value will appear as "sort = first". Do not change this value. VLM_Core must always be the first.

    3. change the value of sorting tag for the license to the computer named to a value less than the value of sorting tag for the named user license. (for example 'sort = 2"for named computer and 'sort = 3" to the named user).

    4 save the file and reinstall the license.

    Let me know if you have any questions!

  • WLC with ACS 5.1 (RADIUS) for management * AND * Network users

    Hello

    I have authentication RADIUS of installation for the users of the network AND management on my NM - WLC (5.2 ongoing execution) against ACS 5.1

    My Question is:-

    For users to log in to Admin, I need to come back "Service-Type = Administrative - User" in order to make it work.

    Because the ACS sees all applications from the same device (WLC) for Admin and network users,

    the way I am currently treats it is by creating a filter based on the user name

    Thus, users that contain 'admin' in their ID, use a set of

    Network access policy authorization, who has an authorization associated with the attributes RADIUS profile.

    Normal users have a ' network access policy authorization different rule ", with a different profile.

    While this DOES WORK fine, still me I was wondering if there is a better way to do it, rather than create a rule

    based on the user name.

    I could use GANYMEDE + for the management, but I don't think that ACS allows the same client AAA (WLC) to use both protocols.

    Thank you

    I think it's something very common for things to do

    You may notice that ACS 5 comes preinstalled with a selection policy of service that differentiates them the Protocol-based queries and orders or service 'Access to the network by default' or "Default Device Admin" out of the box

    If you want only to RAY can either disable or delete the rule for applications of GANYMEDE + or not choose GANYMEDE + in the definitions of the unit

  • Insert the Scriptures based on user requirement

    Hello

    I want to create a recordset based on user input set to the time of execution.
    According to my present motion, I am able to create records that is predefined in the variable 'NoOfRows '. That's why when I click on this button, default 2 lines are inserted into my page.

    My requirement is to get the "NoOfRows" of the user, so I added a text of entry in my page Jsf which gets the value of the user and the rows will be inserted. But I could not pass my value of rich text to this variable. IE "NoOfRows". How did this happen to my input text value that is defined in my grain to the java class defined in Application Moldule?

    It's my code written in AppModuleImpl.java

    public void insertDefaultRows() {}
    Lines ViewObjectImpl = this.getEmpView1 ();
    Lines.executeEmptyRowSet ();
    int NoOfRows = 2;
    oracle.jbo.server.ViewRowImpl emptyRow;
    for (int i = 0; i < noOfRows; i ++) {}
    emptyRow = (oracle.jbo.server.ViewRowImpl) Lines.createRow ();
    emptyRow.setNewRowState (oracle.jbo.Row.STATUS_INITIALIZED);
    Lines.insertRow (emptyRow);
    }
    }

    It's my backup grain defined for text entry

    public void setIt11 (RichInputText it11) {}
    This.IT11 = it11;
    }

    public RichInputText getIt11() {}
    return it11.
    }

    I hope I am clear. Any help?

    First of all, you need to change the signature of the method of the AM to

    public void insertDefaultRows(int num){
      if (num <= 0)
        return;
    
      ViewObjectImpl Lines = this.getEmpView1();
      Lines.executeEmptyRowSet();
      int NoOfRows=num;
      oracle.jbo.server.ViewRowImpl emptyRow;
      for (int i=0; i < noOfRows;i++){
        emptyRow = (oracle.jbo.server.ViewRowImpl)Lines.createRow();
        emptyRow.setNewRowState(oracle.jbo.Row.STATUS_INITIALIZED);
       Lines.insertRow(emptyRow);
      }
    }
    

    then you expose this method to the interface of the client of the AOS. It is available in the data control.
    Then, you add a variable in the executable section of the links page.
    (1) open the page links
    (2) right click on the variables in the executables section and choose "Insert inside Variables"-> "variable."
    (3) in the dialog box to set a name for example noOfRows with type java.lang.Integer
    4) click on the green '+' in the links section, select AattributeValues, click OK
    (5) select 'variables' as a source of data and 'noOfRows' as an attribute
    This will create a variable of integer type in the page links. This can be used to store the value for the inputText component. For this select the inputText on your page and in the property inspector, add

    #{bindings.noOfRows1.inputValue}
    

    the property value. This will transfer the entrance to the inputText to the variable you created.
    Now open the DataControll and drag the method on the page and drop it in the form of button. You then get a dialog box where you see the 'num' of the method parameter. In the value field, you write the link you used to store the value for the inputText (#{bindings.noOfRows1.inputValue}).
    Last thing to do is to set the property to the inputText to true autoSubmit.
    This will change the value in the inputtext method.

    Timo

    Published by: Timo Hahn on 20.03.2013 13:48

    Oh, and you can remove the inputText binding to the bean as this is not necessary!

  • Is that the compress/decompresss utility file supported by all types of window OS? or for some region the user install it?

    Hi all:

    Is the Compress/decompress utility file supported by all types of Windows OS (XP, VISTA, Windows 7)? or for some region the user install it?

    Any link from the website of Microsoft?

    I managed to get the guide from the Microsoft web site, but just a guide without a show of declaration of default installation during installation of the operating system.

    Window XP:

    http://support.Microsoft.com/kb/306531

    Windows Vista:

    http://Windows.Microsoft.com/en-us/Windows-Vista/compress-and-uncompress-files-ZIP-files

    Windows 7:

    http://Windows.Microsoft.com/en-us/Windows7/compress-and-uncompress-files-ZIP-files

    Thank you.
    Coulombe

    Hello

    Compress and decompress are not a separate tool/utility to download and install in the computer. They have functions that come with these 3 operating systems. These features are available in Windows XP/Vista/7 from across operating systems.

    However, you can also use your favorite search engine for non-Microsoft applications to compress and extract files such as Winzip and Winrar.

    Note: The use of third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    It will be useful.

  • Preparation of desktop + default user login

    Occasionally, when I start my laptop Windows 7 Ultimate, instead of the 'Welcome' screen and a login prompt for the user by default ('B'), I get "Readiness Office", then the login for the user by default ('B') prompt. After a successful login, I get a new office and default user privileges 'B '. No files or other inerference profile to the default user 'B' will appear. To fix this, I restart or shutdown. Then start up, usually, I welcome and one for the default user login screen. After login, I have all the stuff for the user 'B '. It happens randomly without error message to the previous closure or the new connection. Any ideas?

    Hi BobThurmond,

    Method 1: First of all, you should try to check and safe mode if the problem persists.
     
    Follow this link provided below to start your computer in safe mode.
     
    Start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode
     
    Method 2: If the problem does not happen, I recommend you perform the clean boot.
     
    Put your boot system helps determine if third-party applications or startup items are causing the problem. If so, you need to maybe contact the manufacturer of the program for updates or uninstall and reinstall the program.
     
    See the following article in the Microsoft KB for more information on how to solve a problem by performing a clean boot in Windows Vista or Windows 7:
     
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135 
     
    Note: after a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Method 3:

    If this does not work, create a new user account and check. If it works in a new user account, then probably your user account have been damaged and would need a fix.

    Create a user profile.
    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    Now search for the question.

    Follow the link provided below to fix the damaged user profile.
    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

    In addition, You can also use Event Viewer to search for information on the problem.

    Here is an article on how to do it:

    The display of the error messages in the event viewer
    http://support.Microsoft.com/kb/947321

    You can see for more information on the issue at the time where it occurred.

    You can post this information here to help us narrow down where the focus.

    Thank you, and in what concerns:
    I. Suuresh Kumar - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • (Redirected) Change of Auditor custom search based on user

    Hello

    I installed change of Auditor and agent has been installed on the domain controllers. I have a specific requirement, search for events based on the user. Tried to customize the report but could not get exactly that.

    Ex:

    If a user property is changed by the administrator, then the scope would be research user of events for the last 30 days.

    Please suggest me the appropriate search criteria to achieve this goal.

    Kind regards

    Logan.IN

    Hi Temploganathan,

    If you please repost in the forum of the aid system management servers.

    http://en.community.Dell.com/support-forums/servers/f/177

  • Subsystem for UNIX - based Applications (SUA) missing.

    In my Win 7 Pro 64 - bit o/s the subsystem for UNIX-based Applications (SUA) is not listed as a feature that can be turned on.  And I don't see an option in the Setup program to add this feature.  How can I add?

    It is not included in Windows 7 Pro.

    Supported operating systems: Windows Server 2008 R2. Windows 7 Enterprise; Windows 7 Enterprise 64-bit edition; Windows 7 complete edition; Windows 7 Ultimate 64-bit edition

    To install SUA by using the Windows interface

    1. Click Startand then click Control Panel.

    2. In the Control Panel window, click programs.

    3. Under programs and features, click Windows turn features on or off.

    4. If the user account control dialog box opens, click continue. Otherwise, continue to the next step.

    5. In the Windows features dialog box, select the Subsystem for UNIX - based Applications check box. Click OK.

    6. In the Add Wizard functionality, on the Select features page, select the Subsystem for UNIX - based Applications check box.

      Installation may take several minutes to complete.

    Until the download package Utilities and SDK for subsystem for UNIX-based Applications (utilities and SDK for SUA) has been installed on the computer, you cannot run or modify scripts based on UNIX and UNIX-based custom applications. The utilities and SDK for package SUA is available for download on the Microsoft Web site at (http://go.microsoft.com/fwlink/?LinkId=139521).

    Questions about installing Windows 7?
    FAQ - Frequently Asked Questions from Installation Windows 7 & responses

  • Look for no logged in user to Active Directory

    Hello

    Our application meets with AD where all the users and groups are configured.

    Given a unique ID for a user (non-logged) and ad group name, it is possible to search for this user in this group and return such a value true or false based on whether the user is present in this ad group or not?

    For a logged-in user, we have an established securityContext and it is very easy to do using userInRole ["app_role_name"]. This would tell us whether or not the user belong to this group. But how can we do this for a user not registered?

    I was going through the API OPSS but could not understand it if possible.

    Team database probably for this using the DBMS_LDAP API but I want to make sure you that there is a java solution as I remove the call to the DB.

    Thank you.

    Here you have an example OPSS:

    (MyGroup and MyUser are just POJO)

    Public collection {} getGroupsForUser (MyUser myUser)

    Collection roleList = new ArrayList ();

    IdentityStore idStore = null;

    try {}

    idStore = getIdStore();

    User user = searchUserByUsername (idStore, myUser.getUsername ());

    If (user! = null) {}

    SearchResponse resp = idStore.getRoleManager () .getGrantedRoles (user.getPrincipal (), true);

    While (resp.hasNext ()) {}

    Role = resp.next () (role);

    MyGroup myGroup = new MyGroup();

    myGroup.setName (role.getName ());

    roleList.add (myGroup);

    }

    resp. Close();

    } else

    throw new UnexistentResourceException (myUser, ResourceTypes.IDSTORE);

    } catch (oracle.security.idm.ObjectNotFoundException e) {}

    the user does not exist

    } catch (IMException e) {}

    throw new MySecurityException (e);

    } {Finally

    If (idStore! = null) {}

    try {}

    idStore.close ();

    } catch (Exception e) {}

    }

    }

    }

    Return roleList;

    }

    private getIdStore() {} IdentityStore

    IdentityStore instance;

    try {}

    JpsContextFactory ctxf = JpsContextFactory.getContextFactory ();

    JpsContext ctx = ctxf.getContext ();

    IdentityStoreService storeService = (IdentityStoreService.class) ctx.getServiceInstance;

    If (storeService is nothing)

    throw new MySecurityException ("JPS invalid configuration! Please check your configuration environment");

    instance = storeService.getIdmStore ();

    } catch (JpsException e) {}

    throw new MySecurityException (e);

    }

    return instance;

    }

    /**

    * Returns the user having a certain username of the FIRST identity store

    * WARNING: The user can be duplicated in OPSS, because coming from two different authentication providers

    @param username

    * @return

    */

    private user searchUserByUsername (idStore, String username IdentityStore) {}

    List = new ArrayList ()evaluations1 users;

    IdentityStore idStore1 = null;

    try {}

    idStore1 = getIdStore();

    SimpleSearchFilter filter =.

    idStore1.getSimpleSearchFilter (SimpleSearchFilter.TYPE_EQUAL, "Username", username);

    SearchParameters sps is new SearchParameters (filter, SearchParameters.SEARCH_USERS_ONLY);.

    SearchResponse resp = idStore1.searchUsers (sps);

    While (resp.hasNext ()) {}

    User user = resp.next () (user);

    USERS1. Add (User);

    }

    resp. Close();

    } catch (ObjectNotFoundException exception) e {}

    do nothing, return of empty collections

    } catch (IMException e) {}

    throw new PenfaxSecurityException (e);

    } {Finally

    If (idStore1! = null) {}

    try {}

    idStore1.close ();

    } catch (Exception e) {}

    }

    }

    }

    List of users of = users1;

    If (users.isEmpty ())

    Returns a null value.

    on the other

    Return users.get (0);

    }

  • By default a LoginId in ExternalSystemId of the user

    Hello

    I would by default a user login ID in the ExternalSystemId of a user.
    For example, if the SignId ACCENTURE/EG5656, I want the default 'EG5656' in the ExternalId.

    I tried this [< LoginId >] with a default value of the post, but it does not work after the user created...

    -What someone knows a solution?

    THX, best regards,.
    Vincent

    Default post external Uniwue with Alias id
    put that none in alias

  • What default tblspc must OWBSYS_AUDIT and type of users be assigned to?

    Hello

    This issue is related to another issue, that I asked earlier about policy violations. As a result the following users:
    APEX_030200
    OWBSYS_AUDIT
    OWBSYS
    APPQOSSYS
    being assigned to the default table of SYSAUX space, EM reports a violation stating that these users should not have this as their default tablespace tablespace.

    Because of this, I have assigned the default tablespace for the users to be the USERS tablespace. It looked as if it was the right decision to Aman mentioned that these users use not quite "normal" and they should probably not be in the USERS tablespace.

    Question: What default tablespace assign to these users? If I leave them in the SYSAUX, I EM report a policy violation. If I reassign them to storage to USERS, this apparently isn't the best thing to do either. What is the default tablespace right to assign to these users (I should create a storage space for these users?)? (Preferably one that would meet the EM if possible). How administrators have dealt with this 'problem' in their facilities?

    Thank you for your help,

    John.

    Hello

    Since they are the super user of the application they handle. I guess it would be better to have a default tablespace by the application.

    for example:
    APEX_030200 - Oracle Application Express - TablespaceA
    OWBSYS_AUDIT - workflow Oracle - TablespaceB generator
    OWBSYS - Oracle Workflow - TablespaceB constructor
    APPQOSSYS - Not much of course what application is using - I would be fine with this saw users tablespace.

    Concerning
    Anurag Tibrewal.

  • regular expression for LOV?

    I have a list of strings in a LOV. I tried filtering by typing in ' ^ disc "in the search bar, that I hope will return a list of strings starting with 'disc', but I failed.

    Any idea on how to use regular expressions for LOVs? Thank you!

    HI Buffalo,

    I have an element of the selection list in my named page1: P1_EMPNAME with the value of query lov

    Select ename, ename from emp WHERE EGEXP_LIKE(ename,:P1_SEARCH) r like as or: P1_SEARCH IS NULL

    I have a text box search in my page 1 name: P1_SEARCH

    When I run the page, by default all empnames appear in the lov list item
    I gave ^ bison in the element of text search and click on the button submit, it shows the buffalo employee in my lov point list.

    If you want all entries beginning with S, get ^ s
    Ends with R, use r$

    Please try this link http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28424/adfns_regexp.htm

    Thank you
    Logaa

Maybe you are looking for