Hi All,
I have created a custom object and defined the RCDC for this object. I want same kind of control which we have for group under Members tab i.e. "Members To Add" and "Members To Remove".
I have used below control for this.
##########################################################################
</my:Control>
<my:Control my:Name="ReadAccessToRemove" my:TypeName="UocIdentityPicker" my:Caption="Revoke Read Access" my:Description="Choose who to revoke the Read Access to the Shared Drive"
my:RightsLevel="{Binding Source=rights, Path=ReadAccess}">
<my:Properties>
<my:Property my:Name="Mode" my:Value="MultipleResult" />
<my:Property my:Name="Rows" my:Value="3" />
<my:Property my:Name="ObjectTypes" my:Value="Person" />
<my:Property my:Name="ColumnsToDisplay" my:Value="DisplayName,ObjectType" />
<my:Property my:Name="AttributesToSearch" my:Value="DisplayName, AccountName" />
<my:Property my:Name="Value" my:Value="{Binding Source=delta, Path=ReadAccess.Remove, Mode=TwoWay}" />
<my:Property my:Name="Filter" my:Value="/MyID_SharedDrive[ObjectID='%ObjectID%']/ReadAccess" />
<my:Property my:Name="ListViewTitle" my:Value="Select Members to Remove" />
<my:Property my:Name="PreviewTitle" my:Value="Select Members to Remove" />
<my:Property my:Name="SearchOnLoad" my:Value="true" />
</my:Properties>
</my:Control>
<my:Control my:Name="ReadAccessToAdd" my:TypeName="UocIdentityPicker" my:Caption="Grant Read Access" my:Description="Choose who to grant the Read Access to the Shared Drive"
my:RightsLevel="{Binding Source=rights, Path=ReadAccess}">
<my:Properties>
<my:Property my:Name="ColumnsToDisplay" my:Value="DisplayName,AccountName,EmployeeID" />
<my:Property my:Name="AttributesToSearch" my:Value="DisplayName,AccountName,EmployeeID" />
<my:Property my:Name="Mode" my:Value="MultipleResult" />
<my:Property my:Name="Rows" my:Value="3" />
<my:Property my:Name="ObjectTypes" my:Value="Person" />
<my:Property my:Name="DefaultSearchScopeName" my:Value="~All Active Users" />
<my:Property my:Name="UsageKeywords" my:Value="AllActiveUsers" />
<my:Property my:Name="Value" my:Value="{Binding Source=delta, Path=ReadAccess.Add, Mode=TwoWay}" />
<my:Property my:Name="ResultObjectType" my:Value="Person" />
<my:Property my:Name="ListViewTitle" my:Value="Select Members to Add" />
</my:Properties>
</my:Control>
##########################################################################
ISSUE:
After using above code, If I add or remove any user from these 2 control then nothing happens. I don't see any request created at all under Search Requests.
However same control works fine if I add/remove users through advance view. However as non-admin users can't see advance view button hence I need this to work in Normal view as well.
Can anyone please help me.
Let me know if you have any questions for me related to this issue.
Thanks in advance for help.
Sujit Kumar