none
Error in RCDC UocIdentityPicker with FIM 2010 R2 RRS feed

  • Question

  • Hi 

    I am trying to use the UocIdentityPicker in an RCDC in FIM2010 R2 with thefollowing :

    <my:Control my:Name="GroupsToAdd" my:TypeName="UocIdentityPicker" my:Caption="add groups" my:Description="add new groups" my:RightsLevel="{Binding Source=rights, Path=GroupsAddMV}">
     <my:Properties>
      <my:Property my:Name="Required" my:Value="{Binding Source=schema, Path=GroupsAddMV.Required}"/>
      <my:Property my:Name="Mode" my:Value="MultipleResult" />
      <my:Property my:Name="ObjectTypes" my:Value="Group"/>
      <my:Property my:Name="ColumnsToDisplay" my:Value="DisplayName, Description, AccountName" />
      <my:Property my:Name="AttributesToSearch" my:Value="DisplayName, AccountName" />
      <my:Property my:Name="Value" my:Value="{Binding Source=object, Path=GroupsAddMV, Mode=TwoWay}" />
      <my:Property my:Name="Filter" my:Value="/Group[not((ComputedMember='%ObjectID%') or (ExplicitMember='%ObjectID%'))]" />
      <my:Property my:Name="ResultObjectType" my:Value="Group"/>
      <my:Property my:Name="ListViewTitle" my:Value="choose new groups" />
      <my:Property my:Name="PreviewTitle" my:Value="choosen groups" />
     </my:Properties>      
      </my:Control>

    The RCDC is taken from a FIM 2010 R1 and works there !

    There must be a difference between R1 and R2 or am I overlooking a detail somewhere :-)

    When I use it in my RCDC I get this error :

    There's an error in the Person display configuration 

    Regards

    Per


    Monday, April 15, 2013 12:02 PM

Answers

  • I just try your control on my FIM R2 test environment and it's work!

    So for me it's definitely a schema issue.

    1. I create a new Reference Multivalued attribute 'GroupsAddMV'
    2. I bind it to the user object
    3. I update the edit RCDC of user with your control
    4. IISRESET

    Sylvain

    • Marked as answer by per kristensen Thursday, April 25, 2013 12:59 PM
    Wednesday, April 17, 2013 12:37 PM
  • Also if this thing worked previously in pre R2 FIM 2010, there is a probability that you may have missed the Attribute Binding for the GroupsAddMV attribute to the User resource type.

    double check that and check if the name is exactly same and having the same case (upper and lower)



    Regards Furqan Asghar

    • Marked as answer by per kristensen Thursday, April 25, 2013 12:59 PM
    Wednesday, April 17, 2013 10:09 AM

All replies

  • Hello,

    First question: Are you trying to open the form with a FIM administrator account?

    Sylvain

    Monday, April 15, 2013 12:33 PM
  • Yes I am FIM administrator
    Monday, April 15, 2013 1:35 PM
  • Ok, so it's not a right issue :)

    Your FIM schema is up to date (regarding the FIM 2010 R1 source)?

    For me, your RCDC seems valid...

    Sylvain

    Monday, April 15, 2013 1:44 PM
  • No i dont think so and Yes :-)

    It would be helpfull if the errormessage was more informative than 'there's an error in..........'

    Per

    Monday, April 15, 2013 1:54 PM
  • Try this in the Filter, might help

    /Group[not((ComputedMember=/Person[ObjectID='%ObjectID%']) or (ExplicitMember=/Person[ObjectID='%ObjectID%']))]


    Regards Furqan Asghar


    Monday, April 15, 2013 5:55 PM
  • Hi Furqan

    No :-) sorry

    Tried this simplyfied as well :

    <my:Control my:Name="GroupsToAdd" my:TypeName="UocIdentityPicker" my:Caption="add groups" my:Description="add new groups" my:RightsLevel="{Binding Source=rights, Path=GroupsAddMV}">
                <my:Properties>
                     <my:Property my:Name="Mode" my:Value="MultipleResult" />
                     <my:Property my:Name="ColumnsToDisplay" my:Value="DisplayName, Description, AccountName" />
                     <my:Property my:Name="AttributesToSearch" my:Value="DisplayName, AccountName" />
                     <my:Property my:Name="Value" my:Value="{Binding Source=object, Path=GroupsAddMV, Mode=TwoWay}" />
                     <my:Property my:Name="Filter" my:Value="/Group" />
                     <my:Property my:Name="ResultObjectType" my:Value="Group"/>
                     <my:Property my:Name="ListViewTitle" my:Value="choose groups" />
                     <my:Property my:Name="PreviewTitle" my:Value="choosen groups" />
                     <my:Property my:Name="SearchOnLoad" my:Value="true" />
             </my:Properties>
      </my:Control>

    Seems as if something s missing :-(

    regards per

    Tuesday, April 16, 2013 11:50 AM
  • RCDC issues can be a pain at times... The first thing I normally do is make sure the XML is valid and well-formed. For example a special character [“] versus ["] can break the XML document. Parsing the XML can detect those types of error, then the next step is checking case sensitivity matches with the FIM Schema, and then attribute use and syntax. 
    Tuesday, April 16, 2013 5:51 PM
  • Also if this thing worked previously in pre R2 FIM 2010, there is a probability that you may have missed the Attribute Binding for the GroupsAddMV attribute to the User resource type.

    double check that and check if the name is exactly same and having the same case (upper and lower)



    Regards Furqan Asghar

    • Marked as answer by per kristensen Thursday, April 25, 2013 12:59 PM
    Wednesday, April 17, 2013 10:09 AM
  • I just try your control on my FIM R2 test environment and it's work!

    So for me it's definitely a schema issue.

    1. I create a new Reference Multivalued attribute 'GroupsAddMV'
    2. I bind it to the user object
    3. I update the edit RCDC of user with your control
    4. IISRESET

    Sylvain

    • Marked as answer by per kristensen Thursday, April 25, 2013 12:59 PM
    Wednesday, April 17, 2013 12:37 PM
  • Hi

    I tested the form as well and it renders fine on my implementations. On a side note, what exactly are you trying to use this control for? 

    Wednesday, April 24, 2013 7:28 AM
  • HI

    I checked as adviced above.

    Found that I was missing the filter permissions on the new attruibute.

    Still it did not work.

    The next day I tried altering some small things and now it worked. Altered back and it still worked !!!!!!!!!!!!!!!!!  used the above XML and that worked too !!!!!!!!!!!!!!!!!!!

    I dont know exactly what did it but now it works.

    Thanks for Your help.

    Btw. I use the control for adding groups to a user during user edit.

    Regards

    Per

    Thursday, April 25, 2013 1:20 PM
  • Hi 

    I know this is an old thread. But I am keen to understand how you flow this value back into AD to the group?

    Rob

    Monday, May 20, 2013 10:54 AM