RCDC - UocIdentityPicker - Search Scope combination
Hi I have this UocIdentityPicker which i'm trying to make a little more user friendly. <my:Properties> <my:Property my:Name="Required" my:Value="{Binding Source=schema, Path=MailboxAccessAdd.Required}"/> <my:Property my:Name="Mode" my:Value="SingleResult" /> <!-- <my:Property my:Name="ObjectTypes" my:Value="Group"/>--> <my:Property my:Name="ColumnsToDisplay" my:Value="Email" /> <my:Property my:Name="AttributesToSearch" my:Value="Email" /> <!-- <my:Property my:Name="UsageKeywords" my:Value="Group"/>--> <my:Property my:Name="Value" my:Value="{Binding Source=object, Path=MailboxAccessAdd , Mode=TwoWay}" /> <my:Property my:Name="Filter" my:Value="/Group[(ObjectID = /Set[ObjectID = 'e2c2876a-a8c2-4727-a728-9ed0bc345ad3']/ComputedMember) and (ObjectID = /Set[ObjectID = 'd775f51e-6b5f-48e7-8040-e9f8e355b49f']/ComputedMember) and (ObjectID != /Person[ObjectID='%ObjectID%']/MailBoxAccess)]"/> <my:Property my:Name="ResultObjectType" my:Value="Group"/> <my:Property my:Name="ListViewTitle" my:Value="Select only one entry here." /> <my:Property my:Name="PreviewTitle" my:Value="Entry selected:" /> </my:Properties> The above is the XML and it works and it results in this; What i really want, is to be able to search in the picker box. If i uncomment; <my:Property my:Name="ObjectTypes" my:Value="Group"/> i am then able to search, but then the filter is no longer applied. Any idea's how to make the filter applied?/Frederik Leed
March 11th, 2011 5:22am

Why not use a UoCListView control instead? That has a built in search scope controlex-MSFT developer, now FIM/MIIS/ILM/WPF/Silverlight consultant | http://blog.aesthetixsoftware.com/
Free Windows Admin Tool Kit Click here and download it now
March 11th, 2011 8:07am

What if you did a search scope / usagekeywords combination, and moved the filter you are specifying in the RCDC over to a search scope? That way you can have a few search scopes made just for this picker Does setting the filter property eliminate the serach bar on the top of the picker, or just setting the object type?
March 11th, 2011 2:43pm

OK, so i'm going for the solution with the search scope. The search scope just doesn't support removal of the objects thats all ready i the destination attribute. But i can be OK with that... I have tried to define what search scope to use with this; <my:Property my:Name="UsageKeywords" my:Value="FileShare"/> and i have a search scope with that UsageKeyword. The above results in; and this; <my:Property my:Name="UsageKeywords" my:Value="Group/> results ind the belov How to make this search windows use my scope and only my scope?/Frederik Leed
Free Windows Admin Tool Kit Click here and download it now
March 17th, 2011 5:44am

So i'm kind of thinking that the; <my:Property my:Name="UsageKeywords" my:Value="FileShare"/> is the sort of right, but i might need some permissions to use the scope, i just don't remember having to create MPR for scope usage./Frederik Leed
March 18th, 2011 3:50am

Correct, users will need rights to Read the scope and any object returned in the scope including the attributes you list in the ColumnsToDisplay as well as the ObjectID and ObjectType even though it may not be displayed. It's typically ColumnsToDisplay + any attributes in the query filter.Brad Turner - www.identitychaos.com [If a post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of that post. By marking a post as Answered or Helpful, you help others find the answer faster.]
Free Windows Admin Tool Kit Click here and download it now
March 19th, 2011 12:28am

Your last example was the same one I used. There's a lot of flexibility in how this dialog is displayed, you just need to try all the combinations and see which one is what you need. Might be something good to write an article about
March 19th, 2011 12:37pm

Your last example was the same one I used. There's a lot of flexibility in how this dialog is displayed, you just need to try all the combinations and see which one is what you need. Might be something good to write an article about
Free Windows Admin Tool Kit Click here and download it now
March 19th, 2011 12:37pm

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

Other recent topics Other recent topics