UocCheckBox in Create RCDC
I am attempting to add a UocCheckBox to the User Create RCDC. The check box is already working in the Edit RCDC. I copy the control exactly as-is - but it doesn't work, I get the "There's an error on the Person display configuration" message. Shouldn't the control work exactly the same in both RCDC's? I have tried adding the Checked and DefaultValue properties in the Create RCDC, but it makes no difference. I'm on FIM R2 RC. Here's the control which works in the Edit RCDC and fails in the Create RCDC: <my:Control my:Name="ufyPACRequested" my:TypeName="UocCheckBox" my:Caption="PAC Requested" my:Description="Physical access requested" my:RightsLevel="{Binding Source=rights, Path=ufyPACRequested}"> <my:Properties> <my:Property my:Name="Text" my:Value="{Binding Source=object, Path=ufyPACRequested.DisplayName, Mode=OneWay}"/> <my:Property my:Name="Checked" my:Value="{Binding Source=object, Path=ufyPACRequested, Mode=TwoWay}"/> </my:Properties> </my:Control> http://www.wapshere.com/missmiis
January 12th, 2012 11:32pm

So just to confirm, I did try it with Checked and DefaultValue, also with just one or just the other, and also with or without other properties like Required and ReadOnly. I notice that in the default User Create form they're using a UocRadioButtonList for IsRASEnabled. There are no UocCheckBoxes in the default form at all. Is it even supposed to work in a Create form? The doco doesn't say it shouldn't. Be interested to hear if anyone else has it working in a Create form because this could be an R2 issue. Meanwhile I've switched to a radio control.http://www.wapshere.com/missmiis
Free Windows Admin Tool Kit Click here and download it now
January 13th, 2012 12:26am

Portal tracing will generally tell you the exact error when RCDCs dont render.My Book - Active Directory, 4th Edition My Blog - www.briandesmond.com
January 13th, 2012 12:59am

Remove the "my:RightsLevel" property.Frank C. Drewes III - Senior Consultant: Oxford Computer Group
Free Windows Admin Tool Kit Click here and download it now
January 13th, 2012 2:04am

why to remove it? this works fine for me in Create mode. <my:Control my:Name="HasDynamicMembers" my:AutoPostback="true" my:TypeName="UocCheckBox" my:Caption="{Binding Source=schema, Path=IsDynamic.DisplayName}" my:Description="{Binding Source=schema, Path=IsDynamic.Description}" my:RightsLevel="{Binding Source=rights, Path=IsDynamic}"> <my:Properties> <my:Property my:Name="ReadOnly" my:Value="false" /> <my:Property my:Name="Checked" my:Value="{Binding Source=object, Path=IsDynamic, Mode=TwoWay}" /> <my:Property my:Name="Required" my:Value="{Binding Source=schema, Path=IsDynamic.Required}" /> <my:Property my:Name="Hint" my:Value="{Binding Source=schema, Path=IsDynamic.Hint}" /> </my:Properties> </my:Control>
January 13th, 2012 3:08am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics