To start we added custom site columns to top level site that added controls of what was displayed on main page, when and for how long.
- Launch browser to top level site (in our case http://intranet/)
- Site Actions > Site Settings
- Galleries > Site content types
- List Content Types > Announcement
- Columns > Add from new site column
- Name and Type
- Name: Display on Home Page (Y/N)
- Type: Yes/No
- Group
- Group: Custom Columns or create a new one
- Additional Column Settings
- Description: Option to have announcement display on Main Page
- Default Value: No
- This requires users to select Yes for announcement to be displayed on Home Page otherwise it only displays on their site
- Update List and Site Content Types
- Update All content types inheriting: Yes
- This is how we populate this to all child sites
- Click Okay
- Columns > Add from new site column
- Name and Type
- Name: Display Start Date
- Type: Date and Time
- Group
- Group: Custom Columns or create a new one
- Additional Column Settings
- Description: Date to Start Display on Main Page
- Required: No
- Enforce Unique: No
- Format: Date Only
- Default value: (None)
- Update All content types inheriting: Yes
- This is how we populate this to all child sites
- Click Okay
- Columns > Add from new site column
- Name and Type
- Name: Display End Date
- Type: Date and Time
- Group
- Group: Custom Columns or create a new one
- Additional Column Settings
- Description: Date to End Display on Main Page
- Required: No
- Enforce Unique: No
- Format: Date Only
- Default value: (None)
- Update All content types inheriting: Yes
- This is how we populate this to all child sites
- Click Okay
Now we will setup the home page to display items from other sites. To accomplish this we will use a Web Part: Content Query.
- Move back to top level site
- Sites Actions > Edit Page
- Click Add Web Part in desired location (for use we chose the left space)
- Categories > Content Rollup > Web Parts > Content Query > Add
- Click open the tool pane or Drop Down > Edit Web Part
- Expand Query and set the following:
- Source: Show items from all sites in this
- List Type: Announcements
- Content Type:
- Group: List Content Types
- Item: Announcements
- Audience Targeting: Apply as needed
- Click Apply
- Set filters (if desired)
- Query > Additional Filters:
- Display on Home Page (Y/N)
- is equal to
- [Yes]
- Display Start Date
- is less then or equal to
- [Today]
- Display End Date
- is greater then or equal to
- [Today]
- Click Apply
- Expand Appearance
- Set Title to desired name (we used Current Announcements)
- Click Apply > Click OK
That is it. Now when a user creates an announcement they will have the option to set for homepage display.
For How-To write up with steps and images visit post on SpiceWorks: http://community.spiceworks.com/how_to/show/46775-sharepoint-2010-aggregating-annoucements
No comments:
Post a Comment