Hello all,
I have a "required" field here but I would like to know if its possible to get this field "mandatory" depending on the "UserType". Is that possible ?
<my:Control my:Name="RestaurantRef" my:TypeName="UocIdentityPicker" my:Caption="{Binding Source=schema, Path=RestaurantRef.DisplayName}" my:Description="" my:RightsLevel="{Binding Source=rights, Path=RestaurantRef}">
<my:Properties>
<my:Property my:Name="Required" my:Value="true"/>
<my:Property my:Name="Mode" my:Value="SingleResult"/>
<my:Property my:Name="ObjectTypes" my:Value="Restaurant"/>
<my:Property my:Name="ColumnsToDisplay" my:Value="DisplayName,Description"/>
<my:Property my:Name="AttributesToSearch" my:Value="DisplayName"/>
<my:Property my:Name="Filter" my:Value="/Restaurant[ActiveStatusBoolean = True]"/>
<my:Property my:Name="ResultObjectType" my:Value="Restaurant"/>
<my:Property my:Name="Value" my:Value="{Binding Source=object, Path=RestaurantRef, Mode=TwoWay}"/>
<my:Property my:Name="ListViewTitle" my:Value="Search Restaurant Category"/>
<my:Property my:Name="PreviewTitle" my:Value="Restaurant Category"/>
<my:Property my:Name="MainSearchScreenText" my:Value="Search Restaurant Category"/>
</my:Properties>
</my:Control>