I would like set an audience on a Summary web part.
This reason for this is the fact that two groups of users have access to the page on which it will be shown, let's say members and admins. One Summary web part will show links to pages in a site to which both groups have access. The other one will show links to pages in a site to which only admins have access. By setting the audience on the second web part to admins, I hope to achieve that this would be hidden for members, thus not showing link to them that they cannot open.
This fails because Sharepoint 2007 SP3 reports "No extact match was found" when entering the name of the group. This happens even if I first search and select the user from the "address book".
The cause seems to be that the name of the group is a substring of the names of some other groups, specifically security groups.
Steps to reproduce:
- Edit a page.
- Add a summary link web webpart.
- Edit its properties.
- Find the Audience property below Advanced.
- Enter the name of the group
- Click the check button
- Failure: "No exact match was found."
- Try again, using the address book.
- Search for the group name in Sharepoint groups.
- Select it in the results pane.
- Click the Add button. Note that it is underlined.
- Click OK.
- The name is transferred to the audience entry field. Note that it is now in italics and has a red error underlining.
- Click the check button
- Failure: "No exact match was found."
- Click the group name.
- Matching names are shown. These are mainly names that have the intended group name as a substring of their descriptions(!) As long as there are mutiple names matching the group name string, it is not possible to save the audience.
Does anybody know how to solve this issue, other than renaming the group, which would cause some problems with our custom code that uses the API and has the group name hard-coded in some places.