Multivalue Attribute Values

I need to be able to store these two values in the same multi value attribute:
Director
DIRECTOR
Is there a way I can accomplish this with matching rules or some other mechanism? Out of the box they are treated as duplicate values.
thanks,

Hi,
You can create your own attribute with syntax IA5String and equality matching rule set to caseExactString
For instance, you can add your own schema extension in the 99user.ldif file in <install>/config/schema.
dn: cn=schema
attributeTypes: (<some oid> NAME 'testattr' DESC 'test' EQUALITY caseExactMatch SYNTAX *1.3.6.1.4.1.1466.115.121.1.26* MULTI-VALUE X-ORIGIN 'myself' )
objectClasses: ( <your oid> NAME 'testclass' DESC 'test' SUP person MUST ( testclass) X-ORIGIN 'myself' )
Dont forget to enable syntax-checking as well in the directory (cf [http://docs.sun.com/app/docs/doc/820-4813/check-syntax-enabled-5dsconf?l=en&q=rm&a=view|http://docs.sun.com/app/docs/doc/820-4813/check-syntax-enabled-5dsconf?l=en&q=rm&a=view]
-Sylvain

Similar Messages

  • Verify existing multivalued attribute values using powershell

    I am writing a powershell script which will add value to a multivalued reference attribute ( This multivalued reference attribute name is "Admins" and is binded to person object). 
    Suppose I am adding value "Test"(Reference attribute) to multivalued reference attribute ("Admins").
    I want to check whether the value  "Test" is already present in "Admins" before adding this value to multivalued reference attribute ("Admins"). Can someone please guide me on this.

    Function AddMultivalue also ignore update if the value is present :)
    function AddMultiValue
    PARAM($ImportObject, $AttributeName, $NewAttributeValue, $FullyResolved=1)
    END
    $ImportChange = CreateImportChange -AttributeName $AttributeName -AttributeValue $NewAttributeValue -Operation 0
    $ImportChange.FullyResolved = $FullyResolved
    AddImportChangeToImportObject $ImportChange $ImportObject

  • 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

  • FIM multivalue attribute export to SQL - error 0x80230808

    Hi,
    Running FIM Synchronization Service v 4.0.3531.2 - Update1.
    This instance is a simple setup, import from AD, export to SQL. I'm trying to export two multivalue attributes, one is a normal multivalue string, second is a reference attribute (member). My anchor is the GUID from AD in string format, perfectly fitting
    into uniqueidentifier sql datatype.
    Since I wanted to have the member values in the multivalue table also stored in a uniqueidentifier column (for further linking) I had to create two columns, one as "uniqueidentifier" and second as "text". FIM configuration went smoothly,
    I defined a member multivalue reference attribute and selected the uniqueidentifier column as "String attribute column", and the other multivalue string attribute had to be linked as "Large string attribute column" and I pointed it to the
    text datatype column.
    Synchronization completed without errors, export step properly exported all multivalue string attributes to the text column, BUT when it came to exporting the GUID reference attribute to the uniqueidentifier column it exported only the first value showing
    a "dn-attribute-failure" error. From the FIM GUI it was only showing the error number = 0x80230808.
    I did a SQL trace to see what's going on. I re-run the export and saw FIM trying to delete all the values for this attribute multiple times with:
    DELETE from [tblAD_Multivalue]  WHERE [objectGUID] = N'{B011B424-5B2F-43A9-84C5-8605A570487B}' AND [attributeName] = N'member'
    followed by doing cursor magic with the first value that was already added:
    exec sp_cursor 180150007,4,0,N'tblAD_Multivalue',@objectGUID='B011B424-5B2F-43A9-84C5-8605A570487B',@attributeName='member',@guidValue='2E52A484-C7F6-49C0-AAC8-0A30C732A385'
    After repeating the above for over 10 times it added a export_error_detail:
    update [mms_connectorspace] set [export_error_detail] = N'<export-status>
    <cd-error>
    <error-code>0x80230808</error-code><error-literal>[Modify] Failed operation</error-literal>
    </cd-error>
    </export-status>
    ',[count_export_error_retries] = 0,[is_export_error] = 1,[initial_export_error_date] = '2011-02-12 21:36:08.995',[last_export_error_date] = '2011-02-12 21:36:08.995',[export_error_code] = -2145189885,[unapplied_export_batch_number] = 1,[unapplied_export_sequencer_number] = 2162572,[original_export_batch_number] = 1,[original_export_sequencer_number] = 2162572,[current_export_batch_number] = 4,[current_export_sequence_number] = 2216213 where ([object_id] = '6F5C98E3-38FF-4F32-95F6-B5A315B71D7A')
    I tried manually adding one of the following values directly to SQL and it worked, so I'm not really sure what's wrong here.
    Any ideas?
    Piotr

    Hi Markus,
    yes, I know all about the architecture to allow multi-value attributes to be exported to SQL.
    Everything works when I have just one string value column in my tblAD_Multivalue. The problem is that my anchor in the primary table is a GUID in a uniqueidentifier SQL column type (in FIM MV it's a string), so when I'm exporting multivalue reference attributes
    to SQL I would like the GUID values also to go to a uniqueidentifier type column. That's why I set up the secondary column in the multi-value table with text datatype, so FIM recognizes it as a "large string column". I think I did everything within
    the guidelines, so I was puzzled when I saw that error.
    Consider this simple example, you're exporting users and groups from AD, you're anchor data type is uniqueidentifier, and you need to export the member attribute and the proxyAddresses attribute. What would you do to allow future SQL joins to calculate membership?
    hope this explains a bit more this scenario, would appreciate any suggestions.
    Piotr

  • How to define a  multivalued attribute in spml2.xml(spml2PersonForm)?

    I need to define a multivalued attribute in spml2.xml for modifying security answers and adding resources during add request. I tried by giving multivalued="true" during the attribute definition.
    <spmldsml:attributeDefinition name="questions" description="Secret questions" multivalued ="true"/>
    but still the lookup response shows the value as a single attribute
    <dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='questions'>
    <dsml:value>[What is your mother's maiden name?, asrfasdhfgjk, adsggfjhgkjhl]</dsml:value>
    </dsml:attr>
    Kindly suggest if i missed out anything during the configuration.

    Hi!
    I was unable to post any message. It was displaying that "Message blocked".
    Please help me in this issue.
    Regards
    Mourya

  • Multivalue Attributes

    We are implementing Portal, and one of the requirements we have is to load multiple values into a single attribute. For example, a document might have an attribute for Manufacturer. We want to be able to assign GM, FORD, or both values. I know we can use a multivalue attribute, but there doesn't appear to be a way to validate the contents or select values from a predefined list. What is the best way to address this problem?
    Any help is greatly appreciated.
    Kevin

    hi kevin,
    you could use the perspectives attribute to implement this. the perspective is our only multi-value attribute that we have in portal.
    regards,
    christian

  • AD group in multivalue attribute in OIA

    Hi,
    I am trying to load AD groups into OIA via csv feed using schema files. I have created a multivalue attribute adgroup in OIA, but when i am entering multiple AD groups in the csv feed file for one user as "ou=abc,dc=abc ; ou=def,dc=ab", so instead of getting separated into two groups it is getting split into 4 different values at commas, is there any way to handle this type of values in the feed file or OIA cannot handle this kind of multiple values.
    Any pointers would be really helpful.

    Hi there abhishek,
    By default the seperator char is a comma, that's why OIA splits it up into the "wrong pieces".
    If you would like to use a different separator, you'll have to make a config adjustment in the database.
    Find the NAMESPACES table and look for the AD resource you created (resource has to be created first). One of the other fields is the 'multivalue_separator' field, if you change this to a semicolon (;) it should work alright. You might want to restart the application for it to work and re-import the accounts.
    I'm still looking for a more gentle way to commit the change instead of restarting OIA.
    Hope this helps you!
    Best regards,
    Jeff

  • Help with target filter in an ACI and editing multivalue attributes

    Here is the ACI I tried to use:
    (targetattr = "*")
    (target = "ldap:///ou=xyz,dc=company,dc=com")
    (targetfilter=(objectclass=groupofuniquenames)||(objectclass=extendedobjectclass1)||(objectclass=extendedobjectcla ss2))
    (version 3.0;acl "xyzadmin privileges";
    allow (selfwrite,write,delete,add)
    (userdn = ldap:///uid=xyzadmin,ou=people,dc=company,dc=com");)
    1. Is the targetfilter syntax above correct? This does not work even when I tried the other notation
    " (|(|(objectclass=X)(objectclass=Y))(objectclass=Z)) "
    2. xyzadmin needs to update (another system creates a value initially) an 'extendedattribute' in either of the 'extendedobjectclass1/2'. This works if I set seperate ACIs. If I combine them (as above) does not work. Any solutions?
    3. Not exactly related to this. The 'extendedattribute' is a multi-value attribute. Say it has two values,
    (extendedattribute: ID1=222|ID2=333, ID1=444|ID2=-1). If I want to use ldapmodify and replace the
    'ID1=444|ID2=-1' to 'ID1=444|ID2=555', how can it be done?
    The same question can be rephrased as 'how can I replace a value amongst a set of values in a multivalued attribute with ldapmodify'? Is it possible?
    p.s.: Please don't ask to split the ID1, ID2 into 2 attributes as one of the products using the directory requires it to be that way (ID1=<vale>|ID2=<value>).

    My answer will concerne only your first query.
    Firstly, the target syntax must include the target keywork in the first portion of rule.
    Have you try these syntax ===>
    (targetfilter="(|(objectClass=groupofuniquenames)(|(objectClass=extendedobjectclass1)(objectClass=extendedobjectclass2)))")
    or
    (targetfilter="(|(objectclass=groupofuniquenames)(objectclass=extendedobjectclass1)(objectclass=extendedobjectclass2))"
    The first syntax works correctly for me.
    I hope this is help you and good luck for the rest.

  • Modifying Multivalued Attribute - Error?

    Hi All,
    Im able to update the LDAP Attributes by using modifyAttributes method, But i want to update a multivalued Attribute in the Active Directory.
    I tried using array its not working help me out...
    Jagan Thanks.....

    Just iterate through the array members and add them to the attribute. Something like:String phoneNumbers[] = {"123 456 7890","456 789 0123", "789012 3456"};
    ModificationItem[] mods = new ModificationItem[phoneNumbers.length];
    for (int i = 0;i<phoneNumbers.length;i++) {
      mods[i] = new ModificationItem(DirContext.ADD_ATTRIBUTE, new BasicAttribute("otherTelephone",phoneNumbers));
    Just be aware of the different operations that can be performed against a multi-valued attribute, clearing all of the values, replacing or deleting a single value and  appending values.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Reading multivalued attribute

    Hi,
    I have a multivalued attribute defined in LDAP and was synchronized to plumtree. After synchroinzation, the attribute with multiple values came in to plumtree and I am able to see the values of the attribute by clicking on user profile. But when I try to read the attribute using the following query only the last value is coming up.
    Here is the query I am using.
    IPortletContext portletContext = PortletContextFactory.createPortletContext(request, response);IPortletRequest portletRequest = portletContext.getRequest(); out.write("locationString = " + portletRequest.getSettingValue(SettingType.UserInfo,"ttcmytlocation"));
    In the profile of the user ttcmytlocation attribute has multiple values, but reading returns only the last value. Is there any other way to query the values? Please help!!
    Thanks.

    Use LDAP is ticked but no server specified
    Tried Selecting the server but no effect
    Every where I look in POA, Domain setting its set to the SERVER's IP address
    not DNS name!!
    Copied NAMED.NLM (just the NLM) from SP5 server - error gone but still get
    the LDAP error 81 when a
    user tries to login to GW.
    I also POA > Security - I tried setting security to LOW (which unticks LDAP)
    but still can't login
    "Anders Gustafsson" <[email protected]> wrote in message
    news:[email protected]..
    > Eric,
    >> "Starting eDirectory integrated Novell DNS Server...
    >> error:NWDSRead Failed while reading a multivalued attribute: -603
    >> Loading the configuration and zone data completed .
    >> DNS Server running "
    >>
    > OK. I assume that you have configured your POA to use the same server for
    > LDAP. If so, did you use the DNS name or IP address? If DNS name, I
    > suggest you try IP address as this takes DNS out of the picture.
    >
    > The error you are seeing indicates that you are not current on servicer
    > packs:
    > http://www.novell.com/support/search...200%2043955231
    >
    > I suggest you apply SP6 plus the post SP6 fixes after resolving your POA
    > issue and reading this:
    > http://wiki.novell.com/index.php/Nw65sp6
    >
    > - Anders Gustafsson, Engineer, CNE6, ASE
    > NSC Volunteer Sysop
    > Pedago, The Aaland Islands (N60 E20)
    >
    > Novell does not monitor these forums officially.
    > Enhancement requests for all Novell products may be made at
    > http://support.novell.com/enhancement
    >
    > Using VA 5.51 build 315 on Windows 2000 build 2600
    >

  • Is there any way to get a particular attribute value pair based on a search condition ?

    From a multivalue attribute , can I get a particular attribute value based on a search condition.

    No, this is not part of the LDAP specs... and therefore it is not implemented in Directory Server 5.x.
    However, there has been some proposal for a standard mechanism for specifying returning Matched values in LDAPv3. The internet draft expired a year ago mostly because of lack of interest from the LDAP users community.
    Regards,
    Ludovic.

  • Not getting attribute values in IPC routines Scenerio R/3 B2B using AP 7.0

    Hi,
    Our Scenerio is using ISA R/3 B2B using AP 7.0. I have developed IPC routines but when i debug my routines in SM53 I notice that I'm not getting any attribute value except for VKORG.
    I'm pasting the code below. Please help me if I have to implement some BADI or do something more to get the attribute values.
    I have defined the attributes properly in Routine assignment in tcode /n/sapcnd/ueass
    userexitlogger.writeLogDebug("*requirment 901*" + "Plant = "plant"||ANZ_MONATE ="+ item.getAttributeValue(ANZ_MONATE_STR).toString()"||ANZ_JAHRE="item.getAttributeValue(ANZ_JAHRE_STR).toString()"||MATKL="item.getAttributeValue(MATKL_STR).toString()"||PSTYV="item.getAttributeValue(PSTYV_STR).toString()"||VKORG="item.getAttributeValue(VKORG_STR)"||PRSFD="item.getAttributeValue(PRSFD_STR)"||MVGR2="item.getAttributeValue(MVGR2_STR).toString()"||PRSDT="item.getAttributeValue(PRSDT_STR).toString()"||AUDAT="item.getAttributeValue(AUDAT_STR).toString());
    I would reward points for help
    Many Thanks n regards,
    Dipender

    I would like to go through each Value of the xml file and give each Value a name
    e.g. from the xml file <VentCount Value=1> Retreive the value above and giving it the name VentCount. Then I would beable to use the name vent count as follows:
    setVentCount() //My own method can use as follows: setVentCount(VentCount); I would like to do his for ever value, each value with a specific name

  • Passing attribute value in session variable

    Hi All
    I need to store one field value from my SIM form as a session variable and pass them to the next page along with my session, using some jscript stuff or else. Does this make sense?
    If it is possible or anyone have any prior experience please reply.
    Thanks in advance

    We have tested a code-snippet that 'gets' attribute-values from the session:
    <invoke name='getAttribute'>
        <invoke name='getHttpSession'>
            <ref>:display.state</ref>
        </invoke>
        <s>attribute_name</s>
    </invoke>You can try 'setAttribute' in the similar way.
    Thanks,
    Adi

  • Need Help ::  Current row attribute value returning null

      Hi Frds,
    I am facing the problem that
    Current row attribute value returning null............ even though value is there..... plz.. he
    This is the code in PFR
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("queryBtn")!= null)
        String  pPersonId = pageContext.getParameter("ctrlPersonId");
         String rowReference = pageContext.getParameter(EVENT_SOURCE_ROW_REFERENCE);
         OptionsVORowImpl curRow = (     OptionsVORowImpl) am.findRowByRef(rowReference);
        String dtlsItem =  (String)curRow.getFlexValue();   /*  this is returning null value */
    /*  here creating  the hashmap and calling the page with the hashmap*/
    Thanks & Regards,
    jaya
    Message was edited by: 9d452cf7-d17f-4d1e-8e0e-b22539ea8810

    Hi Jaya,
    You want to catch Flexfield values?
    Try below code for catch value.
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("queryBtn")!= null)
    OADescriptiveFlexBean dfb = (OADescriptiveFlexBean)webBean.findChildRecursive("flexDFF"); //get the DFF bean
    OAWebBean dffbean = (OAWebBean)dfb.findChildRecursive("flexDFF0"); //get the field that applies to the attribute1 column that is being rendered
    OAMessageStyledTextBean Stylebean = (OAMessageStyledTextBean)dffbean;
    String dtlsItem  = (String)Stylebean.getText(pageContext);
    /*  here creating  the hashmap and calling the page with the hashmap*/
    Thanks,
    Dilip

  • Not getting all the attributes value from Trusted Recon in eventhandler

    Hi,
    I am not getting the values of all the attributes in hashmap from Trusted recon in eventhandler.
    Following is the hashmap value I am getting :
    Parameter Hashmap value is {re_key=1869, Email=[email protected], Role=Full-Time, act_key=22, User Login=TUser43, Xellerate Type=End-User, Last Name=User43, First Name=Test}
    Please let me know how to get all the attributes value in eventhandler. I need to take some decisions based on these attributes.
    Thanks

    You should be getting all the values in the recon event.
    To get the current user states for all the records in the bulk event use this:
    Identity[] currentUserStates = (Identity[]) eventDataHashMap.get("CURRENT_USER");
    Now when you are looping through your bulkParametersp[], you can use the same get from the currentUserStates:
    Identity currentUser = null;
    currentUser = currentUserStates[counter];
    Now if the attribute is not in your hashmap, you can use:
    currentUserState.getAttributes().get(attribute)
    -Kevini

Maybe you are looking for