Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 4767

RCDC not showing existing value

$
0
0

I modified an RCDC to include a dropdown list for staff to select a state from. Previously they had to enter that manually.

Added an XML datasource to the top of the RCDC page and updated the "State" field to now use the dropdown list.

After upload and IIS restart the dropdown list is visible and working. When I select a state and hit submit on the form the State field gets updated. However, when I open the same employee again for editing, the State dropdown lists shows an initial value of "System.Object[]". What is going wrong?

The FIM attribute name: EmployeeState

Code:

my:XmlDataSource my:Name="ListOfStates">
<ListOfStates>
 <State Code="QLD" />
 <State Code="NSW" />
 <State Code="VIC" />
</ListOfStates>
</my:XmlDataSource>

<my:Control my:Name="EmployeeState" my:TypeName="UocDropDownList" my:Caption="{Binding Source=schema, Path=EmployeeState.DisplayName}" my:Description="{Binding Source=schema, Path=EmployeeState.Description}"  my:RightsLevel="{Binding Source=rights, Path=EmployeeState}">
<my:Properties>
 <my:Property my:Name="Required" my:Value="{Binding Source=schema, Path=EmployeeState.Required}"/>
 <my:Property my:Name="ValuePath" my:Value="@Code"/>
 <my:Property my:Name="CaptionPath" my:Value="@Code"/>
 <my:Property my:Name="Hint" my:Value="{Binding Source=schema, Path=EmployeeState.Hint}"/>
 <my:Property my:Name="ItemSource" my:Value="{Binding Source=ListOfStates, Path=/ListOfStates/*}"/>
 <my:Property my:Name="SelectedValue" my:Value="{Binding Source=object, Path=EmployeeState, Mode=TwoWay}"/> 
</my:Properties>
</my:Control>


Viewing all articles
Browse latest Browse all 4767

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>