Search a particular resource object in an organization in OIM?

Hello,
Can any body please suggest me which OIM API method i should use to search for a resource object inside an organiozation??

tcObjectOperationsIntf
getAssociatedOrganizations
public Thor.API.tcResultSet getAssociatedOrganizations(long objectKey,
java.util.Map attributeMap)
throws Thor.API.Exceptions.tcObjectNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
This method is used to get the list of organizations for whom the specified object is being provisioned. If not filter is specified, it returns all the organizations who are associated with this object in any way
Parameters:
objectKey - This is the resource object key

Similar Messages

  • OIM11gR2 : Assign AD Group resource object to Organization

    Hello Experts,
    I have a dummy organization created in OIM by the name DUMORG.
    I have to assign the AD Group resource object to this organization. Kindly help me with the workflow through which i can accomplish this.
    If this is possible through API, kindly share some sample code.

    Login as XELSYSADM
    Search Your Organization
    Select your Organization
    Go to Provisioned Accounts tab
    Click + Provision link
    It will take you to the avalable resource
    Select AD Groups and Submit (It would be a direct provisioning)

  • Creating a work flow when a user is requesting for a resourc object

    hi all
    I h've a few resource objects.
    I need to put an approval process when a usr requests for a particular resource object.
    pls provide me with the high level steps that i have to perform inodrder to achieve this.
    thank u
    sas

    Hi,
    You need to do following steps.
    1.Create a resource object.Select "Self Request Allowed" option.
    2.Attach Object form if any in the Table Name field.
    3.Go to process definition and create a process of type approval.Select your object name.
    4.Create a task and assigned it to the approver from assignment tab.
    You are done.Let me know if you need anything else.
    Regards
    Nitesh

  • Special character issue with Resource Object in OIM 11g

    Hello
    While creating Resource Object with special character '/' in OIM 11g, it's not allowing me.
    For ex: Peoplesoft Finance/Reporting
    Do we have any other workaround without changing the Resource Object name??
    Thanks for your help.

    Nothing is there in system configuration related to special character.

  • How to Create Resource Object in OIM through SQL queries or OIM APIs

    Hello,
    I have to create few (100) resource Objects in OIM. I was creating manually through Design console one by one. In future we might need to create many more Resource Objects .It takes lot of time if we do it through Manually.
    Is there any possiblity we can create Resource Objects through SQL query or OIM APIs ???
    Thanks!!

    Yes. I do it all the time.
    If you are using 11G 11.1.1.3
    Go here
    http://fredforester.org/code/xmlstarters/
    Download the files.
    RESCFORM.xml is an example resource built from the template
    buildtemplate.sh is a shell script that creates a resource from the template
    index.php - you dont need this
    templateresource.xml - this is the template resource. it was created by building a simple resource with all its basic tasks and components then editing it and renaming things so I can find them with sed
    to create Resource C you would
    ./buildtemplate.sh RESCFORM "Resc Resource" "Resc Process"
    you would end up with a file called RESCFORM.xml where when imported would have
    UD_RESCFORM
    Resc Resource Resouce Defintion
    Resc Process Process Defition with basic tasks pointing to a dummy adapter.
    You can optionally create your own prepop so it will get assigned to the form when you import.
    Good luck

  • How to search for the particular ABAP Object

    Hi,
    I am using the SAP 4.6C machine, I need to search for the particular ABAP Object. Plz can anyone help me in this.
    Regards,
    Pralhad P. Teggi

    You'll get a better response if you ask a meaningful question.
    If you want to scan for Business Objects (BOR) use transaction SWO1
    For ABAP classes / objects use a combination of transactions SE24 / SE18 / SE19 and /or SE80
    (SE 18 /  SE 19 are for Badi's)
    Cheers
    Jimbo

  • Provision a Resource Object to Organization automatically in OIM 11g

    Hi All,
    How to provision a resource Object to Organizations automatically in OIM 11g.
    Can we use Access Policy for this , if not , is there any other way to solve this.
    Regards
    Edited by: 903745 on 31 May, 2012 1:40 AM

    Are you referring to creating an resource object (e.g. group) on the Organization itself (as opposed to users in that Organization) ? If so this can be done from a post-process event handler on the Organization object.

  • OIM11g Code for getting resource object name

    Hi Experts,
    I want to fetch all the resource objects names assigned to a particular user. I am using following 10g code:
    tcUserOperationsIntf moUserUtility1 = (tcUserOperationsIntf) getUtility("Thor.API.Operations.tcUserOperationsIntf");
    Hashtable mhSearchCriteria = new Hashtable();
    mhSearchCriteria.put("Users.User ID", "*");
    mhSearchCriteria.put("Users.Status", "Active"); // Searching for all
    tcResultSet moResultSet = moUserUtility1.findUsers(mhSearchCriteria);
    Long usr_key = moResultSet.getLongValue("Users.Key");
    tcResultSet rs = moUserUtility1.getObjects(usr_key);
    String objName= rs.getStringValue("Objects.Name")Could you please help me getting the OIM11g API's and code for the above 10 code?? Any ref will be helpful..
    thanks.

    Check this link
    OIM 11g - retrieving all the provisioned accounts of an user

  • Duplicate Resource Objects  are displayed while provisioning the resource

    Duplicate Resource Objects are displayed while provisioning the resource to organization after creating a new workflow through export and import process.
    A workfolw already exists in the environment and I am trying to replicate the work flow with a different name . So i import all the components related to provisioning workflow rename the names of the components and make the necessary changes and import it back. after this I am getting Duplicate Resource Objects being displayed while provisioning the resource to organization .plz help.its urgent

    I have tried this process thrice not able to solve this problem ......unchecking allow multiple ..i don t think matters as this is provisioning to org ...n what i am telling is the list from which u select the resources to be provisioned --that list shows duplicate resource object names at a time..Each time I import an xml the number of same resource object names being displayed in the list increases ...So If I have imported three workflows then (say Resorce Object AD) appears thrice in the list. I have not given the resource objects same name in all the workflows for this to happen
    Sahana

  • OIM - How To not show the "Disable" option for a Resource object to a group

    Hello there,
    Is there anyway we can remove or don't show the option to "Disable" a already provisioned resource object ?
    I have a requirement over here wherein there is no reason available to show the "disable" option out of the 3 available - "enable", "disable" and "revoke" for an already provisioned RO.
    How can we remove it ? We don't want users belonging to a specific group see that option, at all.
    Is there any menu item associated with it ? or is there any other way we can configure it ?
    Please advise to the earliest.
    Thanks !!
    P.S.: this is OIM 9102 running on solaris.
    Edited by: 786001 on Oct 13, 2010 7:22 PM

    Modify JSP:
    And to do this just for a particular group, put your java code in JSP itself. This is the easiest approach.
    Otherwise you can modify the action class to return two action forwards and then use two different JSP's.
    Thanks
    Sunny

  • "Crystal Report Viewer is unable to create its resource objects"

    I'm using Crystal Reports Server XI and getting the error/pop up box: "Crystal Report Viewer is unable to create its resource objects" when trying to view a report through the website.
    Any suggestions would be appreiciated. I'm very unfamiliar with Crystal Reports but it's fallen into my lap to install and suppor this application.
    I have tried changing some browser settings to allow ActiveX content and such but that hasn't seemed to help. I also tried downloading a particular 3 .dll's files to my desktop and registering them, as well as re-registering them on the server. They were CRVIEWER.dll, swebrs.dll, sviewhlp.dll.
    I'm using IE 7.0 and CR Server XI is installed in a Windows 2003 R2 SE server.  IIS seems to be setup OK.  I haven't changed any of the default installation settings that were configured during the installation on the virtual directory that was created.  I received no errors during the installation.  I'm also not seeing anything obvious pop up in the event logs.  I still have yet to do a log parser query looking for anything that says crystal reports.
    Thanks!
    Edited by: Wendy Beatty on Sep 23, 2008 9:50 PM

    Hi Wendy,
    This issue might be better addressed by our .NET development forum,  however,  some of the things that come to mind are:
    1.  As a test are you able download the Active X Viewer from the client machine by accessing it via a URL:
    http:// <yourserver>/crystalreportviewers/ActiveXControls/ActiveXViewer.cab
    Does it prompt you do download the .CAB file?
    2.  If you have more than one version of the Active X Viewer installed on the client machine,  go through this SAP Note (1215398) from the Service Market Place to remove it.
    3.  Check your browser settings (Tools|Security|Custom Level) to make sure Active Controls are set to at least prompt.
    4.  Confirm with your network administrator if there are group policies that restrict the installation of Active X Controls or if users do not have the rights to install.
    Regards,
    Wallie

  • How to find tables for a particular business object.

    Dear Friends,
    I want to display, all the tables related to a particular business object.
    So I think there must be way of doing it using packages.
    example:-
    I will have list of all packages referencing to all business Components
    (ex.SALES) then i will get a list of all the tables related to SALES and then I would like to get all the METADATA regarding that TABLE.
    please give me some ideas How to achieve this.
    thanks,
    jeevan

    hai Naveen ,
    Thanks for the reply.
    I had gone through the Link.
    I want to know "How could I get the list of all the Tables of a particular Business Component"
    like suppose i entered Sales i sould get all the tables related to Sales ....if  MM then list of MM tables...
    in Se80 the package VA is for sales .....
    and there i can get all the tables for sales...
    but If u know any searching criteria by which i will be able to the list of tables.
    thx,
    jeevan

  • How to configure Reconciliation only for a particular resource

    Hi All,
    I have a requirement to configure target reconciliation from AD only for a client. For that i have installed the conector as per documentation (both prov and recon). Now how can i make sure that:-
    1. When i disable/enable the user in OIM, corresponding target resource will not be disabled/enabled.
    2. If i make any changes on resource form corresponding change should not flow back to AD.
    Does removing the prov related jar able to ensure these things or i need to remove the corresponding prov lookup or any changes required in configuration lookup? Please suggest...TIA

    Change the drop down option to "Disable Process..."
    Attach tcComplete event handler there.
    In Task to Object Status Mapping, select Disabled in front of completed.
    Now suppose user is PROVISIONED to a resource say Test. So whenever user gets DISABLED in OIM, it will disabled the target resource Test. But in actual the target resource will not be disabled for that user. He/She can access that resource after getting disabled as you haven't put the logic to disable the target resource (as you have used tcComplete here).
    As you are saying that it should show disabled only if Disabled is coming from Trusted Resource. Then it's fine till now.
    If you don't want to show status as Disabled then in Task to Object Status Mapping, do not select Disabled in front of completed. In this case, it will show status as PROVISIONED only. This is wrong.
    I'll try to understand what you have written here ->
    BUT NOW THE ISSUE. IT DISABLED MY ASSOCIATED RESOURCE (not in target resource actually but on oim side under resources tab). THIS IS ACTUALLY NOT DESIRABLE.
    - > It will do as you are using tcComplete. If you put your java code which disables the target resource in integration tab (in form of process task adapter instead of tcComplete) then it will disables the actual target resource for user.
    REAL REQUIREMENT IS THAT FOR NOW (*till provisioning is not configured*) OIM DISABLE SHOULD NOT INVOKE THE DISABLE OF ASSOCIATED TARGET RESOURCE NOR IT CHANGED THE STATUS UNDER RESOURCES TAB FOR PARTICULAR RESOURCE. THE STATUS UNDER RESOURCES TAB SHOULD ONLY BE CHANGED WHILE RECONCILIATION.
    -> As you have written, "Till provisioning is not configured", So if provisioning is not configured then it will not show disabled under Resource tab for that particular resource.
    You can see disabled only after resource is provisioned to that user.
    If this doesn't answer your question, it would be better if you explain your requirement clearly. It's not clear.

  • How to reset a particular view object alone to it's initial state??

    Hi,
    My application contains view objects with custom data source implementation. One of my requirement is to reset the particular view object alone to it's initial state. I can't use rollback since it is at Db Transaction level. I searched in forums and finally written the following coding to achieve it. It works fine during sometime but sometimes i am getting the exception oracle.jbo.DeadEntityAccessException: JBO-27101: Attempt to access dead entity in Person, key=oracle.jbo.Key[1 -10 ]
        public void resetPersonViewObject(String voName) {
            Iterator dirtyItr = this.getEntityDef(0).getAllEntityInstancesIterator(this.getDBTransaction());
            while (dirtyItr.hasNext()) {
                Object obj = dirtyItr.next();
                if (obj instanceof EntityImpl) {
                    EntityImpl entity = (EntityImpl)obj;
                    String state = null;
                    byte entityState = entity.getEntityState();
                    switch (entityState) {
                    case Entity.STATUS_INITIALIZED:
                        state = "Initialized";
                        // Don't do anything
                        break;
                    case Entity.STATUS_UNMODIFIED:
                        state = "Un-Modified";
                        // Don't do anything
                    case Entity.STATUS_DEAD:
                        state = "Dead";
                        // Don't do anything
                        break;
                    case Entity.STATUS_DELETED:
                        state = "Deleted";
                        entity.revert();
                        // entity.refresh(Entity.REFRESH_CONTAINEES);
                        break;
                    case Entity.STATUS_MODIFIED:
                        state = "Modified";
                        entity.refresh(Entity.REFRESH_UNDO_CHANGES);
                        break;
                    case Entity.STATUS_NEW:
                        state = "New";
                        entity.refresh(Entity.REFRESH_FORGET_NEW_ROWS);
                        entity.refresh(Entity.REFRESH_REMOVE_NEW_ROWS);
                        break;
                    System.err.println("State : " + state);
            getDBTransaction().clearEntityCache(getEntityDef(0).getFullName());
            getViewObject().clearCache();
    }Questions:
    1. How to achieve my requirement? Is there any code correction required?
    2. How to reset the row which is actually deleted by the user?
    3. The sample code shown above is applicable for all the view object instances which are created from the same entity? What should i do if i want to reset a particular instance of a view object (I may use different instance of same view object at various screens whereas i want to reset only one)
    Can anyone help on this??
    Thanks in advance.
    Raguraman
    Edited by: Raguraman on Apr 24, 2011 8:48 PM

    Hi,
    As per my requirement, i use various instances of same view object in various dynamic tabs only. Since each tab has its own transaction, refreshing an EO of a particular transaction will refresh only the VO instances which comes under that transaction. So it will not cause any issue for my requirement i hope.
    Requirement: Need to reset a particular entity driven view object instances.
    Tried Schema: Departments table of HR Schema. Tried using the Application Module tester.
    Code i use:
        // Client Interface method of DepartmentsViewImpl
        public void resetView() {
            Iterator dirtyItr =
                this.getEntityDef(0).getAllEntityInstancesIterator(this.getDBTransaction());
            while (dirtyItr.hasNext()) {
                Object obj = dirtyItr.next();
                if (obj instanceof EntityImpl) {
                    EntityImpl entity = (EntityImpl)obj;
                    byte entityState = entity.getEntityState();
                    switch (entityState) {
                    case Entity.STATUS_UNMODIFIED:
                        break;
                    case Entity.STATUS_INITIALIZED:
                        break;
                    case Entity.STATUS_DEAD:
                        break;
                    case Entity.STATUS_DELETED:
                        entity.refresh(Entity.REFRESH_WITH_DB_FORGET_CHANGES);
                        break;
                    case Entity.STATUS_MODIFIED:
                        entity.refresh(Entity.REFRESH_UNDO_CHANGES);
                        break;
                    case Entity.STATUS_NEW:
                        entity.refresh(Entity.REFRESH_FORGET_NEW_ROWS);
                        entity.refresh(Entity.REFRESH_REMOVE_NEW_ROWS);
                        break;
            getDBTransaction().clearEntityCache(getEntityDef(0).getFullName());
            getViewObject().clearCache();
    Issue i have:
    1. Add a blank row (Soon transaction has become dirty). Call the resetView() client interface. It gives me JBO-25303: Cannot clear entity cache model.eo.Departments because it has modified rows
    2. Modify any row and then delete the same row. Call the resetView(). It gives me JBO-27101: Attempt to access dead entity in Departments, key=oracle.jbo.Key[10 ]
    [NOTE:  Above code works fine when for simple deletion of rows, modification of existing rows, new rows]
    Edited by: Raguraman on Apr 24, 2011 8:48 PM

  • Workflow for Resource Object Management

    Hi All,
    I'm attempting to perform resource object management on an LDAP resource and have the following questions for a workflow related to this:
    1. Do I need to checkout the view for the LDAP resource to perform resource object management (by this I mean something similar to creating or updating a group within LDAP)?
    2. I will also be using a custom resource adapter to perform resource object management on that adapter. Can I assume that similar mechansims for LDAP will apply to my custom resource adapter?
    3. Can anyone point me to some standard workflows for resource object management, point any further docs (I've through the workflows, views, and forms, as well as the deployment guide for resource adapters).
    4. Does anyone have any examples of resource object managment they would be willing to share and explain.
    All input welcome, Thanks.

    Hi there, Did you manage to get some assitance with this? I am also trying to search for examples of using the Resource Object to provision new entries to an LDAP and to learn how to form workflows.

Maybe you are looking for

  • ?-multiple screens transparent able to see all the components in all screen

    iam developing a ui , in that i have to place multiple panels or multiple containers over the content pane where as every container should be transparent , and i should able to see all the component in all the containers in the top container , help m

  • Problem with Nested loop in Fox-Formula

    Dear Experts, Let s share the scenario : MaterialGroups with following Keys for Example AAAA, BBBB, CCCC..., Materialgroups are selected in the 1st input ready query, which is assigned to DataProvider DP_1 in a  webtemplate. every Materialgroup has s

  • Import folder structure. Incorrect date on folders.

    I'm trying to import a bunch of jpg photos taken in 2006 and 2007 to my Aperture 3 library. I use a referenced library in my pictures folder and I would like the files to be copied to new folders named after the year, month and day they were taken. H

  • Changing the partner role

    Hello guys! How are ya'? I need to change an actual Business Partner Role in my CRM 2007. I tried to execute a FM called BAPI_BUPA_ROLE_CHANGE but, it doesn't running. Anybody here know how can I to do this? Thanks in advance. Regards. Danilo Cardoso

  • Endeca App creation using crs

    hi guys, i am using atg 10.1.1 , i successfully running the crs app , now i would like to integrate crs with endeca. Can u guys tel me the next step please? Edited by: ressh on Jan 29, 2013 10:41 PM