Lookup Query

In Form Designer in OID grp form in properties tab
In Lookup query
I have tried giving option a,option b
a)Select act_key from usr where usr_login='$Requester Information.User Login$'
b)Select ACT_KEY from USR where USR.USR_LOGIN = '$Requester Information.User Login$'
In lookup coloumn name=act_key
In coloumn width =10,100,100
In coloumn names=act_key
in coloumn caption =act_key
But when I am log in with any user, in process form for groups error is coming saying"Lookup properties not configured correctly"
Please help me with exact query whto give in lookup query

Refer this:
User list lookup
Column Names = usr_key,usr_first_name,usr_last_name
Lookup Column Name = usr_key
Lookup Query = Select usr_key, usr_first_name, usr_last_name from usr //(where act_key=123)
Column Captions = User Key,First Name,Last Name
Column Widths = 10,100,100
Have you tried this:
b)Select ACT_KEY from USR where USR_LOGIN = '$Requester Information.User Login$'
In lookup coloumn name=act_key
In coloumn width =100
In coloumn names=act_key
in coloumn caption =Organization Key

Similar Messages

  • Error in using Lookup Query - OIM 11g

    Hi Guys,
    I am trying to use following lookup query:
    select usr_key, usr_login from USR where usr_status = 'Active' and have following mapping defined in the process form:
    Column Width = 200
    Lookup Column Name = usr_login
    Column Names = usr_key, usr_login
    Column Captions = USER_KEY, USER_LOGIN
    The values are getting populated properly while searching for the lookup. But when I click on 'SELECT' button. It throws error. saying 'A system error occurred'
    I see following error in the log:
    <Jul 4, 2011 7:19:07 PM IST> <Error> <XELLERATE.WEBAPP> <BEA-000000> <Class/Method: tcLookupFieldAction/selectedValue encounter some problems: {1}
    Thor.API.Exceptions.tcColumnNotFoundException
    at Thor.API.tcMetaDataSet.getStringValue(tcMetaDataSet.java:368)
    at com.thortech.xl.webclient.actions.tcLookupFieldAction.selectedValue(tcLookupFieldAction.java:1723)
    ### Steps to Reproduce Problem ###
    1. Create a new process form
    2. For one of the column, assign following properties:
    Lookup Query = select usr_key, usr_login from USR where usr_status = 'Active'
    Column Width = 200
    Lookup Column Name = usr_login
    Column Names = usr_key, usr_login
    Column Captions = USER_KEY, USER_LOGIN
    3. Activate the form
    4. Open the resource in Web Console
    5. Search for that lookup.
    6. Select any of the value
    7. Press 'Select' button. Error is thrown.
    Could somebody please help me out with this issue?
    Thanks,

    Got the solution:
    tcColumnNotFoundException with Lookup Query

  • OIM 9.1.0.1 Lookup -  Lookup Query

    Hi all
    We have already develop connector. But still have some questions...
    Parent process form with two lookup fields where second lookup values depends of the first lookup selected value.
    We have created second lookup like 'Lookup Query', yes we see right CODE, DECODE with relation of first lookup, and when pick value, only one value (DECODE or CODE) can be passed, not like simple Lookup ( when pick row ( DECODE and CODE ) saved to DB, and next review of the form field show DECODE value (but in mind) it is CODE) :)
    i want 'Lookup Query' with behavior of simple Lookup.
    any suggestions, it is possible?

    I'm positive there's a great way to do it with SQL, but you'll need to look at 4 tables:
    1) OBJ (Objects) - Here you are looking in OBJ_NAME for 'OID User', once found get the OBJ_KEY value for the row.
    2) OST (Object Status) - In this table, you can find all the statuses for the OID User resource based on the OBJ_KEY value. Look for the applicable ones and get the OST_KEY value for each row.
    3) OIU (Object Instance for Users) - Now you can query this table for all results where OST_KEY equals the desired values as found in step 2.
    4) USR (Users) - Here you can get the User ID's (usr_login), User Key (usr_key) or any other value for users to help with the query.

  • Can we make the Lookup Query more dynamic?

    Hello OIM gurus,
    I have a lookup field in my process form and I am entering the properties of this field with the design client, such as Column Names, Captions, widths, Lookup Query etc. I would like to make the Lookup query a little more flexible in that it can take in different lookup codes based on some criteria. To be specific, I would like the lookup query specific to each resource.
    A sample of my query is: 'select v.lkv_encoded,v.lkv_decoded from lkv v, lku u where u.lku_key=v.lku_key and u.lku_type_string_key='<my lookup code>'
    I have lookup codes that are specific to each resource and I would like to use these codes here. I see some things like $Process Data.xxx$ and I am not sure how to use this or change the lookup code dynamically. Or is there a totally different way to do this?
    Thanks in advance
    -SK

    Hi ,
    can anyone please let me know the exact usage of Lookup Quey. I tried to find out in OIM docs but end up with no luck. By this post i am able to write basic lookup query (find out the USR_Login from USR table). I have couple of queries which i am not sure about and will apreaciate if anyone could provide me answer
    1. We have to add property - Lookup Column names, Column names, Column width and Caption for lookup query. What are their usage and restrictions (what values we can use and what we cannot).
    2. I am using my lookup field currently in AD resource form. My requirement is to provide manager options to search for user (in AD resource form only) for his/her direct reports having AD account. For this i tried to lookup the query on UD_ADUSER table but it is giving me error (even resource form on console is not coming up) Does LookupQuery is not much flexible to query the connector tables. if so how can i compete my requirement.
    3. Does lookup querry (in resource form) provides you option to provide the filter as per user attribute value in OIM user profile.
    Thanks.....

  • Lookup Field with a Lookup Query on Process Form in OIM 11gR2

    Does anyone know how to render a field on a process form so that when modifying the field for the resource a "Search and Select" window appears and allows the user to search for the value based on the lookup query defined for the field in Design Console? The lookup field has been defined as a lookup query through Design Console and tested by previewing the form in DC. When creating the Form through OIM System Administration the field is created as a Text Field, not a Lookup. Creating a new Field through OIM System Administration only allows you to create the field using a lookup code not using a lookup query. I've tried to remove / add the field in the UI (create sandbox, customize, etc.) and add it back as a Input LOV but it doesn't get added and the error in the logs say java.lang.RuntimeException: Input LOV is not supported for this attribute, please make this attribute searchable in order to drop this as an input LOV. The field is defined as searchable in the Form Designer in OIM System Administration. In fact I can't even add it back as an ADF Input Text Field w/ Label, I suspect I'll have to "Regenerate" the form to even get it back on the form. Any help is appreciated. Next step is to try to export the sandbox, massage and import.
    Thanks,
    Ryan

    Finally got an answer out of Oracle after trying to figure this out as well. Apparently Lookup Queries are not supported at all by the R2 Web UI. They indicate that according to product management this will not be fixed.

  • Lookup query in OIM 11g R2

    Hi,
    I am written a lookup query in  child form to filter the lookup in designconsole . but the lookup query is not getting executed, The old lookup name is shown when i am opeing the form in web ui (systemadmin) formdesigner.
    Any suggestion why the lookup query is not working?

    From the installation media, copy and extract contents of the bundle/ActiveDirectory.Connector-1.1.0.6380.zip file to the CONNECTOR_SERVER_HOME directory
    Refer http://docs.oracle.com/cd/E22999_01/doc.111/e20347/deploy.htm#CHDDJGIG

  • LookUp Query in OIM

    Hi All
    I have to use the lookup query property for a lookup field type in my form.
    this is my query
    select lkv_decoded from lkv where lkv.lku_key=(select lku.lku_key from lku where lku_type_string_key='LookUp.Users.Brand') and lkv_encoded='ab'
    i have to display vale of lkv_encoded in my field.
    for that i have put values of 'lookup column name' and 'column names' properties in the property dialog box as lkv_encoded.
    now although it is returning proper value in preview form.
    but when i try to do this through console it is showing me "Contact System Administrator" error.
    please guide me regarding this.
    Thanks.

    Hi,
    I have already used lkv_decoded it was a typo mistake in previous post.
    I even tried using it as "select lkv_decoded as usr_login from lkv where lkv.lku_key=(select lku.lku_key from lku where lku_type_string_key='LookUp.Users.Brand') and lkv_encoded='ab' " and for values of 'lookup column name' and 'column names' properties in the property dialog box as usr_login.
    Is there any document regarding this that I can refer.
    It is still not working for me.
    Thanks in Advance.

  • Is it possible to apply conditional formatting to a cell (or range) based upon a LOOKUP query to cell values in another sheet.? I want to alter the formatting (i.e., text and/or cell background color), but not cell content.

    Is it possible to apply conditional formatting to a cell (or range) based upon a LOOKUP query to cell values in another sheet.?
    I want to alter the formatting (i.e., text and/or cell background color), but not the content, of the target cell(s).

    Hi Tom,
    Your LOOKUP formula will return a value that it finds in the "other" table. That value can be used in conditional highlighting rules. (Numbers 3 calls it conditional highlighting, not conditional formatting. Just to keep us awake, I guess, but it works the same).
    Please explain what you are trying to do.
    Regards,
    Ian.

  • Lookup Query Variables

    Hi.
    I'm trying to feed a lookup field in a child form, with a Lookup query for provissioning .
    I'm trying to use this:
    select 100 as lkv encoded,'$Process Data Information.Profile Name$'  as lkv_decoded from dual
    also tried
    select 100 as lkv encoded,'$Object Data Information.Profile Name$'  as lkv_decoded from dual
    but no luck.
    Note: If I use '$Requester Information.Users Login$', I get the data
    Which variables can I use?
    Thank You.

    I've found this, which is just what I need.
    Can we make the Lookup Query more dynamic?

  • Problems with lookup query

    Hi all,
    I added a lookup query in a form.
    The query is:
    select lkv_encoded ,lkv_decoded from lookup_ad_folder_vw where lkv_encoded not in (select encoded from ad_folder_vw where usr_login = '$Requester Information.User Login$')
    I need to filter by the beneficiary's username.
    This query works if the request is a self-service request. But if it is requested by other people, it doesn't work. Because the parameter "$Requester Information.User Login$" gets the requester login.
    My question is the follwing:
    How can I get the beneficiary's username?
    Are there any workaround for this?
    Thanks,
    Ariel

    As this looks moreover like a Object Form, so their is nothing you can do in this query to get the Beneficiary's username. The reason is simple that you can select multiple target users in the same request with the same Object Form and OIM in that case would not be aware as to which information from all the beneficiaries should be supplied.
    If this would have been a Process Form then individual beneficiary username could directly be mapped as every user would have its own sub-thread in that case during provisioning.
    Thanks
    SRS

  • Problem with lookup query in clustered enviornment!!!

    Hi,
    I have a lookup query in object form which will bring all users in OIM. It works fine on Standalone. But what I really dont understand is that when I use the same lookup in clustered enviornment(weblogic cluster and oracle DB cluster) it doesnt work. it brings up empty lookup.
    My lookup query is configured with the following properties:
    Defined field in object form
    - LookupQuery, Select usr_login, usr_first_name, usr_last_name from usr
    - Column options, User ID,First Name,Last Name
    - Column Names,usr_login,usr_first_name,usr_last_name
    - Lookup column name, usr_login
    - Column width, 10,100
    Thanks,
    doki
    Edited by: doki.prasad on Jun 9, 2009 11:25 AM

    Did you resolve this issue? I see a similar problem
    Thanks.

  • How to get the requestee userlogin in lookup query

    Hi,
    I have a lookup query attached with a field in object form and in that query i am fetching the results based on requestee login. In the forums i could see USR_LOGIN = '$Requester Information.User Login$'. Is there any way to retrieve the requestee login. Thanks in advance

    I wonder that would ever be possible and here is the justification:
    You can add multiple benefeciaries/requestee in a request with a single Object Form. In such cases OIM doesn't want to confuse itself with the reasoning that it has to pass which out of all the existing benefeciaries. You can always do it using OIM tcRequestOperationsIntf API.
    By the way what does your use-case do in case of multiple requestee's in the same request.
    Thanks
    SRS

  • Issue with lookup query OIM9.1

    Guys,
    I am trying to set lookup query for my object form, but its giving me error "Required property not set". I have ran the query in sql client and its working perfectly fine.
    Thanks in advance.
    Thanks.

    Check this: LookupField with Lookup Query
    and Re: Lookup Column name
    and Re: Conditional forms
    and Re: Lookup Queries doesn't work when the source column is a ComboBox
    -Bikash
    Edited by: Bikash Bagaria on Dec 19, 2012 10:24 AM

  • [OIM] - Form Complex Lookup Query on child form

    Hi all expert
    I have two form, which is parent-child relationship.
    I need to form a lookup query on child form's lookupfield to let user select the value but lookup query depens on the parent form on what user selecting..
    Example as:
    Parent form - Country Code - 100
    Child Form - Department Code - Lookup query will be = Select DepartmentCode From DeparmentLookup where country ="100"
    The "100" value depends on what user choice on CountryCode fro mparent form.
    Can i do something like this ?
    Thank in advanced
    John

    This happen for a property setting in the relation. try this..
    Select all your relation in the form under Relation nodes (data block >> relation)
    go to property or press F4 and set the following property to YES
    Prevent Masterless Operations = Yescompile and check..
    Hope this will works.. ;)
    Hamid
    Mark correct/helpful to help others to get right answer(s).*

  • OIM Lookup query question

    Hi All,
    do you think is possible to define a lookup query to display the DECODE value and store the CODE vale in the DB(the same behaviour having Lookup code)?. I tried several configurations but no way, seems that OIM show and store the value present in the "Lookup Column Name" attribute.
    Thanks you in advance

    Hellooowww:
    Did you resolved the issue:
    "do you think is possible to define a lookup query to display the DECODE value and store the CODE vale in the DB(the same behaviour having Lookup code)?. I tried several configurations but no way, seems that OIM show and store the value present in the "Lookup Column Name" attribute."
    I will wait for your answer!!.... TNKS!!

