1. SharePoint 2010 Web Content Management for Developers Vinod Unny Enterprise InfoTech Microsoft Regional Director Microsoft Most Valuable Professional
2. What is Content Management? Different types of content Articles Blogs Jobs Products … Workflows for content publishing Managing the content Displaying different views of the content
3. SharePoint Features for WCM Publishing Templates With and Without Workflows Anonymous Access To Pages Not to Lists and Libraries Authentication Forms Based (as in ASP.NET) Windows Based Master Pages Site Columns Content Types Page Layouts
4. Demo A look at the Publishing template Creating new pages
5. Anonymous Access Public sites require visitors to “visit” SharePoint allows designating areas as “anonymous” By default Lists & Libraries are not given access even if “Entire Web Site” is selected If you need to give anonymous access to a list: Deactivate Forms Lockdown Go to the List permissions Stop Inheriting Permissions Disable anonymous access Re-enable anonymous access Active Forms Lockdown
7. Master Pages Publishing sites have master pages Master pages have special ContentPlaceHolders Custom Master pages must have all the placeholders even if you’re not using them
9. Site Columns Think of them as “fields” in an RDBMS SharePoint defines a number of site columns Define your own columns for getting or showing some data Used in Content Types
10. Content Types Think of them as “Tables” in an RDBMS Contains a number of site columns that make up the data/page content In case of a Publishing site, you need to start from a base content type of Page or Article Page Add your own site columns as you wish
11. Page Layouts This defines how your Content Type is presented to the visitor You can have multiple page layouts for each content type SharePoint allows you to switch page layouts on the fly Combines with a master page and data in the content type to display a page Master Page Page Layout Site Column 2 Site Column 1 Site Column 3 Web Parts
12. Demo Adding a site column Setting up a content type Creating a new page layout
13. Adding Content Instance of a Page Layout Can dynamically switch layouts Add content directly on the page View/Edit Properties in a Form Or use the EditModePanel Save & Publish Might start a workflow
15. Display Content The Content Query Web Part is your friend Use CQWP with site columns for enhanced views of data You can customize the default templates with XSL