none
RCDC and userEnabled checkbox RRS feed

  • Question

  • hi all

    I want to display the userEnabled checkbox in the user creation GUI in FIM portal. I tried to copy the xml code from user editing RCDC file and paste it into user creation xml file.

    But I get an error: There's an error in the Person display configuration.

    I have done this procedure for other attributes and it worked fine, are there any dependencies I have not thought of?

    This is the code snippet I pasted in:

    <my:Control my:TypeName="UocCheckBox" my:Name="userEnabled" my:Caption="{Binding Source=schema, Path=userEnabled.DisplayName}" my:Description="{Binding Source=schema, Path=userEnabled.Description}" my:RightsLevel="{Binding Source=rights, Path=userEnabled}">
    <my:Properties>
    <my:Property my:Name="Required" my:Value="{Binding Source=schema, Path=userEnabled.Required}"/>
    <my:Property my:Name="Checked" my:Value="{Binding Source=object, Path=userEnabled, Mode=TwoWay}"/>
    </my:Properties>
    </my:Control>


    Andre

    Friday, January 23, 2015 2:05 PM

Answers

  • Hello Andre,

    When you copy some control to another RCDC, be aware that sometimes, data sources are not presents in the current RCDC.

    For you, the data source "rights" is not present (and not avaible) for RCDC in creation mode.

    Try to remove this occurrence:

    my:RightsLevel="{Binding Source=rights, Path=userEnabled}"

    Regards,


    Sylvain

    • Marked as answer by froand Tuesday, January 27, 2015 11:11 AM
    Friday, January 23, 2015 4:02 PM

All replies

  • Hello Andre,

    When you copy some control to another RCDC, be aware that sometimes, data sources are not presents in the current RCDC.

    For you, the data source "rights" is not present (and not avaible) for RCDC in creation mode.

    Try to remove this occurrence:

    my:RightsLevel="{Binding Source=rights, Path=userEnabled}"

    Regards,


    Sylvain

    • Marked as answer by froand Tuesday, January 27, 2015 11:11 AM
    Friday, January 23, 2015 4:02 PM
  • Thank you, that worked perfectly.


    Andre

    Tuesday, January 27, 2015 11:12 AM