OIM 11g R1: Exporting data object permissions

Hi all,
Does anyone know if there is anyway to export/import data object permissions on roles?
They don't seem to be exported with the role, or with role and organization metadata. Have I missed something?
Thanks!

What kind of DataObject permissions are you exporting ?
Permissions are always associated with some OIM Components. When you export that component then it will be exported Automatically.

Similar Messages

  • OIM 11g: Event Handler "Data Object"

    Is there any way in the OIM 11g Users event handler model (pre-insert) to get a "data object" type structure of the column names and values which will be inserted into the database (i.e USR_FIRST_NAME = "John"). This would be similar to what the legacy 9.1x event handler model provided via the getDataObject() method.
    I know how to get the data from the orchestration parameters, but for our requirements we need the data to be keyed by database column name ("USR_FIRST_NAME") and not field name as in the orchestration params ("First Name").
    OIM must do this conversion at some point (field name -> database column name). Can we somehow leverage this same function?
    Thanks.

    You can accomplish through if statements in your event handler to check for the attributes that determine the logic. For example, if your user's last name changes, you can check the orchestration.getParameters() to see if it contains a key for "UserManagerConstants.AttributeName.LAST_NAME.getId()" and if it does, then perform your logic to update the user.
    You could also come up with a lookup that can be referenced for these and have your own custom java code that outputs information based on the values in the lookup. Just think creatively and anything is possible.
    Or you can get a connection to the database, and have a constants file that translates the metadata names back to database fields and continue to use your existing code.
    Lots of options.
    -Kevin

  • Importing oim 9.1 exported data to oim 11g?

    Hello,
    I just read a few recent threads on upgrading from 9.1 to 11g... It sounds like there isn't a path to 11g at the moment.
    But has anyone tried exporting oim 9.1 data and using oim 11g Deployment Manager to import the 9.1 exported data in?
    We've invested about 4 man years in our current oim 9.1 solution. Just can't affort to throw too many things away!
    Appreciate any feedback.
    Thanks and cheers,
    Luke

    For the time being, stick with what works. Right nows the approval process form 10g does not exist in 11g so it cannot be migrated. There are a few other changes such as event handlers and entity adapters and pre-populate adapters and i'm sure many more. Wait for 11g to mature a bit more and provide the path you need to upgrade. Your implementation will not end with the current state, just don't be in a hurry to move forward to the 11g version. And remember, if it isn't broken, don't fix it. Unless you are in dire need of the functionality that 11g is going to give over 10g, then stay where you are at for the time being.
    -Kevin

  • OIM 11g R2 Exporting UDF without sandbox!

    Hi, I'm trying to export the UDFs att from a User Form, but I lost the sandbox whit i make the customizations.
    Is there any way to recover the Sandbox or export this att to another OIM 11g r2 Server??
    Regards!!

    If you create new sandbox and modify any UDF and export that sandbox before publishing.
    Once you publish sandbox of UDF and then you try to export sandbox in that case you will lost your UDF changes.
    For UDF's always export sandbox before publishing sandbox. so that you have exported sandbox which you can import into another environment.

  • How do I export data object reference?

    Hello,
    I have a reference variable declared as below -
    DATA: go_myobject TYPE REF TO cl_gos_manager.
    This should be made available in another program. Export statement gives an error stating go_myobject cannot be or contain a reference.
    Please suggest.
    Thanks,
    Sita.

    Hi Sita,
    Let's assume your program name in ZTEST and you written below code.
    DATA: go_myobject.TYPE REF TO cl_gos_manager.
    CREATE OBJECT go_myobject.
    And have access methods of go_myobject.
    If you want to access reference of go_myobject of program ZTEST from other program and your program ZTEST would available in Stack which I assumed your case. You can access reference by get variable (ZTEST)go_myobject from other programs.
    Hope this helps.
    Regards
    Nimesh Patel.

  • OIM 11g R2 -Request Data

    Hi,
    We have users being reconciled from a flat file and we have a post eventhandler that raise a resource request (AD, Exchange) for all the users being on-boarded. Now the requester is coming in as OIMINTERNAL instead of the user, where should we change in OIM to say the actual requester is the user instead of OIMINTERNAL?//
    Thanks.

    It seems that you are using Platform.getService to get RequestService. It will give you OIMINTERNAL only.
    If you want to use some other user then you'll have to use external method to get UtilityFactory or Request Service i.e. PrivateKey, UserName/Password etc but that is not recommended.

  • Create & export Data objects work untill form is distributed

    I have a form with a button's click even I run
    event.target.createDataObject(cName,CValue)
    event.target.exportDataObject(cName,nLaunch)
    When I test this in preview it works.
    When I test by opening the pdf pre distribution it works.
    when I distribute the form  and open it with Acrobat pro test the button I get:
    NotAllowedError: Security settings prevent access to this property or method.
    Doc.createDataObject:7:XFA:

    Hi,
    Have you tried to obtain the FRD file and see if it has more details about the error?
    Note: 445166.1 - How to create a FRD (Forms Runtime Diagnostic) Log in EBusiness Suite R12 using Forms 10g
    Note: 438652.1 - R12: Forms Runtime Diagnostics (FRD), Tracing And Logging For Forms In Oracle Applications
    Note: 867943.1 - Steps To Take FRD Trace in 11.5.10 & R12
    If none of the documents in your post helped, you may need to log a SR.
    Thanks,
    Hussein

  • Role management in OIM 11g.

    Hi All,
    I am working on OIM 11g PS1.
    In this I want to give some of the users in OIM ability to manage the roles in OIM and view and modify the role and role membership.
    For this the simplest way is to add the user to role 'Role Administrators'.
    Now when I login with user, then this user is able to modify the role, view hierarchy, view and modify membership rule, Data Object permissions but when clicks on 'Members' tab then it throws the error and does not show the members and same error comes when it tries to assign new users in role.
    The same behavior happens for the role owner as well. When the role owner of a role logs in and try to view the members of its own role the same things happens. I have pasted the error below:
    Please suggest if anyone else has come across this issue and is there any step that I may be missing in my configuration.
    The error that comes on GUI:
    "ADF_FACES-60097: For more information, please serr the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #8"
    Error in Weblogic logs:
    "<Dec 1, 2011 10:34:48 AM EST> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled excepti
    ons in phase INVOKE_APPLICATION 5
    javax.el.ELException: java.lang.NullPointerException
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
    at org.apache.myfaces.trinidad.component.UIXShowDetail.broadcast(UIXShowDetail.java:154)
    at oracle.adf.view.rich.component.rich.layout.RichShowDetailItem.broadcast(RichShowDetailItem.java:192)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:121)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthContextFilter.java:107)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: java.lang.NullPointerException
    at oracle.iam.consoles.rolemgmt.utils.PagingUtils.addPagedRoleMembersData(PagingUtils.java:199)
    at oracle.iam.consoles.rolemgmt.tf.details.RoleDetailsBean.initializeRoleMembers(RoleDetailsBean.java:652)
    at oracle.iam.consoles.rolemgmt.tf.details.RoleDetailsBean.loadRoleMembersTab(RoleDetailsBean.java:521)
    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.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    Thanks,
    Sneha

    Hi,
    I found the resolution for this, so I thought I would share it here with everyone.
    I role owners or any user in role "Role Administrators" were not able to view the members of the role though they had the authorization policies enabled and everything setup.
    To enable the view of role membership please follow the steps below:
    1. Login as XELSYSADM
    2. Goto Administration and search for the org which the users are assigned to
    3. Open the org details
    4. Click "Administrative Roles"
    5. Click "Assign"
    6. Choose either "ALL USERS" or your role which you created, set the permissions as you wish and click "Assign"
    This will really solve the issue.
    Thanks,
    Sneha.

  • OIM 11g R2 -Unable to approve view request -Urgent..!!!

    Hi,
    I have:
    1. Configured SOA composite -serial approval
    2. Request go to the manager and manager can view and approve it
    3. Request is then routed to Approval group that is configured as part of composite.
    4. When a user (Test approver) belonging to the role click on the request link he gets:
    IAM-2050075 : User TestApprover does not have permissions on the request 304
    And following exception is thrown:
    <Dec 6, 2012 10:07:45 AM PST> <Warning> <oracle.adf.controller.faces.lifecycle.Utils> <BEA-000000> <ADF: Adding the following JSF error message: IAM-2050075 : User TestApprover does not have permissions on the request 335.
    oracle.iam.ui.platform.exception.OIMRuntimeException: IAM-2050075 : UserTestApprover does not have permissions on the request 335.
    at oracle.iam.ui.platform.exception.OIMErrorHandler.reportServiceException(OIMErrorHandler.java:170)
    at oracle.iam.ui.platform.exception.OIMErrorHandler.reportException(OIMErrorHandler.java:65)
    at oracle.adf.model.binding.DCDataControl.reportException(DCDataControl.java:411)
    at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:416)
    at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:471)
    at oracle.adf.model.binding.DCIteratorBinding.reportException(DCIteratorBinding.java:403)
    at oracle.adf.model.binding.DCIteratorBinding.internalGetCurrentRowInBinding(DCIteratorBinding.java:2280)
    at oracle.jbo.uicli.binding.JUIteratorBinding.internalGetCurrentRowInBinding(JUIteratorBinding.java:500)
    at oracle.adf.model.binding.DCIteratorBinding.getCurrentRow(DCIteratorBinding.java:2203)
    at oracle.adf.model.binding.DCControlBinding.getCurrentRow(DCControlBinding.java:387)
    at oracle.jbo.uicli.binding.JUControlBinding.getCurrentRow(JUControlBinding.java:98)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetRow(JUCtrlValueBinding.java:1314)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2740)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2729)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.getInputValue(FacesCtrlAttrsBinding.java:185)
    at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2314)
    at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:277)
    at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:749)
    at javax.el.MapELResolver.getValue(MapELResolver.java:196)
    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
    at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.getBooleanProperty(UIXComponentBase.java:1204)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.isRendered(UIXComponentBase.java:423)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:154)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:213)
    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:343)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
    at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer._encodeChildren(RegionRenderer.java:278)
    at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer.encodeAll(RegionRenderer.java:201)
    Can someone please help on this.

    Hi ,
    1. Have u tried giving testapprover some admin roles and try to approve/reject?
    2. Test approver is in same org or difffernt org than beneficiary user?
    3. check data object permissions of that role

  • AD Trusted Reconciliation Issue in OIM 11g R2

    Hi,
    I am trying to reconcile the users from AD(Trusted Source) to OIM 11g R2.
    I gave object class as User. and User ID in search filter but by default ObjectCategory is getting added in my search filter.
    so my search query ends up something like..
    (&(ObjectCategory=Person)(&(objectclass=User)(uid=*******))) which is not correct for my AD.
    If I give any object class other than User I get following error:
    +oracle.iam.connectors.icfcommon.exceptions.IntegrationException: The value for a key [IntOrgPerson Configuration Lookup] is not defined in the provided map.+
    Though I have given this value in Lookup.Configuration.ActiveDirectory.Trusted ....
    How can I update or remove this ObjectCategory field from my query.
    Regards,
    Abhi
    Edited by: 918619 on Jan 21, 2013 4:11 AM

    Orch[725719:CREATE]oracle.iam.platform.kernel.EventFailedException: IAM-3051103:The create operation on user entity failed in action stage.: at oracle.iam.identity.usermgmt.utils.UserManagerUtils.createEventFailedException(UserManagerUtils.java:278) at oracle.iam.identity.usermgmt.utils.UserManagerUtils.createEventFailedException(UserManagerUtils.java:303) at oracle.iam.identity.usermgmt.impl.handlers.create.CreateUserActionHandler.execute(CreateUserActionHandler.java:182) at oracle.iam.identity.usermgmt.impl.handlers.create.CreateUserActionHandler.execute(CreateUserActionHandler.java:64) at sun.reflect.GeneratedMethodAccessor2302.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at oracle.iam.platform.kernel.impl.EventHandlerDynamicProxy$1.process(EventHandlerDynamicProxy.java:30) at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13) at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:22) at oracle.iam.platform.kernel.impl.EventHandlerDynamicProxy.invoke(EventHandlerDynamicProxy.java:26) at $Proxy254.execute(Unknown Source) at oracle.iam.platform.kernel.impl.OrchProcessData.runActionEvents(OrchProcessData.java:1115) at oracle.iam.platform.kernel.impl.OrchProcessData.access$500(OrchProcessData.java:84) at oracle.iam.platform.kernel.impl.OrchProcessData$8.processWithoutResult(OrchProcessData.java:719) at oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9) at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13) at oracle.iam.platform.tx.OIMTransactionCa

  • Retrieve field value lookup OIM 11g

    Hello! I have a problem to get the value of an attribute lookup, for example, to use this syntax OIM 9
    Lookup Query = select from lkv_decoded lkv, lku WHERE lkv.lku_key = lku.lku_key and lkv_encoded = *'$Form date$. $USR_UDF_DEPARTMENT$'* and lku_type_string_key = 'Lookup.Position_new'.
    What is the syntax used in the OIM 11g? ('$Form Data$.$USR_UDF_DEPARTMENTS$)
    Help me !
    Thanks
    Edited by: 825715 on Feb 10, 2011 8:48 AM

    So,
    I have a form with an LOVs attribute, how to get the value selected in this LOVs and put in a query? (Dependent Lookup)

  • Creating approver only field in OIM 11g R2

    Hi,
    I need to create some fields in OIM 11g R2 request data set, so that those field will be visible only to approvers and they can only enter the data into it.
    In 11g R1 I know how to create those field, but I don't know how to create the same type of field in OIM 11g R2.
    Please help

    Hi ,
    Thanks for your reply .. I am able to understand the scenario what you are trying to explain .. I tried to do the same ...but in my scenario ,this is the problem that I am facing ..
    1)When a user modifies only his First Name then it works fine and gets auto approved .
    2)When a user modifies only his Last Name then it works fine and goes for approval and waits till it gets approved.
    3)Now the problem is when a user modifies both his First Name and Last Name and submits as a single request , how to handle this ? In this case the First Name should get committed and the Last Name should not get committed .. But he has submitted only a single request .. so how to handle this scenario ?How to divide a single request into two to commit one attribute and not commit another one ?

  • Export OIM 11g Resource object with dependencies

    Hi All,
    I am looking for sample code that will export all OIM 11g Resource objects along with dependencies into XML format. Can somebody help?
    I am using the below code to retreive all resource objects but don't have dependencies.
    FileWriter fstream = new FileWriter("OIMResources.xml");
    BufferedWriter out = new BufferedWriter(fstream);
    tcExportOperationsIntf moExportUtility = (tcExportOperationsIntf) ioUtilityFactory
              .getUtility("Thor.API.Operations.tcExportOperationsIntf");
    Collection lstObjects = moExportUtility.findObjects(export_object, "*");
    String s = moExportUtility.getExportXML(lstObjects, "*");
    out.write(s);
    Thanks
    Mahendra.

    Hi Vladimir,
    I am using the below code snippet to do the export of Resources.
    public Boolean export() {
         Boolean result = true;
         //String export_object = Util.config.getProperty(Constants.EXPORT_PATH);
         String export_object="Resource";
         /*if (export_object != null && !export_object.endsWith(File.separator)) {
         export_object = export_object.concat(File.separator);
         //String export_object_path = export_object.concat(xmlFile);
         try {
         FileWriter fstream = new FileWriter("OIMResources.xml");
         BufferedWriter out = new BufferedWriter(fstream);
         tcExportOperationsIntf moExportUtility = (tcExportOperationsIntf) ioUtilityFactory.getUtility("Thor.API.Operations.tcExportOperationsIntf");
         Collection<RootObject> lstObjects = moExportUtility.findObjects(export_object, "*");
         System.out.println(lstObjects);
         lstObjects.addAll(moExportUtility.getDependencies(lstObjects));
         lstObjects.addAll(moExportUtility.retrieveChildren(lstObjects));
         lstObjects.addAll(moExportUtility.retrieveDependencyTree(lstObjects));
         String s = moExportUtility.getExportXML(lstObjects, "*");     
         out.write(s);
         LOG.info(Resource + " Objects are successfully exported --------------->");
         out.close();
         } catch (Exception e) {
         LOG.log(Level.SEVERE, "Exception occured while exporting OIM object - " + Resource, e);
         return result;
    I am not getting its dependent objects as I was getting through OIM Deployment manager console. If I export the details through OIM console, the file size is around 3 MB. If I exported through above java code, file size is 300 KB only.
    Please let me know if I am missing anything.
    Edited by: Mahendra K on Jun 19, 2012 10:19 AM

  • How to polulate data from lookup using request dataset in OIM 11g

    Hi,
    Using Request dataset in OIM 11g, I need to display one dropdown with the roles those need to come from Lookup.
    For Ex; I have 2 resources,i.e Resource A and Resource B. Resource A has 5 roles and Resource B has 3 Roles.
    While creating a request, If I select Resource A, then I should be able to get 5 Roles and if I select Resource B then I should be able to see corresponding 3 roles.
    Pls. note I have only one Look up definition , where I have roles for both Resource A and B.
    I have done simillar thing in OIM 10g , however I am unable to do it using OIM 11g Request dataset.
    Pls suggest.

    Hi BB,
    I am trying to follow up your response.
    You are suggestng to use prepopulate adapter for to populate respource object name, that means We have to just use an sql query from obj tabke to get the resource object name. right ?? it could be like below, what should I have entity-type value here ??
    <AttributeReference name="Field1" attr-ref="act_key"
    available-in-bulk="false" type="Long" length="20" widget="ENTITY" required="true"
    entity-type="????"/>
    <PrePopulationAdapter name="prepopulateResurceObject"
    classname="my.sample.package.prepopulateResurceObject" />
    </AttributeReference>
    <AttributeReference name="Field2" attr-ref="Field2" type="String" length="256" widget="lookup-query"
    available-in-bulk="true" required="true">
    <lookupQuery lookup-query="select lkv_encoded as Value,lkv_decoded as Description from lkv lkv,lku lku
    where lkv.lku_key=lku.lku_key and lku_type_string_key='Lookup.xxx.BO.Field2'
    and instr(lkv_encoded,concat('$Form data.Field1', '~'))>0" display-field="Description" save-field="Value" />
    </AttributeReference>
    Then I need think about the 'Lookup.xxx.BO.Field2' format.
    Could you please let me know if my understanding is correct?? What is the entity-type value of the first attribute reference value?
    Thanks for your all help.

  • Export User Attributes in OIM 11g

    Hi,
    Can anyone let me know how to export User defined attributes in OIM 11g (11.1.1.5)? I couldn't find option in export manager for user defined fields (as in 9.x version).

    bbagaria wrote:
    madhatter wrote:
    BTW, the result of exporting the "User UDF" category contains the /file/User.xml too. So, you need not deal with metadata directly to get this file.Interesting, never worked for me.Use the code snippet in the Export section at http://idmclub.wikidot.com/import-export-deployment-artifacts
    Use "User UDF" instead of "Resource". You will get something like the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <xl-ddm-data version="2.0.0.0" user="XELSYSADM" database="jdbc:oracle:thin:@localhost:1521/orcl" exported-date="1312490747931" description="">
    <Form repo-type="RDBMS" name="USR" subtype="User UDF">
    <SDK_ORC>0</SDK_ORC>
    <SDK_SCHEMA>DEV_OIM</SDK_SCHEMA>
    <SDK_DATA_LEVEL>2</SDK_DATA_LEVEL>
    <SDK_DESCRIPTION>Users - User Defined Fields</SDK_DESCRIPTION>
    <SDK_UPDATE>1304799781000</SDK_UPDATE>
    <SDK_ACTIVE_VERSION>0</SDK_ACTIVE_VERSION>
    <SDK_LATEST_VERSION>0</SDK_LATEST_VERSION>
    <SDK_TYPE>S</SDK_TYPE>
    <FormField repo-type="RDBMS" name="USR_UDF_LS_CHG_CODE">
    </FormField>
    <FormAdministrator repo-type="RDBMS">
    </FormAdministrator>
    </Form>
    <UserXml repo-type="MDS" name="User" mds-path="/file" mds-file="User.xml">
    <completeXml>
    <UserXml>
    <entity-definition xmlns="http://www.oracle.com/schema/oim/entity">
    </entity-definition>
    </UserXml>
    </completeXml>
    </UserXml>
    <DataObjectDef repo-type="RDBMS" name="com.thortech.xl.dataobj.tcUSR">
    </DataObjectDef>
    </xl-ddm-data>Enjoy the UserXml XML element!
    Disclaimer: I use 11.1.1.3, not 11.1.1.5
    Edited by: madhatter on Aug 5, 2011 1:10 AM

Maybe you are looking for

  • Agents in the User Decision

    Hi Experts, We are implementing the Leave Request WF using WS12300111. We have a user decision step. This is for the HR admin to take a decision if a manual posting has been successful or not. There is already a rule 60100010 which has the responsibi

  • GPS /MAPS Nokia n95

    Hey, I Got N95, My MAPS And GPS Ect Dont Seem To Be Picking Upo Anything, They Just Ask For Bluetooth even when i connect to my WLAN nothing happens? Do i need to download anything? Thanks. Josh

  • Editing a scanned pdf

    Hello, I have a pdf scanned from a xerox workcentre 7535. I just want to rotate it and save it in the new rotated view. I rotated it and did save as to new file name. When I open it, it is not rotated as I had saved it! Adobe Acrobat XI standard ver

  • My touchscreen doesn't work as it should.

    My touchscreen doesn't work as it should. I can't touch the field / Selektion I like to, 'cause the screen is trembling and scrolling without any direct touch from me. It even reacts when my finger is about 1-2 cm away from the screen. The ipod didn'

  • Need to help to Initialise delta for CRM datasources

    Hi all,   I am currently working on CRM Extraction. I am using the datasource 0CRM_SERVICE_CONFIRM_I datasource. I have loaded the data to ODS.I am trying run Init delta without data transfer. While running, i am getting the error message as -> Activ