RCDC - Create User xml config problems
Hi,
When i edit the "edit user" and "view user" PERSON rcdc's they work fine...however for some reason the same cant be said for the "create user" one...i have double checked my xml and there are no syntax errors...
It dosent seem to like UocMultivalue Atributes and well as my custom attributes i made?
Any ideas, is there an MPR that needs to be configured correctly?
i have only added fields like:
<my:Control my:Name="DealerEmail" my:TypeName="UocTextBox" my:Caption="{Binding Source=schema, Path=DealerEmail.DisplayName}" my:Description="" my:RightsLevel="{Binding Source=rights, Path=DealerEmail}">
<my:Properties>
<my:Property my:Name="Required" my:Value="{Binding Source=schema, Path=DealerEmail.Required}"/>
<my:Property my:Name="Columns" my:Value="34"/>
<my:Property my:Name="MaxLength" my:Value="128"/>
<my:Property my:Name="Text" my:Value="{Binding Source=object, Path=DealerEmail, Mode=TwoWay}"/>
</my:Properties>
</my:Control>
and like this for multi valued attributes:
<my:Control my:Name="RolesMV" my:TypeName="UocCommonMultiValueControl" my:Caption="{Binding Source=schema, Path=RolesMV.DisplayName, Mode=OneWay}" my:Description="{Binding Source=schema, Path=RolesMV.Description, Mode=OneWay}" my:RightsLevel="{Binding
Source=rights, Path=RolesMV}">
<my:Properties>
<my:Property my:Name="Rows" my:Value="6"/>
<my:Property my:Name="Columns" my:Value="50"/>
<my:Property my:Name="DataType" my:Value="String"/>
<!--not supported for above property my:Value={Binding Source=schema, Path=RolesMV.DataType, Mode=OneWay}"/>-->
<my:Property my:Name="Value" my:Value="{Binding Source=object, Path=RolesMV, Mode=TwoWay}"/>
</my:Properties>
</my:Control>
Why would this sample code not work in the "create" user RCDC?
stu
November 4th, 2010 7:37pm
Does it work with Mode=TwoWay?
There's a number of restrictions in CREATE that you may not think about until you experience them. As an example, MPRs cannot be checked to see if you can or cannot write attribute values because there's no way of ascertaining an after set until you
submit the request.
If I were to guess, and this is just a guess, Mode=OneWay and ReadOnly=True probably aren't applicable to CREATE RCDC.
November 10th, 2010 3:56pm
Thankyou paul,
i will have a look at the code...i wonder if there is an article or blog on writing 'create' rcdc's for user objects?Cheers Stu
Free Windows Admin Tool Kit Click here and download it now
November 10th, 2010 5:40pm