RCDC: ColumnsToDisplay not working?
I'm trying to get more than one attribute to show in the results for a UocIdentityPicker control, but can't. Only the first is shown (DisplayName), with "countryISOCode" being ignored.
I've tried making this RCDC change, uploading to FIM and restarting IIS before testing the change.
<my:Control my:Name="parentRef" my:TypeName="UocIdentityPicker" my:Caption="Discipline" my:Description="" my:RightsLevel="{Binding Source=rights, Path=parentRef}">
<my:Properties>
<my:Property my:Name="ReadOnly" my:Value="false" />
<my:Property my:Name="Required" my:Value="true" />
<my:Property my:Name="ColumnsToDisplay" my:Value="DisplayName,countryISOCode" />
<my:Property my:Name="AttributesToSearch" my:Value="DisplayName" />
<my:Property my:Name="Value" my:Value="{Binding Source=object, Path=parentRef, Mode=TwoWay}" />
<my:Property my:Name="Mode" my:Value="SingleResult" />
<my:Property my:Name="UsageKeywords" my:Value="Disciplines" />
<my:Property my:Name="ListViewTitle" my:Value="Select Discipline" />
<my:Property my:Name="ObjectTypes" my:Value="Discipline" />
<my:Property my:Name="Hint" my:Value="{Binding Source=schema, Path=parentRef.Hint}" />
<my:Property my:Name="MainSearchScreenText" my:Value="Select the parent discipline by searching above" />
</my:Properties>
</my:Control>
Anyone know if there's something wrong here?
The online documentation says:
ColumnsToDisplay: This is an optional, string-type property. The user provides a list of schema attribute names, separated by a comma (,). The attributes that are defined here make up the column of the list view in the Identity Picker.
November 19th, 2010 6:29am
When viewing the control are you the administrator? If not, ensure that the requestor has the necessary permissions to view whatever object type is being listed, i.e. ensure you can read countryISOCode on this object type.
Secondly, be sure there is no mistake in the spelling of the attribute in the control and remember that it is case sensitive.
Finally, if neither suggestion works, can you give us some more info. on the object type and attribute in question? What type of attribute is countryISOCode? Indexed String? Number?
Free Windows Admin Tool Kit Click here and download it now
November 19th, 2010 3:56pm
Thanks for the response Paul.
We've since resolved this issue, but unfortunately I left this post open. I'm not familiar with the specifics, but will post up when I know.
January 11th, 2011 6:50am