[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).*

Similar Messages

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

  • Add a form (based on query) to a form (based on table)

    I have a normal form based on a table. I want to put in a little form in a region of this first form that is based on a query. They have one field in common.
    How can I do this?
    Elsie

    Hi Elsie,
    Effectively, you want to end up with a single form and save the data back into two or more tables?
    If so, you could base the entire form on a SQL view and use an INSTEAD OF trigger to update the underlying tables.
    Regards
    Andy

  • 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

  • Child forms are not getting displayed when user is linked through the targe

    I have provisioned the users to OID through OIM and we have the three child forms(USRB_ROLB,USRB_GRPD,USRB_NBNB) which work well when the user flow normally. Our normal flow implemented is that user comes from OHCM and get created in OIM and then get provisioned to AD and OID. We have also implemented the OID target recon. When we create the user directly in OID and then create the user through normal flow ie from OHCM to OIM) as expected the create user task fail as the user is already present in the OID (target system). Then after running the OID target recon the user is getting linked but its not showing the child forms in the new process form created after running the target recon.
    Please let me know if you require more information.
    Please let me know if anybody has encountered this issue and the steps to resolve the same

    what happened when you run target recon without creating user in oim(or just create user in oim without access policy and then run target recon)? Is this work fine?
    If no means you have to verify your child table mapping. But if above work then this the Produce/connector issue and may you need to raise SR

  • Disable Parent Form while invoking Child Form using FND_FUNCTION.EXECUTE

    Hi,
    Any inputs in getting this issue resolved would be really helpful? I have a parent form wherein I am calling Child form (Line Details Form) by passing the masterid it works fine. Here How do we refrain the user control to access master form when child form is opened? Here when child form is invoked by click of a button and try to close the master, still I could see the child form opened. Any help will he highly appreciated. Many Thanks.
    Please find the details of the db version and function being used to invoke the form. I tried with all parameter options, when we give Open_flag as 'N', the master form gets closed after opening the child form. Perhaps given the open_flag as 'Y'. Kindly let me know your inputs in case of any missout from my end.
    Forms Version: Oracle Forms 10g
    Version: Oracle Applications : 12.1.3
    Database Version: 11.1.0.7.0
    fnd_function.execute(
    FUNCTION_NAME=> 'CHILD_FORM_LINE_DETAIL'                                                   ,OPEN_FLAG=>'Y'
         ,SESSION_FLAG=>'Y'
         ,other_params=>:Global.master_table_ID
    Thanks,
    Ahmed

    Hi,
    Please review the following documents and see if it helps.
    Note: 93784.1 - Custom Form is Not Executed When Called Using FND_FUNCTION.EXECUTE
    Note: 1031970.6 - Where is FND_FUNCTIONS.EXECUTE defined?
    Note: 744065.1 - Sample CUSTOM Library Code To Customize Applications
    Regards,
    Hussein

  • Unable to refresh parent swing  form components after returning from child

    Hi,
    Not able to refresh the parent swing form components after returning from the child form.
    I am having problem in setting/resettig values to the parant swing form components after returning from child form. In parent form, I am entering values in some of the fields and clicking on Search button in parent form which will open a child window with the search results in JTable. Now selecting a row and writing the selected data to an ArrayList and returning back to the parent. I am able to see the values in the ArrayList, but not able to set any value to any of the parent form components by using the formtextfield.setText("value").
    Thanks
    Yakshak

    create another project
    a frame with a formattedTextfiled and a button
    the button to open a child window
    in the child window use say a JTextField to simulate a search result (type in some dummy data)
    now add the arraylist code that produces the problem
    if this stripped-down version of your program has the same problem, post all of the stripped-down code,
    so we can see what you're doing.

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

  • OIM: Lookup/Search for OIM user to include in a process form.

    running OIM 11.1.1.5
    I have a form for a custom provisioning target. One of the form fields (UD_RESOURCE_RESPONSIBLEUSER) is to be defined as a lookup query and I need to have the lookup query search users to assign to this field.
    Can anyone point me to a sample lookup query that can be used to populate a query box, similar to the "MANAGER" attribute is populated in OIM? What if I wanted to have a multi-valued attribute (i.e.: have more than one responsible user? )
    Thanks in advance

    Refer:
    User list lookup
    or
    Lookup Query
    And for multiple values, make UD_RESOURCE_RESPONSIBLEUSER a child table

  • Populating the Lookup values in AD Child Form based logged in user

    HI,
    Below is the Lookup code(AD Groups) format.
    Codekey , Decodekey
    IT-Development , IT-Development
    IT-Testing , IT-Testing
    IT-Production , IT-Production
    HR-system , HR-system
    HR-Finance , HR-Finance
    My requirement is I need to filter the data being presented in the lookup according to the logged in user in ad child form,
    If i am logged in as xelsysadm the lookup presents all groups.
    If i am logged in as IT administroter the lookup presents only the IT Related groups(EX:IT-Development,IT-Testing....).
    If i am logged in as HR administroter the lookup presents only the HR Related groups(EX:HR-System,HR-Finance...).
    like this we have contains so many administrators.
    We are desiding the administrators based on user form field.
    The Field contains the value like HR-Related,IT-Information Technology.....
    How can i achive this?
    Thanks in advance.
    Edited by: 790561 on 4/12/2011 17:48
    Edited by: 790561 on 5/12/2011 12:02

    Hi Rajiv,
    Thank you for quick reply,
    When i am login as IT administrator and i provisioned user to AD it showing the IT Related groups in ad child form based on your Suggestion.
    If i logout and login as a HR administrator and i edit the child process form of the same user still its showing IT Related Groups only.If I revoke and provision user to ad again with HR administrator this time its showing HR Related groups in AD Child form.
    I think based on the requester its showing the values.
    But i want to filter groups based on logged in user.
    EX:If i login as IT administrator and provision the user to AD in Child form its showing the IT Related groups only its correct.
    If I logout and login as HR administrator and i edit the same user AD Child form its showing the IT related groups only its not correct.this time it shows only HR Related.
    Any solution....
    Thanks in advance.

  • Populating the Lookup values in AD Child Form

    HI,
    Below is the Lookup code format.
    Codekey , Decodekey
    IT-Development , IT-Development
    IT-Testing , IT-Testing
    IT-Production , IT-Production
    HR-system , HR-system
    HR-...... , HR-......
    HR-...... , HR-.......
    In AD Process Form one of the field containing the valuee like " IT","HR".
    My requirement is if I select the "IT" in My AD peocess form field value.....In AD child form lookup field Shows values only Starts with "IT".Below is the sample.
    IT-Development , IT-Development
    IT-Testing , IT-Testing
    IT-Production , IT-Production
    If I select the "HR" in My peocess form field value.....In AD child form lookup field Shows values only Starts with "HR".Below is the sample.
    HR-...... , HR-......
    HR-...... , HR-.......
    How can i achive this?
    Thanks in Advance.
    Edited by: 790561 on 18/09/2011 19:52
    Edited by: 790561 on 18/09/2011 21:34
    Edited by: 790561 on 19/09/2011 14:22

    Hi,
    Thanks for Reply,
    my exact requirement is as followes,
    In my environment for each department(IT,HR) having one administrator(IT Administrator,HR Administrator).
    If login as a IT Administrator and at the time of provisioning user to "AD" in Child form lookup code only shows IT Related data as below...
    IT-Development , IT-Development
    IT-Testing , IT-Testing
    IT-Production , IT-Production
    If login as a HR Administrator and at the time of provisioning user to "AD" in Child form lookup code only shows HR Related data as below...
    HR-...... , HR-......
    HR-...... , HR-.......
    How can i achive this?
    Thanks in advance.
    Edited by: 790561 on 19/09/2011 19:20
    Edited by: 790561 on 19/09/2011 21:20

  • Custom Target Reconciliation with child form entries in OIM 11g

    Hello experts,
    I have developed custom scheduler code to reconcile users from target system to OIM. In this code I am using the API createReconciliationEvent(java.lang.String psObjectName, java.util.Map poData, boolean pbFinishEvent). If the reconciled user does not have any child form entries(like roles and groups) then the user account is linked to OIM user profile but if the user has child form entries then user is not getting reconciled to OIM. In the logs it says...
    oracle.iam.platform.utils.SuperRuntimeException: -104: Error occurred in XL_SP_RECONEVALUATEUSER while processing Event No 849 Error occurred in XL_SP_RECONREQDATACHECK while processing Event 849 'Event Received' is an invalid event status. Valid event states are Data Received,Data Validation Failed,Being Re-evaluated,Being Re-tried
    at oracle.iam.reconciliation.dao.ReconActionDao.executeUserMatch(ReconActionDao.java:393)
    at oracle.iam.reconciliation.impl.UserHandler.process(UserHandler.java:64)
    at oracle.iam.reconciliation.impl.ActionEngine.processEvent(ActionEngine.java:194)
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.processReconciliationEvent(ReconOperationsServiceImpl.java:982)
    at oracle.iam.reconciliation.api.ReconOperationsServiceEJB.processReconciliationEventx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy334.processReconciliationEventx(Unknown Source)
    at oracle.iam.reconciliation.api.ReconOperationsService_emc07d_ReconOperationsServiceRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    Here is my code...
    public void reconCall(String ResourceObject, Hashtable mUserDetail)
    ReconOperationsService tcreconObj =null;
    EventAttributes eventattr= new EventAttributes();
    ArrayList roles=roleOfUser(mUserDetail.get("CommanName").toString(),mUserDetail.get("OrganizationUnit").toString());
    ArrayList groups=groupOfUser(mUserDetail.get("CommanName").toString(),mUserDetail.get("OrganizationUnit").toString());
    if((roles.size()==0)&& (groups.size()==0))
    eventattr.setEventFinished(true);
    else
    eventattr.setEventFinished(false);
    try
    LOGGER.info("In com.gapp.recon.tasks.ReconAllUsers reconCall()");
    LOGGER.info("Creating object of Thor.API.Operations.tcReconciliationOperationsIntf");
    tcreconObj = Platform.getService(oracle.iam.reconciliation.api.ReconOperationsService.class);
    LOGGER.info("Creating reconcilation event");
    long lnreckey = tcreconObj.createReconciliationEvent(ResourceObject, mUserDetail, eventattr);
    if(roles.size()==0)
    LOGGER.info("there are no roles for the user");
    if(roles.size()>0)
    tcreconObj.providingAllMultiAttributeData(lnreckey, "RoleName", true);
    LOGGER.info("Iterating roles");
    LOGGER.info(roles.toString());
    for(int k=0; k <roles.size(); k++)
    LOGGER.info("Iteration "+k);
    HashMap multiroles=new HashMap();
    LOGGER.info("Adding role to hashmap");
    multiroles.put("RoleName", roles.get(k));
    LOGGER.info(multiroles.toString());
    long j= tcreconObj.addMultiAttributeData(lnreckey, "RoleName", multiroles);
    LOGGER.info("addMultiAttributeData key "+j);
    if(groups.size()==0)
    LOGGER.info("There Are No Groups For This User");
    if(groups.size()>0)
    tcreconObj.providingAllMultiAttributeData(lnreckey, "GroupName", true);
    LOGGER.info("Iterating groups");
    LOGGER.info(groups.toString());
    for(int k=0; k <groups.size(); k++)
    LOGGER.info("Iteration "+k);
    HashMap multigroups=new HashMap();
    LOGGER.info("Adding group to hashmap");
    multigroups.put("GroupName", groups.get(k));
    LOGGER.info(multigroups.toString());
    long j= tcreconObj.addMultiAttributeData(lnreckey, "GroupName", multigroups);
    LOGGER.info("addMultiAttributeData key "+j);
    // LOGGER.info("executing processReconciliationEvent");
    tcreconObj.processReconciliationEvent(lnreckey);
    //LOGGER.info("executing finishReconciliationEvent");
    // tcreconObj.finishReconciliationEvent(lnreckey);
    // LOGGER.info("executing updateScheduletaskattribute");
    }Pls Help.
    Thanks

    You gotta specify your child table recon-field in the process definition mappings as a Key Field. Refer OOTB AD connector and check:
    Process Definition -> AD User ->Reconciliation Field Mappings -> memberOf

  • How to create Lookup field in user form in OIM 11g - Urgent

    Hi Experts,
    How to create Lookup field in User Form - OIM 11g.
    Pls. provide your support on priority.
    Regards
    Karan

    Thanks all for your suggestion.
    Our requirement, is we need to have a user defined field similar to how its there in "Organisation".
    For example we need to create an user defined field like "Service Holding" which holds different services say like Service 1, Service 2, Service 3 etc.
    Under each service there are multiple roles....
    Eg:
    Service 1 - Role 1, Role 2, Role 3
    Service 2 - Role 4, Role 5
    Service 3 - Role 6, Role 7, Role 8
    Is there a way to store multi-valued attribute in OIM UDF? If so, pls. guide us
    If its not possible we would need to create a Lookup field (something similar to Organization or Manager). User clicks on the button (lens button), which should invoke an API wherein he can select specific Roles and save in User. Eg. like Service 1 - Role 1#Service 2 # Role 5 and store in the backend database.
    Is this possible. Pls. guide.
    Regards,
    Karan

  • Lookups and Child forms

    Hi,
    I have two child forms for a parent form. Each child form is attached to a lookup. Is it possible to display details of the second child form based on the values selected in the first child form? If I select values A and B from child form 1 then in the lookup of child form 2 I should show the values related to A and B. Could you tell me how can I achieve this?
    Thanks,

    Based on previous SR's i have submitted, i do not believe this is possible. Even getting parent form information to the child form is not possible.
    -Kevin

