Update AD Attribute directly from OIM

Hello,
I just want to change one attibute in AD from a process task in OIM.
This process task is using an adapter that calls a Java method. In that method i'm initializing a com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks instance and then calling its setUserAttributes(objectGUI,hastable) method. However no changes are reflected in AD..
I guess i'm not taking the right approach so I'd appreciate ur help.
Thanks.

Thank you.
That's the way to provinsion a field from AD User Form to AD. What I need is to write a Java code to update an attribute directly in AD to the desired value. Some thing like this:
Pseudocode: UpdateValue(ObjectGUI,pInstance,attribute,newvalue)
I guess I have to use methods from tcUtilADTasks in com.thortech.xl.integration.ActiveDirectory package, however I've tried several times without success...
Any suggestion?

Similar Messages

  • How do I update "Rendered" attribute property from VO in runtime?

    I can override isAttributeUpdateable() in RowImpl for "updateable" attribute property of a VO in runtime.
    Is there API to update "Rendered" attribute property? I need to set it based on some condition or business rule in runtime.
    thanks,

    If you have a work flow there are several ways to do this. If the attribute is global, and can change on all resources, you can set user.global.<attribute> to what ever you want and it will usually propagate out fine. You can also update the attribute specifically on the resource with user.accounts[LDAP].<attribute>.

  • Can I update my ipad directly from ios 6.1.3 to 8.2

    I Have  a gen 4 ipad with ios 6.1.3. Can I update directly to ios 8.2 using iTunes on my iMac?

    Yes, you can do that.

  • Error when running the apxldimg.sql to update the images direct from rel3.0

    Hi everyone,
    I'm new to APEX. I'm upgrading from v3.0 to v3.1. I'm on the post-installation, section on "Updating the Images Directory When Upgrading from Release 3.0", I ran into error below when running the apxldimg.sql script. Has anyone run into the is error before. If yes, how did you fix it?
    Directory created.
    filelist_xml xmltype := xmltype(bfilename(upload_directory_name,file_list),nls_charset_id('AL32UTF8'));
    ERROR at line 15:
    ORA-06550: line 15, column 36:
    PLS-00306: wrong number or types of arguments in call to 'XMLTYPE'
    ORA-06550: line 15, column 25:
    PL/SQL: Item ignored
    ORA-06550: line 38, column 15:
    PLS-00302: component 'EXISTSRESOURCE' must be declared
    ORA-06550: line 38, column 3:
    PL/SQL: Statement ignored
    ORA-06550: line 52, column 46:
    PLS-00320: the declaration of the type of this expression is incomplete or
    malformed
    ORA-06550: line 52, column 3:
    PL/SQL: Statement ignored

    My team member found another post that ran into the same problem and the section is for 11g only. My db is 9.2.0.5.

  • Can we delete adapters directly from OIM tables?

    Hi,
    Im working in OIM 10g. we have an OOTB adapter create mailbox and we made some changes in the xml file and import that once again.after that we are getting error in the adapter. We again reimport the old one but that also taking the previous ones reference. Can we delete the unwanted one from ADP table? Does it have any dependency to other tables? what is the right way to remove that

    It has reference in EVT table as well, you can delete from both places if it is not attached to any task. If any task is completed then you can deleted task and its adapter. Deleting from database however is not recommended. Try to export from some other image and import in yours.
    regards,
    GP

  • Possible to extract R3 attributes directly from portal?

    To get an IUser object the following code can  be used:
    IWDClientUser wduser = WDClientUser.getCurrentUser();
    IUser result = wduser.getSAPUser();
    The IUser has several methods like getCIty() & getEmail(). Is it possible to retrieve custom attributes for this object?
    What does the method getTransientAttribute() do?
    Thanks

    Hi,
    Object getTransientAttribute(String namespace,String name)
    Generic get method to access additional transient attributes.
    These attributes are contained in separate namespaces, and
    are accessible via their names. Attributes that are in no
    distinct namespace are formally located in the namespace
    null.
    Note: the transient attributes are instance specific.
    Parameters:
    namespace - namespace the attribute is in (may be null)
    name - name of the attribute
    Returns:
    the values of the respective attribute, or null if this namespace
    or attribute within this namespace does not exist
    regards
    Surender Dahiya

  • How to update attributes from OIM to AD in case of LDAPSync

    Hi All,
    In our scenario, we have LDAPSync configured for OIM AD Integration. OIM version is OIM 11gR2 PS1 (11.1.2.1.0.0)
    It is working fine and On user creation in OIM ,RealTime user creation under specified container in AD is happening.It is SSL enabled,so password is also getting updated from OIM to AD.
    But we have following conflicting scenario --
    -   As per our requirement we have to generate random password for User in OIM. For that we have PostProcess event handler implemented in OIM.
    - We have tested LDAPSync by creating user manually through OIM console. While creating user manually, we have provided value for password attribute along with other attributes.
        So, password attribute in AD will get updated for User along with all other attributes values mapped for AD from OIM.
    - But, in our scenario random password is generated for User through OIM post process event handler and it will be updated again in user profile of user created manually in OIM. This password is sent to User through mail.
      As this password event handler will get triggered after LDAPSnyc only, this password will not be update in AD for manually created user in OIM. So he can log into OIM with this new password but not to AD system.
      He will be able to login to AD system with same User ID but with password which was set at time of manual User Creation in OIM and not with the password updated in OIM user profile by PostProcess event handler.
    Is it possible to set password for user through PreProcess even handler implementation for Random Password generation. In this case also , the default OIM post process
    password generator will override the PreProcess event handler.How to resolve this issue.
    Also,when AD connector is in place in OIM environment we would be having change/update tasks for any attribute update to be send from OIM to AD.
    How this update scenario will be implemented from OIM to AD in case of LDAPSync ?
    Please provide any helpful pointer on this.
    Thanks,
    RPB

    Password :
    Increase order of calling for custom password event handler than OOTB handler.
    Update:
    you wanted to update custom fields?
    Did you check default update tasks comes with connector?

  • Problem calling web service from OIM

    Hello,
    We have a requirement to get the department name from a web service call and populate the department name on the usr form based on the deptid.
    We created the java web service client class (got the jar file and put it in the JavaTasks directory on OIM server). We unit tested this code successfully from our desktop.
    Then we created the process task in the design console to call the client class method to get the deptname based on the deptid.
    We got a value of "exception" returned from the web service call.
    When we telnet from OIM to the web server, we got "connected to..." followed by "Connection closed by foreign host".
    How can we verify that OIM can talk to the web server?
    Please help.
    Thanks
    Khanh
    Edited by: user12049102 on May 5, 2010 1:06 PM
    Edited by: user12049102 on May 5, 2010 1:49 PM

    We knew that we can make the web service call from the command line. So, we wrote a shell script that calls the web service jar file and it worked.
    It's not elegant but we couldn't figure out why we cannot make the web service call directly from OIM.

  • How to update xml attributes as multiple rows

    I am new to this technology, but i need to show the result
    in xml document i have to update these attributes get from Databse utility class.
    <equipment object="" manufacturer="" part_number="" type="" model="" items="" accessories="">
    <equipment object="" manufacturer="" part_number="" type="" model="" items="" accessories="">By using XSLT Doucment i have to show this in table format multiple rows of data.
    I'll be happy if anyone tell me the example.

    Now the changed data must be exported back into the XML file, meaning that the content of certain elements must be updated. How can this be done with XSLT?
    XSLT approach:  check these online tutorial
    http://www.xml.com/pub/a/2000/08/02/xslt/index.html
    http://www.xml.com/pub/a/2000/06/07/transforming/index.html
    ABAP approach:
    for example you have the xml (original) in a string called say xml_out .
    data: l_xml  type ref to cl_xml_document ,
            node type ref to if_ixml_node  .
    create object l_xml.
    call method l_xml->parse_string
      exporting
        stream = xml_out.
    node = l_xml->find_node(
        name   = 'IDENTITY'
       ROOT   = ROOT
    l_xml->set_attribute(
        name    = 'Name'
        value   = 'Charles'
        node    = node
    (the above example reads the element IDENTITY and sets attribute name/value to the same)
    like wise you can add new elements starting from IDENTITY using various methods available in class CL_XML_DOCUMENT
    so how do I access the XML file in order to update it?
    you have already read this XML into a ABAP variable right?
    Sorry couldnt understand your whole process, why do you need to read local XML file?
    Raja

  • OIM: Error while updating Task Attributes

    Hi All,
    I am trying to use PeopleSoft User Management using OIM connector.
    I am facing an error saying "problem in updating Task Attributes" while scheduling a task on OIM design Console. I am trying to update and save PSFT Base Non Trusted User Reconciliation. following is the log message displayed in server command prompt.
    ERROR,11 Apr 2008 05:02:53,287,[XELLERATE.SERVER],Class/Method: tcTSA/eventPostU
    pdate encounter some problems: problem in updating Task Attributes
    com.thortech.xl.scheduler.exception.SchedulerGenericException: problem in updati
    ng Task Attributes
    at com.thortech.xl.scheduler.core.quartz.QuartzSchedulerImpl.updateTaskA
    ttributes(Unknown Source)
    at com.thortech.xl.scheduler.ejb.SchedulerControllerBean.updateTaskAttri
    butes(Unknown Source)
    at com.thortech.xl.scheduler.beans.SchedulerControllerSession.updateTask
    Attributes(Unknown Source)
    at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl.upd
    ateTaskAttributes(SchedulerController_z4f4d2_EOImpl.java:478)
    at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl_CBV
    .updateTaskAttributes(Unknown Source)
    at com.thortech.xl.dataobj.tcTSA.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(Unknown Sourc
    e)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl.save(tcTSA_u3xmy2_EOImp
    l.java:1437)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl_WLSkel.invoke(Unknown S
    ource)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(Activata
    bleServerRef.java:90)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:429)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    Caused by [Nested Exception]:
    java.lang.NullPointerException
    at com.thortech.xl.scheduler.core.quartz.QuartzSchedulerImpl.updateTaskA
    ttributes(Unknown Source)
    at com.thortech.xl.scheduler.ejb.SchedulerControllerBean.updateTaskAttri
    butes(Unknown Source)
    at com.thortech.xl.scheduler.beans.SchedulerControllerSession.updateTask
    Attributes(Unknown Source)
    at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl.upd
    ateTaskAttributes(SchedulerController_z4f4d2_EOImpl.java:478)
    at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl_CBV
    .updateTaskAttributes(Unknown Source)
    at com.thortech.xl.dataobj.tcTSA.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(Unknown Sourc
    e)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl.save(tcTSA_u3xmy2_EOImp
    l.java:1437)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl_WLSkel.invoke(Unknown S
    ource)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(Activata
    bleServerRef.java:90)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:429)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    ERROR,11 Apr 2008 05:02:53,287,[XELLERATE.SERVER],Class/Method: tcDataObj/save E
    rror :Data Update Failed
    ERROR,11 Apr 2008 05:02:53,302,[XELLERATE.DATABASE],Class/Method: tcDataBase/rol
    lbackTransaction encounter some problems: Rollback Executed From
    java.lang.Exception: Rollback Executed From
    at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(Unknown Sou
    rce)
    at com.thortech.xl.dataobj.tcDataObj.rollback(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.doRollback(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(Unknown Sourc
    e)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl.save(tcTSA_u3xmy2_EOImp
    l.java:1437)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl_WLSkel.invoke(Unknown S
    ource)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(Activata
    bleServerRef.java:90)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:429)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    I am facing above error when try to update any task in the task scheduler.
    Can anyone please suggest me where i am going wrong?
    Thanks,
    Uma.

    I would assume you are missing the jar file for your scheduled tasks. Try and create a new scheduled task with the same class name, if it won't let you save, this is your answer. You'll want to make sure you have the connector scheduled task file in the ScheduleTask folder in your OIM directory.
    -Kevin

  • Updating AD Attributes via OIM user forms

    Hi,
    I have configured an AD connector. Firstly, I did a trusted recon to create the OIM. Next, I did a user recon to link the AD user to the OIM user. After that I have configured to pre-populate to show the AD attributes onto the OIM user form.
    Now, what I want to do is to update the AD attributes (eg. Mobile) in the OIM web interface, and has it reflect back to AD.
    Appreciate a detail description as I am very new to OIM.
    Cheers, SK

    You may want to try this:
    a. Add an entry in Lookup.USR_PROCESS_TRIGGERS
    b. Add a Process Form field and a Process task in each Process where you want to push the value.
    The task should have a name "<UDF label> Updated"
    c. Create another one called "Change <UDF label>"
    d. Make the tasks conditional, "allow multiple instances"
    e. Wire the "Change <UDF label>" to copy values from the user profile to the process form
    f. Wire the "<UDF Label> Updated" to the connector adapter.
    --Deepak                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 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

  • Provision a multivalued attribute from OIM to OID

    Hi,
    I have a requirement to provision a new multivalued attribute from OIM to OID.
    Steps followed:
    Created a child form
    Attached child form to the OID Parent form
    Created a process task adapter.
    Created a task in process definition and the attached the adapter
    Adapter code.
    public String addChildData(tcDataProvider ioDatabase, long procInstKey, long childDefKey){
              try{
                   tcFormInstanceOperationsIntf formInstOper = (tcFormInstanceOperationsIntf)tcUtilityFactory.getUtility(ioDatabase, "Thor.API.Operations.tcFormInstanceOperationsIntf");
                   HashMap testval = new HashMap();
                   testval.put("UD_TESTCHIL_TESTGROUP","abcd2134");
                   System.out.println("testval..."+testval);
                   long formreturn = formInstOper.addProcessFormChildData(childDefKey,procInstKey,testval);
                   System.out.println("formreturn" +formreturn);
              catch(Exception e){
                   System.out.println("exce" +e);
              return "Success";
    After attaching while provisioning I am seeing both parent and child forms. I have provided the values and its successfully provisioning.
    But how I can provision the new OID multivalued attribute. We have to do any setting in the lookup?
    Regards,
    KK

    Just create your new adapter for add and delete from this new child table just like the other triggered tasks. If it's a multi value on the user profile, use the adapter for Add Multi Value Attribute that comes with the connector. In the property name, put in your multi value attribute name, and map the value from the child table.
    -Kevin

  • LR displays "no preview available" upon import direct from camera after last update. How do I fix this?

    I have the latest LR update with Nikon D700 and import directly from camera. I purchased a new CF card in case the old one was the problem but I get the same thing with the new card. Is there a bug in the last update or is this a problem with my equipment?

    Hey everyone in Apple world!
    I figured out how to fix the flashing yellow screen problem that I've been having on my MBP!  Yessssss!!!
    I found this super handy website with the golden answer: http://support.apple.com/kb/HT1379
    I followed the instructions on this page and here's what I did:
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    I went through the 6 steps above twice, just to make sure I got rid of whatever stuff was holding up my bootup process.  Since I did that, my MBP boots up just like normal.  No flashing yellow screen anymore!!   
    (Note that I arrived at this solution when I first saw this page: http://support.apple.com/kb/TS2570?viewlocale=en_US)
    Let me know if this works for you!
    Elaine

  • Why do I get a "can't import spreadsheet because it was created with an unsupported application version" alert when the updated version was purchased direct from the Mac App Store? The spreadsheet is now lost somewhere!

    Why do I get a "can't import spreadsheet because it was created with an unsupported application version" alert when the updated version was purchased direct from the Mac App Store? The spreadsheet is now lost somewhere!

    Pages 4.3 should still be in an iWorks folder within your Applications folder. 
    http://www.apple.com/feedback/pages.html

Maybe you are looking for

  • IPhone device is not recognised by windows Explorer

    My iPhone works normally with iTunes, and the computer acknowledges it's presence with a ding dong when i plug it in and remove it. Yet it does not appear in the my computer folder hence i cannot access it's drive to add/remove photos and videos from

  • Drive 2 Displays With Older G5?

    Hi, I am running a G5 dual 1.8 Powermac with 2.5 Gigs of RAM. The graphics card is the standard geforce fx 5200 64mb which shipped with the unit. My regular display is an NEC multisync 17" monitor on the dvi output from the graphics card to the displ

  • Changes in Library AND Finder?

    Ok so I'm new to iPhoto.. and here's my problem... when I make changes in the iPhoto library, like adjusting colour, cropping, or even duplicating pictures, no changes take place in the folder where the pictures orginially came from (in finder). Why?

  • Using magic Trackpad on older Mac osx Lion

    Considering buying Magic Trackpad to use with my Macbook 2.1 Running osx Lion with 4gb ram.  Does anyone have any experience of this combination and suggestions to if it would be a worthwhile addition. Naturally i do not have the ability to use multi

  • My iPad restate when I play a video in keynote HELP!!!!

    I got this new iPad and bought the keynote app but it restarts my whole iPad when I play the video at the end of the slide show