On some xsltlistview web parts, whenever I try to set the target audience to use one of the SharePoint site groups (These are groups created when you create a new site), it tells me that it does not recognize the group. However, it works for groups that I've personally created through the browser.

Please help....

  • Are these groups that you are searching in the same site collection? – Marius Constantinescu - MVP Jun 1 '12 at 19:34
  • Yes, there are in the same site collection. – Brandon Michael Hunter Jun 1 '12 at 21:24
  • Could you post some code or more explicit example please? – Anders Rask Jun 5 '12 at 8:22
  • Are these site groups being created automatically by a workflow when sites are deployed? You could try going in to the group details screen and re-save to see if that registers them by forcing them through the default SharePoint screens. Do they become available later on (i.e. perhaps after the Audience compilation process has run)? – Beeblebrox Jun 6 '12 at 5:56
  • @foocode these kind of audiences (Groups) are not compiled like "real" audience rules – Anders Rask Jun 11 '12 at 11:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.