Resource Update in OIM

All,
I need to update the OrgName for a bunch of AD users. I need to write a schedule task to do this.
Should I use the UpdateITResourceInstance() from ITResourceInstanceOperationsInterface.
I also wasn't sure what the metadata is.
Please Help
Thanks,
M
Edited by: user12005063 on Mar 2, 2011 11:46 AM

You will want to update their process form data with the appropriate APIs. You are not updating the IT Resource, it's the value on the user's process form that contains the Organization DN.
-Kevin

Similar Messages

  • Is there any way to export IT Resource data from OIM using the export tool?

    Hello,
    we are trying to migrate an OIM development environment to a preproduction environment and we need to migrate more than 400 IT Resources. We have exported some IT Resources and when we imported them in the preproduction environment their data was not migrated. Is there any way to export IT Resource data from OIM using the export tool? Or is there any other way to do this without doing it by hand?
    Thank you for your help
    Kind Regards

    Well , OIM doesnot provide any such facility to export ITResource data along with ITResource .
    Directly updating the DB could be an option ..
    Thanks

  • FormData Information updation with OIM APIs

    Hey Guys,
    I try to use the OIM APIs to update a custom field that is present on a formdata.
    e.e: in the web base ui, you search for a user, go to resource profile, and then I have my OID provisioned resource, when I click on view, I have the a formdata that popups with fields taht I want to update.
    I've done the following until now:
    - search the user with the findUsersFiltered API to retreive the User.key
    - search the object associated to the user by using getObjects with the User.Key retreived
    This search return a list of objects AND I can identify my provisioned Object:
    The informations that seems usefull are:
    * Users-Object Instance For User.Key-value
    * Object Instance.Key-value
    * Objects.Key-value
    * Process Definition.Process Form Key-value
    I'm block there, I'm not sure the different options for:
    - reading the form data field for this resource
    - updating some form data for this resource
    Any help would be great !

    I've done it,
    For information it was with using Process Definition.Process Form Key-value

  • How to create clone of exsiting Resource Object in OIM

    Hi..I need a help here.
    I have already one Resource object in OIM with all required mapping for Object reconciliation and Action rule.
    I want to create clone of the same resource object with diffrent name and keep same Object reconciliation and reconciliation Action mapping in OIM.
    How can i do that
    Thanks !!

    Take the export of this Resource Object.
    Do changes in the XML like resource Object Name, Form Names, Process Defintion, Email Template (if required)
    Save it and import it back into OIM.
    Note: Take export of independent Lookups or any configuration which you are using in existing Resource Object.

  • [ProjectServer 2013] Resource authorization data lost on PSI Resource Update

    Hi,
    as the title says I noticed that sometimes resource authorization data of a resource/user is lost in ProjectServer 2013 on a PSI resource update. Since it did not happen every time for every resource (user) I tried to investigate this issue in more detail.
    I found out that it is related to a change in the resource availabilities. A resource/user loses its resource authorization data on a UpdateResources PSI call when the following criteria are fulfilled:
    - "Earliest available" or "Latest available" date is set
    - Resource/user has more than one ResourceAvailablities row
    - Max units are changed for one of the rows
    Since this is a quite complicated and specific issue here are some simple steps to reproduce it on a PWA instance:
    1. Create new resource/user.
    2. Enter any date in the "Earliest available" field and assign the user to some security groups.
    3. Programmatically change the max. units of any ResourceAvailablityRow and update the resource via the UpdateResources PSI call.
    4. Open the user in PWA. The security group associations will not be there any more.
    I have successfully reproduced this issue on two different PWA instances on two different servers.
    Did i miss anything obvious or is this a well known issue?
    If yes are there any workarounds?
    Did anybody else run into this issue?
    Thanks in advance for you help,
    Michael

    I created a Fiddler trace (see link at the end of the post) but i could not find anything suspicious in there.
    If it helps here is the code that i use to reproduce the issue:
    var singleResDs = resourceClient.ReadResource(resUid);
    var maxUnitsRow = singleResDs.ResourceAvailabilities.First();
    maxUnitsRow.RES_AVAIL_UNITS = maxUnitsRow.RES_AVAIL_UNITS + 1;
    resourceClient.CheckOutResources(new Guid[] { resUid });
    resourceClient.UpdateResources(singleResDs, false, false);
    resourceClient.CheckInResources(new Guid[] { resUid }, false);
    As you can see there is nothing special about it.
    I also checked the patch level on one of the servers and its 15.0.4569.1506 which corresponds to SP1 (April 2014). I can definitely try to install the newest CU and check if that fixes the issue.
    Fiddler trace:
    http://bit.ly/1DvaWsZ
    EDIT:
    I have now installed the March 2015 CU (15.0.4701.1001) and the issue is still existing.

  • Resource Update Error - Classic

    Folks
    Had a call from an associate who has an old original Bondi Blue iMac running 10.2.8. She did a "Software Update" yesterday, and today on attempting to open PageMaker 6.5 Classic errored out with the message "Resource Update Error. An error was encountered while attempting to update your system folder with Classic specific resources".
    She can startup in 9.2.2 by changing the Startup Disc in System Prefs. I tried DiskUtil, DiskWarrior, etc but both could do nothing due to "disk" or other problem. Tried to startup with original G3 install disk but the iMac just spat it out on trying to boot start with it - even after selecting it as the startup disk in System Prefs!
    Nothing I do seems to make the old blue bubble sing again in Classic! (Everything seems to work in OS X, as far as I can tell - and as far as young lady can tell). In 9.2.2 PageMaker works and prints out, and all systems in 9 seem fine, by themselves, Just that OS X and C lassic don't want to know each other ...
    Any help, please
    Regards
    Roy

    There are a couple of things that you can try.
    Repair permissions in Disk Utility for the system
    Repair 9 permissions in Disk Utility. Under Edit (in Panther)
    Try starting Classic with extensions off (Classic control panel)
    Try rebuilding the desktop (Classic control panel).

  • 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

  • Acrobat can't download adobe french resource update

    Hi all.
    I am reinstalling a windows xp sp3 machine and I need to install Acrobat 8 std on it.  So I did that and activated which all went fine.  But when I go to help > update in the menu, it says it fails to download adobe french resource update for adobe updater because the file could not be verified and it gives me the options of prefs or quit.  It does all of this before it even lists the updates that I am checking for!
    How do I get update working again please?  Thanks!

    Use http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html. When you install, log in as the administrator and disable anti-virus.

  • How to make a process form field non updatable in OIM 11G PS1

    Hello all - I have a filed in process form, which once filled should be not be updated. Could you please let me know how to achieve this?
    Should we create a process task, where in we can say 'updating this filed is not possible' ?
    I tried this. But OIM shows the filed with updated value but 'Resource History' shows status as Rejected.
    Please help. Thanks
    Manju

    The only way i would see this possible would be through an event handler if you can make it work for this form. On your pre-update, you would need to make sure to always return the original value back to the form so even if changed, it would change it back.
    -Kevin

  • How to delete old resource objects in OIM

    I'm working with OIM Version: 9.1.0.1866.70 and I've recently been told that we are not going to be using a certain resource object anymore.  I've looked and gone through the design console but I don't see any option for deleting an entire resource.  Is there even a way to delete a resource in OIM?  I can turn off self-requestable but our numerous provisioning admins will still have the ability to grant the defunct resource.  Is this available in a later version of OIM?

    Hi,
    This is a forum for discussion about application development in C/C++/Fortran. I think you want to raise your question in a forum about identity management. This one looks more promising:
    Identity Management
    Regards,
    Darryl.

  • API of Resource object managment - OIM 11g R2

    Hi All,
    I want to provision a resource (say 'AD User') from a post event handler (OIM 11g R2) during user creation.
    Please tell me the API to be used.
    In OIM 10g, we can use 'tcObjectOperationsIntf' interface to operate on resource objects. what API is its replace in OIM 11g R2?
    Thanks in Advance.

    Create a role and add a rule membership to that role using your custom attribute.
    Create an access policy to provision AD resource and use the role created above while creating access policy. There will be a schedule task with the name "Evaluate user access policies". Change its schedule to run for every 1 minute.
    Now, create a user who satisfies the above role membership and make sure this user got the role membership. Immediately after a minute, this new user should be provisioned to AD resource automatically.

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

  • Resource update - inactivate resource that doesn't exist in AD anymore

    hello forum members,
    i am trying to write code that goes through all resources and updates some custom fields. However, something must have been set up wrong because I am getting a lot of users who are no longer exist in the AD group that is synced to the security group in Project
    Server and my code keeps erroring out.
    can anyone recommend any code on how to inactivate users who no longer exist in AD?
     if (checkedOut)
                            SvcResource.ResourceDataSet updateDs = resourceSvc.ReadResource(resourceRow.RES_UID);
                            if (check here if resource is a valid resource)
                                updateDs.Resources[0].RES_CODE = "A" + rand.Next(1000, 9999);
                                Console.WriteLine("Update RES_CODE to " + updateDs.Resources[0].RES_CODE);
                                resourceSvc.UpdateResources(updateDs, false, false);
                                Console.WriteLine("Check in " + resourceRow.RES_NAME);
                                resourceSvc.CheckInResources(new Guid[] { resourceRow.RES_UID }, false);
                            else
    tatiana

    Hi Tatiana,
    The AD sync doesn't remove from Project Server users that are not anymore in the AD. It simply
    deactivate them.
    Thus I guess you have to insert a condition to exclude inactive users.
    The Reporting DB contains the field [ResourceIsActive] in the [dbo.MSP_EpmResource] table.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Resource Update Content

    I created xml file with xml forms but know i want to change a field with a java class.
    ResourceContext rContext = new ResourceContext(aUser);
    RID firstxmlRid = res.getRID(); //res is a IRESOURCE
    IResourceFactory aResourceFactory = ResourceFactory.getInstance();
    IResource xmlResource = aResourceFactory.getResource(firstxmlRid, rContext);
    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
    IContent content = xmlResource.getUnfilteredContent();
    Document answerDoc = docBuilder.parse(content.getInputStream());
    Now i have the document and i can change it, but in the end i want to update the content, how can i do it?
    updateContent(IContent newContent)
    I want to use this method but how can i transform from Document to IContent?

    Hello Andre,
    To know how you can convert document into outputStream see here:
    http://www.landshut.org/members/Faustus/jimonc/source/de/aschauf/fli4l/jimonc/util/Utility.java.html
    You can do it like this:
    public static void printXML(org.w3c.dom.Document doc, OutputStream out) {
    try {
      OutputFormat format = new OutputFormat(doc);
      format.setIndenting(true);
      XMLSerializer serial = new XMLSerializer(out, format);
      serial.serialize(doc);       
    }catch (IOException ioe) {
       ioe.printStackTrace();
    ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
    printXML(document, byteArrayOutputStream);
    ByteArrayInputStream byteArrayInputStream = ByteArrayInputStream(byteArrayOutputStream.toByteArray());
    IContent newContent = new Content(
    byteArrayInputStream,
    "text/xml",byteArrayInputStream.available());
    resource.updateContent(newContent);
    Hope this helps...
    Greetings,
    Praveen Gudapati

  • Updates from OIM to Lotus Notes via Lotus User policy

    Hi Guys,
    OIM - Version 11.1.1.5 (Bp03)
    Lotus Notes connector -v 11.1.1.5
    Connector Server - v11.1.1.5
    Currently we execute a trusted recon from AD to OIM to create and update users. We have the Lotus Notes connector deployed and 'Lotus User' provisioning policy implemented.
    I can create and delete users in Domino via this policy in OIM but I'm having an issue with user updates such as renames from AD, being new to OIM I may be missing a few steps but I believe all the config to manage updates is correct. When we reconcile changes from AD - the OIM user's entry gets updated successfully but their lotus provisioning form/policy doesn't - is this what should happen or should I have to run a target recon? Reading the documentation it seems that the target recon job is not the proper process to update user entries in Domino and should be completed via "provisioning"
    I've confirmed that within the Process definition adpLNUPDATEDUSERINFO is configured for the required fields but is there a trick to this config to trigger updates within the provisioning policy and update the user's lotus provisioning form? If I manually enter the new details in the user's lotus provisioning form - the user's domino entry is updated successfuly.
    Thanks guys,
    Edited by: 955006 on Aug 27, 2012 6:33 PM

    To update user attributes you need to add two process tasks for each attribute in process definition. First tasks is change tasks. It should named like "Change <Attribute name>". This task will use a transfer value adapter. Transfer value adapter will read attribute from user profile whenever that attribute changed and copy it into your process form. Add entry for respective attributes and their change tasks in Lookup.USR_PROCESS_TRIGGER lookup.
    Second task will be update task. It should be named like "<Attribute Name> updated". This task will use adpLNUPDATEDUSERINFO adapter. Attribute name and its value will be passed as parameter to this adapter which in turn will modify it in your target system.
    Refer here:
    Re: Enabling update for provisioned user in OIM11g
    regards,
    GP

Maybe you are looking for

  • 4 pin power supply

    hello folks I am wondering what and why some mb's have the small 4 pin power supply for the cpu and others don't. I have two machines I have put together and one does and the other don't. Can't find the correct literature to satisfy my curiosity. ple

  • When i buy a app it won't finish downloading

    When i buy a app it says installing but when i go to lanch pad it wont ever finish downloading heres a pick its in top right its bean like that for 3 days and yes i have wifi          

  • Delete Full Requests from an InfoCube with a BIA index on it

    Hello all I need to delete certain random Full requests from a cube which has both DB indexd and BIA index on it? What will be the steps i should be following in regards to deleting/ rebuilding indexes ? Regards Sanjyot

  • AS3 swf TOC check state

    Hi, I currently have a swf animation on a slide and thru as3 I use the rdcmndNextSlide so it moves to the next slide but on the TOC the state doesnt become checked. any way to fix this?

  • Mac OS 10.5.8 PPC doesn't keep standby modus

    Hi, anybody has an idea why my good old PPC G5 doesn't want to keep its stand by modus? Thanks for any help, Simon