Maybe you are looking for

  • How Can I Learn To Develop Flash Games For Under $50.00 USD?

    I am completely new to anything Flash. I have never written a single line of Actionscript. I don't know the difference between Flash and Flex. I don't know in what forums Flash developers hang out. I don't even know what kind of coffee they drink, or

  • ITunes no longer categorizing music

    I just changed computers. All my music was backed up on an external hard drive. I downloaded new iTunes version and put my iPod files back into program files. iTunes is up and my iPod is recognized. Also put my old music files back in the proper my m

  • Is it possible to do a GLOBAL color change for both text and graphics in ACrobat XI?

    I used to do this using the Pitstop Pro plugin but now Pitstop is almost $900 and this is the only thing that I would use it for, not worth the investment I can change text color by selecting individual text items, but I want to change all of the red

  • Agent Inbox Refresh

    Hello experts, I have a requeriment for an agent inbox in CRM 7.0, i need to refresh automatically the inbox. I reviewed the BAdI: Agent Inbox, but i don´t find a method to do this. How i can do this? Any help will be highly appreciated. Thanks, Migu

  • XI FILE SRVICE

    Hi i have problem in xi. i build scenario proxy to file. i want that the file will copy to other dictionary with time stamp, so i think to build two file service but i don't know how to insert the second file service to the scenario Maybe someone hav