Update Attributes in UME

Hi
Is it possible to update attributes e.g Language in UME via security.api ?.
Thanks
Damien

Damien,
Lokesh has given good input but user.setLocale("EN"); may not work as such because method setLocale
public boolean setLocale(java.util.Locale locale).
does not accept String parameter.
I tried it following way and it worked for me.
IUserMaint user = UMFactory.getUserFactory().getMutableUser(UMFactory.getUserFactory().getUserByLogonID("userid").getUniqueID());
Locale deLocale = new Locale("de", "DE");
user.setLocale(deLocale);
user.commit();
Obviously, "userid" needs to be replaced with a real User ID.
After this, refresh the browser and all navigation for user mapped to userid will be in German. You can get more information about Locale [here|http://java.sun.com/developer/technicalArticles/J2SE/locale/].
Hope it helps,
Vishwas.

Similar Messages

  • Custom Attributes in UME

    Hi,
    I have defined some custom attributes in UME.I created a user creation application which takes parameters from another application. I am using the below code to create the user.
    ===
    IUserMaint newUser = UMFactory.getUserFactory().newUser(uid);
    newUser.setFirstName(preq.getParameter("firstname"));
    ====
    my question is How do I update custom attributes that I have defined in UME.
    Any help on this is greatly appreciated.
    Vasu Pabbaraju.

    Venkata,
    I'm sorry I can't help you with your problem but maybe you can help me with mine....I cant even get the custom attributes to appear. The task processes a BOR but i've tried with UM attributes with no luck. Can you see an error here?
    <ItemType name="uwl.task.webflow.SAP_R3_HumanResources_test" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchSAPAction" executionMode="default">
    <ItemTypeCriteria systemId="SAP_R3_HumanResources" externalType="TS95100025" connector="WebFlowConnector"/>
    <CustomAttributes>
    <CustomAttributeSource id="UM" objectIdHolder="creatorId" objectType="user" cacheValidity="final">
    <Attribute name="lastname" type="string" displayName="Last Name" />
    </CustomAttributeSource>
    </CustomAttributes>
    <Actions>
    <Action name="launchSAPAction" userDecision="no" handler="SAPTransactionLauncher" referenceBundle="launch_sap"/>
    </Actions>
    </ItemType>
    Any help appreciated
    Thanks
    Tahir

  • How to add attribute to UME and how to retrive the attribute value

    Hi Gurus,
    I have developped an application that retriving the data from back end for that we need to give input values .
    I have got the Logged user from the Iuser But Sales Organization of User [from user profile] and Brand value [from user profile] I want these input put values need to pass as a input .
    For this how can get the sales org and Brand value.
    Give me suggestions for this or how to pass attributes to UME and how to capture it.
    Advance thanks.
    thanks
    Lohi.

    Check if there are any available function modules for this functionality. One of the FM that comes to my mind is:
    a) BAPI_USER_GET_DETAIL
    Check with your SD guys , if there exists any such function module.
    Regards,
    Subramanian V.

  • How to add custom attributes to UME

    hi gurus,
    I have developped an appliation in that I want add custom attributes to UME for the sake of retriving the BrandType.
    Please give me suggestion how to do this.
    Thanks in adance.
    Lohi

    Hi Lohi,
    UME setup
    1)     go to Configuration tool (C:\usr\sap\J2E\JC02\j2ee\configtool\consoleconfig.bat)
    2)     For “Global server configuration->services->com.sap.security.core.ume.service” define property “ume.admin.addattrs” as “BU_PARTNER” and for “ume.admin.self.addattrs” as “<empty>”. (to set value select entry, input value in “Value” field and click “Set”)
    3)     Click “Apply changes” button on the toolbar.
    4)     Restart server.
    5)     Login to http://<server_name>:<server_port>/useradmin/index.jsp and define “BU_PARTNER” property.
    Code:
    try {
         final IWDClientUser wdUser = WDClientUser.getCurrentUser();
         final IUser user = wdUser.getSAPUser();
         final String[] attribute = user.getAttribute(
              "com.sap.security.core.usermanagement",
              "BU_PARTNER");
         if( attribute==null || attribute.length == 0 || !Utils.isNotEmpty(attribute[0]) ) {
              wdComponentAPI.getMessageManager().reportMessage(...);
              return;
         } else {
              buPartner = attribute[0];
    } catch (final WDUMException e) {
         wdComponentAPI.getMessageManager().reportMessage(...);
    Best regards, Maksim Rashchynski.

  • Customized Attribute in UME

    Hello All,
    My requirement is, how to add the Customized Attribute in UME.
    I got one solution  from SDN. So I have defined custom property in ume.admin.addattrs field.
    But it shows input field. I need a check box instead of input field. How to acheive this?
    Please help to solve my problem.
    Thanks & Regards,
    Art.

    I have a similar requirement.  Any ideas?

  • EPMA Automation - Update Attribute

    I am presently using EPMA 11.1.1.3 and wanted to elicit views on the below :
    Is there an automated way through which the dimension attributes can be updated during the run time. Or can the task of updating Attributes be performed only
    by EPMA Administrator ?
    Thanks in advance !
    navpreet

    I would say it is the task of an administrator to maintain the metadata.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Updating attribute columns

    Hi,
    we are on oracle applications 11i.
    We have a requirement to create a descriptive flexfield in the items form and suppliers form to accept ids generated in another system. update would be from database end.
    what is the impact of updating attribute columns in two tables: MTL_SYSTEM_ITEMS_B and po_vendors with a simple procedure, i.e without using existing Oracle APIs?
    Regards

    Hi,
    here is why i think i need to insert a row the value set table : fnd_flex_values .
    after i update the record of the table and alter attribute field with value XXX for value set segment GLOBAL_ID, I go to the application and query the record. It gives me error:
    Value XXX for the flexfield segment Global ID does not exist in the value set XX_GLOBAL_ID.
    this error only goes away when i insert the value XXX to the descriptive flexfield segment values list.
    I defined the value set as independent. If you have another mean where i can accomplish this, I will like to know about it.
    From ittoolbox forum i had the name of the package, which is fnd_flex_values_pkg. I need more details on the tables that i need to update or insert rows into and about the package; if possible.
    thanks

  • Launch workflow in user form after updating attributes

    Hello,
    When I launch a workflow in my activeSync user form, attributes are not updated if there are changes for the account.
    I launch the worfklow as described below:
                    <Field name='viewOptions.Process'>
                        <Comments> Workflow</Comments>
                        <Expansion>
                            <s>DeleteAccounts</s>
                        </Expansion>
                    </Field>Is it possible in a first time to update attributes and then to launch the workflow ?
    Thanks,
    Nicolas

    Are the attributes changing because of changes through role assignments? I think those changes happen during check-in. (Maybe in a reprovision, too: I haven't tried.)
    My instructor said he has seen times after activeSync is run that, if you edit the user, additional attribute changes finally go through. He didn't elaborate on when it happens. I've seen it, but for reasons that aren't relevant in this discussions, I haven't had to deal with it yet.
    Anyway, he recommended setting viewOptions.Process to something that does an extra check-out/in (or in/out?) to handle that situation. You might want to add a check-in/out to your workflow before you do your other processing...

  • Updating attributes for InfoObject

    I am getting below error while trying to load the master data "0MAT_PLANT" using DTP.
    " There are duplicates of the data record 1 & with the key ' &' for   
    characteristic 0MAT_PLANT &.  "                                     
    Tetted following.
    1.vealidated the data in PSA, thers is no duplicate entries.
    2.In the DTP monitor, I can see..
       1.Extraction DataSource 0MAT_PLANT_ATTR : Green
       2.Filter Out New Records with the Same Key : Green
       3.RSDS 0MAT_PLANT_ATTR  -> IOBJ 0MAT_PLANT : Green
       4.Updating attributes for InfoObject 0MAT_PLANT : Red (falied)
    I was performin the data load with only one record eventhough I m agetting this error measge Duplicates entries" , your help on this greatly appericiated..
    Thanks,
    Raman

    Hi,
    Check if it is full upload from PSA, and check how many PSA request are coming when you pull the data.
    Might be in other request in PSA have duplicate entries.
    When you pull the data from DTP as Full it will select all the request from PSA..
    Check this..
    Regards
    Gopal

  • Lastmodifydate attribute in UME schema

    I am using SPML interface in  UME to search users in UME. Is there any way to give filter to fetch users that are modified after a given timestamp? 'lastmodifydate' attribute in UME schema fetch value for account creation date and not account modify date.

    Do these sections of the manual not describe it?
    Overview of dimensions
    CREATE DIMENSION

  • Simple question, updating attributes

    Hello,
    I have simple question. When I update attributes using ActiveSync. I have to submit created events in poll method (resp. processUpdates method). How does the update works, do I have to specify all the attributes or just those which are beeing updated?????
    Thank you a lot for answering or leading me where to find answer.
    Martin

    In documenation there is:
    Updating the Identity Manager Repository
    When an update is received, the adapter uses the IAPI classes, notably IAPIFactory to:
    * Collect the changed attributes
    * Map the changes to a unique Identity Manager object.
    * Update that object with the changed information
    Mapping the Changes to the Identity Manager Object
    Using the Active Sync event parameter configurator for the resource, IAPIFactory.getIAPI constructs an IAPI object, either IAPIUser or IAPIProcess from a map of changed attributes. If an exclusion rule (iapi_create, iapi_delete, or iapi_update) is configured for the resource, IAPIFactory checks if the account is excluded. If a non-null object is created and returned by the Factory, the adapter can modify the IAPI object (for example, by adding a logger), then submits it.
    When the object is submitted, the form associated with the resource is expanded with the object view before the view is checked in. For details on forms and views, see the chapters titled Identity Manager Forms and Identity Manager Views.
    In SkeletonActiveSyncResourceAdapter, this process is handled in the buildEvent and processUpdates methods.
    ... which looks like not all attributes have to be specified but is there any example how object userMap which is passes to event creator looks like?????
    Martin

  • TREX not updating index of UME

    We have created an index of the UME users for the Who's Who search functionality.  Our UME is connected to an Active Directory LDAP.  Everything is working except that changes made to AD are not being updated in the index.  The index and its data source are scheduled to run its crawler every night.  In particular, it is the telephone property that we noticed is not updating.
    What am I missing?
    Maximum points awarded to the first correct solution.

    Here you go.  You can see where PRINCIPAL_MODIFY_DATE has been mapped.  All the other mappings are pretty standard for AD.
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- $Id: //shared_tc/com.sapall.security/630_SP_COR/src/_deploy/dist/configuration/shared/dataSourceConfiguration_ads_readonly_db.xml#6 $ from $DateTime: 2004/08/20 09:55:24 $ ($Change: 17140 $) -->
    <!DOCTYPE dataSources SYSTEM "dataSourceConfiguration.dtd">
    <dataSources>
        <dataSource id="PRIVATE_DATASOURCE" className="com.sap.security.core.persistence.datasource.imp.DataBasePersistence" isReadonly="false" isPrimary="true">
            <homeFor>
                <principals>
                    <principal type="group"/>
                    <principal type="user"/>
                    <principal type="account"/>
                    <principal type="team"/>
                    <principal type="ROOT"/>
                    <principal type="OOOO"/>
                </principals>
            </homeFor>
            <notHomeFor/>
            <responsibleFor>
                <principals>
                    <principal type="group"/>
                    <principal type="user"/>
                    <principal type="account"/>
                    <principal type="team"/>
                    <principal type="ROOT"/>
                    <principal type="OOOO"/>
                </principals>
            </responsibleFor>
            <privateSection/>
        </dataSource>
        <dataSource id="XXXXXXXXX" className="com.sap.security.core.persistence.datasource.imp.LDAPPersistence" isReadonly="true" isPrimary="true">
            <homeFor/>
            <responsibleFor>
                <principal type="account">
                    <nameSpace name="com.sap.security.core.usermanagement">
                        <attributes>
                            <attribute name="j_user"/>
                            <attribute name="logonalias"/>
                            <attribute name="j_password"/>
                            <attribute name="userid"/>
                        </attributes>
                    </nameSpace>
                </principal>
                <principal type="user">
                    <nameSpaces>
                        <nameSpace name="com.sap.security.core.usermanagement">
                            <attributes>
                                <attribute name="firstname" populateInitially="true"/>
                                <attribute name="displayname" populateInitially="true"/>
                                <attribute name="lastname" populateInitially="true"/>
                                <attribute name="fax"/>
                                <attribute name="email"/>
                                <attribute name="title"/>
                                <attribute name="department"/>
                                <attribute name="description"/>
                                <attribute name="mobile"/>
                                <attribute name="telephone"/>
                                <attribute name="streetaddress"/>
                                <attribute name="city"/>
                                <attribute name="company"/>
                                <attribute name="manager"/>
                                <attribute name="uniquename" populateInitially="true"/>
                                <attribute name="kpnprefix"/>
                                <attribute name="krb5principalname"/>
                                <attribute name="dn"/>
                                <attribute name="country"/>
                                <attribute name="jobtitle"/>
                                <attribute name="zip"/>
                                <attribute name="state"/>
                                <attribute name="pobox"/>
                                <attribute name="PRINCIPAL_MODIFY_DATE"/>
                            </attributes>
                        </nameSpace>
                        <nameSpace name="com.sap.security.core.usermanagement.relation">
                            <attributes>
                                <attribute name="PRINCIPAL_RELATION_PARENT_ATTRIBUTE"/>
                            </attributes>
                        </nameSpace>
                        <nameSpace name="$usermapping$">
                            <attributes>
                                <attribute name="REFERENCE_SYSTEM_USER"/>
                            </attributes>
                        </nameSpace>
                    </nameSpaces>
                </principal>
                <principal type="group">
                    <nameSpaces>
                        <nameSpace name="com.sap.security.core.usermanagement">
                            <attributes>
                                <attribute name="displayname" populateInitially="true"/>
                                <attribute name="description" populateInitially="true"/>
                                <attribute name="uniquename"/>
                            </attributes>
                        </nameSpace>
                        <nameSpace name="com.sap.security.core.usermanagement.relation">
                            <attributes>
                                <attribute name="PRINCIPAL_RELATION_MEMBER_ATTRIBUTE"/>
                                <attribute name="PRINCIPAL_RELATION_PARENT_ATTRIBUTE"/>
                            </attributes>
                        </nameSpace>
                        <nameSpace name="com.sap.security.core.bridge">
                            <attributes>
                                <attribute name="dn"/>
                            </attributes>
                        </nameSpace>
                    </nameSpaces>
                </principal>
            </responsibleFor>
            <attributeMapping>
                <principals>
                    <principal type="account">
                        <nameSpaces>
                            <nameSpace name="com.sap.security.core.usermanagement">
                                <attributes>
                                    <attribute name="j_user">
                                        <physicalAttribute name="samaccountname"/>
                                    </attribute>
                                    <attribute name="logonalias">
                                        <physicalAttribute name="samaccountname"/>
                                    </attribute>
                                    <attribute name="j_password">
                                        <physicalAttribute name="unicodepwd"/>
                                    </attribute>
                                    <attribute name="userid">
                                        <physicalAttribute name="*null*"/>
                                    </attribute>
                                </attributes>
                            </nameSpace>
                        </nameSpaces>
                    </principal>
                    <principal type="user">
                        <nameSpaces>
                            <nameSpace name="com.sap.security.core.usermanagement">
                                <attributes>
                                    <attribute name="firstname">
                                        <physicalAttribute name="givenname"/>
                                    </attribute>
                                    <attribute name="displayname">
                                        <physicalAttribute name="displayname"/>
                                    </attribute>
                                    <attribute name="lastname">
                                        <physicalAttribute name="sn"/>
                                    </attribute>
                                    <attribute name="fax">
                                        <physicalAttribute name="facsimiletelephonenumber"/>
                                    </attribute>
                                    <attribute name="uniquename">
                                        <physicalAttribute name="samaccountname"/>
                                    </attribute>
                                    <attribute name="loginid">
                                        <physicalAttribute name="*null*"/>
                                    </attribute>
                                    <attribute name="email">
                                        <physicalAttribute name="mail"/>
                                    </attribute>
                                    <attribute name="mobile">
                                        <physicalAttribute name="mobile"/>
                                    </attribute>
                                    <attribute name="telephone">
                                        <physicalAttribute name="telephonenumber"/>
                                    </attribute>
                                    <attribute name="department">
                                        <physicalAttribute name="department"/>
                                    </attribute>
                                    <attribute name="description">
                                        <physicalAttribute name="description"/>
                                    </attribute>
                                    <attribute name="streetaddress">
                                        <physicalAttribute name="streetaddress"/>
                                    </attribute>
                                    <attribute name="city">
                                        <physicalAttribute name="l"/>
                                    </attribute>
                                    <attribute name="company">
                                        <physicalAttribute name="company"/>
                                    </attribute>
                                    <attribute name="manager">
                                        <physicalAttribute name="manager"/>
                                    </attribute>
                                    <attribute name="kpnprefix">
                                        <physicalAttribute name="samaccountname"/>
                                    </attribute>
                                    <attribute name="krb5principalname">
                                        <physicalAttribute name="userprincipalname"/>
                                    </attribute>
                                    <attribute name="dn">
                                        <physicalAttribute name="distinguishedname"/>
                                    </attribute>
                                    <attribute name="country">
                                        <physicalAttribute name="country"/>
                                    </attribute>
                                    <attribute name="jobtitle">
                                        <physicalAttribute name="title"/>
                                    </attribute>
                                    <attribute name="zip">
                                        <physicalAttribute name="postalCode"/>
                                    </attribute>
                                    <attribute name="state">
                                        <physicalAttribute name="st"/>
                                    </attribute>
                                    <attribute name="pobox">
                                        <physicalAttribute name="postOfficeBox"/>
                                    </attribute>
                                    <attribute name="PRINCIPAL_MODIFY_DATE">
                                        <physicalAttribute name="modifyTimeStamp"/>
                                    </attribute>
                                </attributes>
                            </nameSpace>
                            <nameSpace name="com.sap.security.core.usermanagement.relation">
                                <attributes>
                                    <attribute name="PRINCIPAL_RELATION_PARENT_ATTRIBUTE">
                                        <physicalAttribute name="memberof"/>
                                    </attribute>
                                </attributes>
                            </nameSpace>
                            <nameSpace name="$usermapping$">
                                <attributes>
                                    <attribute name="REFERENCE_SYSTEM_USER">
                                        <physicalAttribute name="sapusername"/>
                                    </attribute>
                                </attributes>
                            </nameSpace>
                        </nameSpaces>
                    </principal>
                    <principal type="group">
                        <nameSpaces>
                            <nameSpace name="com.sap.security.core.usermanagement">
                                <attributes>
                                    <attribute name="displayname">
                                        <physicalAttribute name="displayname"/>
                                    </attribute>
                                    <attribute name="description">
                                        <physicalAttribute name="description"/>
                                    </attribute>
                                    <attribute name="uniquename" populateInitially="true">
                                        <physicalAttribute name="cn"/>
                                    </attribute>
                                </attributes>
                            </nameSpace>
                            <nameSpace name="com.sap.security.core.usermanagement.relation">
                                <attributes>
                                    <attribute name="PRINCIPAL_RELATION_MEMBER_ATTRIBUTE">
                                        <physicalAttribute name="member"/>
                                    </attribute>
                                    <attribute name="PRINCIPAL_RELATION_PARENT_ATTRIBUTE">
                                        <physicalAttribute name="memberof"/>
                                    </attribute>
                                </attributes>
                            </nameSpace>
                            <nameSpace name="com.sap.security.core.bridge">
                                <attributes>
                                    <attribute name="dn">
                                        <physicalAttribute name="*null*"/>
                                    </attribute>
                                </attributes>
                            </nameSpace>
                        </nameSpaces>
                    </principal>
                </principals>
            </attributeMapping>
            <privateSection>
                <ume.ldap.access.server_type>MSADS</ume.ldap.access.server_type>
                <ume.ldap.access.context_factory>com.sun.jndi.ldap.LdapCtxFactory</ume.ldap.access.context_factory>
                <ume.ldap.access.authentication>simple</ume.ldap.access.authentication>
                <ume.ldap.access.flat_group_hierachy>true</ume.ldap.access.flat_group_hierachy>
                <ume.ldap.access.user_as_account>true</ume.ldap.access.user_as_account>
                <ume.ldap.access.dynamic_groups>false</ume.ldap.access.dynamic_groups>
                <ume.ldap.access.ssl_socket_factory>com.sap.security.core.server.https.SecureConnectionFactory</ume.ldap.access.ssl_socket_factory>
                <ume.ldap.access.objectclass.user>User</ume.ldap.access.objectclass.user>
                <ume.ldap.access.objectclass.uacc>User</ume.ldap.access.objectclass.uacc>
                <ume.ldap.access.objectclass.grup>Group</ume.ldap.access.objectclass.grup>
                <ume.ldap.access.naming_attribute.user>cn</ume.ldap.access.naming_attribute.user>
                <ume.ldap.access.auxiliary_naming_attribute.user>samaccountname</ume.ldap.access.auxiliary_naming_attribute.user>
                <ume.ldap.access.naming_attribute.uacc>cn</ume.ldap.access.naming_attribute.uacc>
                <ume.ldap.access.auxiliary_naming_attribute.uacc>samaccountname</ume.ldap.access.auxiliary_naming_attribute.uacc>
                <ume.ldap.access.naming_attribute.grup>cn</ume.ldap.access.naming_attribute.grup>
                <ume.ldap.access.extended_search_size>200</ume.ldap.access.extended_search_size>
                <ume.ldap.access.server_name>XXXXXXXXX</ume.ldap.access.server_name>
                <ume.ldap.access.server_port>XXXXX</ume.ldap.access.server_port>
                <ume.ldap.access.user>XXXXXXXXX</ume.ldap.access.user>
                <ume.ldap.access.password>XXXXXXXX</ume.ldap.access.password>
                <ume.ldap.access.base_path.user>XXXXXX</ume.ldap.access.base_path.user>
                <ume.ldap.access.base_path.grup>XXXXXX</ume.ldap.access.base_path.grup>
                <ume.ldap.negative_user_filter></ume.ldap.negative_user_filter>
            </privateSection>
        </dataSource>
    </dataSources>

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

  • Is it possible to update attributes in all tables in a multi entity view

    Hi I have a view based on 4 entities, all of which are a 3 of which are 1 to many relationship with the 4th. The 3 additional entities have 2 or 3 attributes, Id, name, and one entity has a foreign key relating to a different table which I do not care about. The IDs are all updatable in the entity, and none of them are generated from a sequence but are inserted manually, except for the 4th (Master?) which is generated from a sequence.
    I create the view and all the entities are updatable, but in the view when I go to attributes from the other tables, it says updatable never and is grayed out so I cannot change it, even though in the entities tab, it is updatable always.
    So I was wondering if this was possible to do???

    I do not understand really, if it is 2 different tables, it is 2 different primary keys. Why would this even happen? What does it matter if EmployeeID and DepartmentID is both 1??? It just seems that there has to be a simpler way to do this but ok.
    So I go to the AppModule, Java tab and go generate Java class. The original code was
    public ViewObjectImpl getObjektiCRUDView1()
    return (ViewObjectImpl)findViewObject("ObjektiCRUDView1");
    I then copy your code to the best of my limited knowledge and get this
    public ViewObjectImpl getObjektiCRUDView1()
    this.getObjektiCRUDView1().executeEmptyRowSet();
    {Row yourRow = this.getObjektiCRUDView1().createRow();
    this.getObjektiCRUDView1().insertRow(yourRow );
            return (ViewObjectImpl)findViewObject("ObjektiCRUDView1");
    On the first row the getObjektiCRUDView1() is underlined and it says missing method body or declare as abstract.
    I know I did something wrong here but I have no idea what as I am not very good with Java
    Also it is not a jsf page, I create a single jspx page and divided it using the panel splitter so on one side we have an adf table for updating the Objekti database table, and on the other side I have an adf form for updating the Positions table (and later on other tables, I hope to have many forms there)
    Edited by: Dino2dy on Jun 10, 2010 12:02 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • LDAP weird error on updating attributes, no error on reading

    I have to modify the email addresses of only some users in the LDAP database, hence I am doing a search for all objects with the specified email address and updating it using the modifyAttribute function......
    When I just read the properties the code works fine, but when I try to modify the attribute it throws me the following error
    javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'strsdistrid=3+strsdistruserid=isdfv01,ou=autodistributionobjects'
    javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'strsdistrid=3+strsdistruserid=isdfv01,ou=autodistributionobjects'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3013)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2934)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2740)
    at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1440)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:255)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:172)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:161)
    at javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.java:146)
    at fullname.main(fullname.java:77)
    here is the code.....
    while (answer.hasMore()) {
    SearchResult sr = (SearchResult)answer.next();
    sr.setRelative(false);
    System.out.println(">>>" + sr.getName());
    String dn = sr.getName();
    Attributes attrs = sr.getAttributes();
    String givenName = " ";
    String surName = " ";
    try {
    givenName = attrs.get("mail").toString();
    } catch (Exception err) {
    givenName = " ";
    System.out.println(">>> [Email addresses] " + givenName);
    try {
    surName = attrs.get("document").toString();
    } catch (Exception e2) {
    surName = " ";
    System.out.println(">>> [Object name] " + surName);
    ModificationItem mods[] = new ModificationItem[1];
    // Put in mail
    Attribute mod0 = new BasicAttribute( "strsdistremailaddress","[email protected]");
    mods[0] = new ModificationItem(DirContext.REPLACE_ATTRIBUTE, mod0);
    System.out.println("Modifications set");
    ctx.modifyAttributes(sr.getName(),mods);
    All help is appreciated.

    Hi Timbuk,
    Iam also having a similar problem as yours.
    I have added groups into Active Directory, when i try to add users to groups, Iam getting the same exception.
    javax.naming.NameNotFoundException: [LDAP: error code 32 - 00000525: NameErr: DSID-031A0F80, problem 2001 (NO_OBJECT), data 0, best match of:
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3057)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2978)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2785)
         at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1468)
         at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:273)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:190)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:179)
         at javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.java:165)
            at com.loadtesting.main(AddingUser.java:414)
    Please let me know if you got solution for your problem. So that you can help me. Urgent
    Thanks in advance.
    Deebika                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Create a Site Definition file with Visual Web part in Visual Studio

    I tried to create a site definition file in Visual Studio 2013 and SharePoint 2013 by following the MSDN tutorial: Walkthrough: Create a Basic Site Definition Project. Near the end, I added a virtual web part control to the site definition and regist

  • Can I convert a guest viewer to a member viewer?

    Post Author: mwong CA Forum: crystalreports.com You can request to have a guest viewer to a member viewer if the following conditions met:1. The guest viewer has not been updated to a starter edition account or a professional edition account (does no

  • BAPI_GOODSMVT_CREATE for Outbound delivery

    Hi Gurus, I am using BAPI_GOODSMVT_CREATE for creation of GRN against a Outbound delivery I am able to create the same using MIGO,but not with the help of this bapi i have passed GM_CODE as 01 and MVT_IND as L and all relevant datas but it throws an

  • Getting Fatal error: Call to undefined function mysql_connect() error.

    ok, so before I had my mysql_connect php script and it ran fine, no errors, but once I changed my php.ini file to give ERROR_REPORTING E_ALL I now get Fatal error: Call to undefined function mysql_connect(). I am just wondering how I can fix this? I

  • Charcteristic hierarchy

    I created a characteristic hierarchy for G/L account Text node                               3000002   characteristic nodes                  6850411   interval nodes                            6850310 - 6850313 If nothing has been posted to the charc