ok found this forum post over on technet
Audience Targeting Question
so where on earth is the content query web part? i cant find it in the webparts for any of my sites!
I'm getting ready to put our school calendar onto our sharepoint site (also hosting SLG). On the Default Home Page is a Calendar webpart. I've created two Target Audiences one for parents and one for staff, these have been compiled and populated correctly.
So I create a new item in the calendar and set the target Audiences to our staff group. I've then logged on as a parent and for some reasion i can see the event!
What did i do wrong?
Thanks for the help
Right, found the content query web part, it turned out that since we were based on a team site i needed to enable the publishing featchers.
Now i can user the content query web part to only show the relevent items in the calendar, but surly there is a better way to do this?
Have you set the permission at item level for the calendar entry in the list?
if the user does not have permission to this item in the list it should not display it.
Everyone has permissions to view the Calendar item, i was under the impression that if i then targeted it it would only be visiable to people in those targets.
no audience targeting in MOSS 2007 doesnt filter in that way as list views dont use audience filtering. They have to be managed at item level which is a shame as it doesnt make use of the audience targeting features. If you want to use audience targeting then first you have to target the content in list in addition to the content query web part.
hope this helps
fawkers (2nd July 2010)
Thanks for the advice;
I've got 4 Calendars to do, Staff, Students, Parents and Govorners. Whatwould you say is the best way to do this? I think that have two options.
1) Have one Calendar, target each item, then create a content query web part and use that to display the relevent results
2) have 4 calendars and target each web part seperatly
are there any other possable options
(please excuse the silly questions, i've only be a sharepoint 'expert' in my school for the last few weeks!)
There are many possible ways however we use the my planner web part. This does not come with Sharepoint
my planner web part is part of the MLG components found on codeplex Learning Gateway
this allows him to aggregrate mulitple calanders based on roles and also pulls from users sharepoint and on premsis exchange mailbox calanders for the current user.
there is a deployment guide which can be found here: LG - Release: Learning Gateway Refresh for SharePoint 2007
however if you do find it the above complex you can use the following licensed web part which has a cost implication SharePoint Web Part Calendar - Virto Ajax Calendar for SharePoint 2007 with audience targetting as described in the following faq Audience Targeting in SharePoint Calendar - SharePoint Web Parts and Features for Microsoft SharePoint 2007/2010
they offer a trial demo so you can test it before buying
I believe that you could also just set permissions on the items such that only the teachers group could see teacher items, etc. This would need each individual item to have the permissions set, but would give you just the one calendar list to work from.
There are currently 1 users browsing this thread. (0 members and 1 guests)