Maybe you are looking for

  • Modifying SAP Tables directly

    Hi Friends, As per SAP, no one should update SAP standard tables diectly. I mean direct modification of data in standard table is not a good practice. But my query is, whether it is been mentioned in any Notes or Best Practice? <removed_by_moderator>

  • Why doesn't Web Proxy Server use default route?

    After downloading Sun Java Web Proxy Server, I notice that the path to retrieve URLs from the internet does not go out the default route. However my pings, traceroutes, telnets, etc. to the same URLs do go out to the default route correctly. I have t

  • Edit or copy a lens profile?

    Ive got a Canon 55-250mm f/4-5.6IS II canon lens (previously used a borrowed non vII) and come into a problem. Lightroom has a lens profile for the old one, picks it up on auto and applies the correction perfectly so no problems. However it DOESNT ha

  • App store keeps on crashing in ios 6 on my ipod touch 4 gen

    Everytime i search for anything in app store it searches and loads the seatch results but then crashes and then closes down the store this has started happening after the update to IOS 6 Can anyone please help me as soon as possible

  • Is this user an administrator?

    I am in Boot Camp Public Beta, and I start reading "Running OS X on a PC?" (http://discussions.apple.com/thread.jspa?threadID=473608&tstart=0), which basically says this guy is sayign that Boot Camp should be released for Windows, only it has the Mac