SharePoint 2010Web Content Management for DevelopersVinod UnnyEnterprise InfoTechMicrosoft Regional DirectorMicrosoft Most Valuable Professional
What is Content Management?Different types of contentArticlesBlogsJobsProducts…Workflows for content publishingManaging the content Displaying different views of the content
SharePoint Features for WCMPublishing TemplatesWith and Without WorkflowsAnonymous AccessTo PagesNot to Lists and LibrariesAuthenticationForms Based (as in ASP.NET)Windows BasedMaster PagesSite ColumnsContent TypesPage Layouts
DemoA look at the Publishing templateCreating new pages
Anonymous AccessPublic 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 selectedIf you need to give anonymous access to a list:Deactivate Forms LockdownGo to the List permissionsStop Inheriting PermissionsDisable anonymous accessRe-enable anonymous accessActive Forms Lockdown
DemoAnonymous Access on siteAnonymous Access on list
Master PagesPublishing sites have master pagesMaster pages have special ContentPlaceHoldersCustom Master pages must have all the placeholders even if you’re not using them
DemoMaster Pages
Site ColumnsThink of them as “fields” in an RDBMSSharePoint defines a number of site columnsDefine your own columns for getting or showing some dataUsed in Content Types
Content TypesThink of them as “Tables” in an RDBMSContains a number of site columns that make up the data/page contentIn case of a Publishing site, you need to start from a base content type of Page or Article PageAdd your own site columns as you wish
Page LayoutsThis defines how your Content Type is presented to the visitorYou can have multiple page layouts for each content typeSharePoint allows you to switch page layouts on the flyCombines with a master page and data in the content type to display a pageMaster PagePage LayoutSite Column 2Site Column 1Site Column 3Web Parts
DemoAdding a site columnSetting up a content typeCreating a new page layout
Adding ContentInstance of a Page LayoutCan dynamically switch layoutsAdd content directly on the pageView/Edit Properties in a FormOr use the EditModePanelSave & Publish Might start a workflow
DemoAdding Content to  site
Display ContentThe Content Query Web Part is your friendUse CQWP with site columns for enhanced views of dataYou can customize the default templates with XSL
DemoUsing CQWP
QuestionsVinod UnnySenior Technology ConsultantEnterprise InfoTechW: www.enterpriseinfotech.comE: vinod@enterpriseinfotech.comT: @vinodunnyB: vinodunny.com/blog

SharePoint 2010 for Devs

  • 1.
    SharePoint 2010Web ContentManagement for DevelopersVinod UnnyEnterprise InfoTechMicrosoft Regional DirectorMicrosoft Most Valuable Professional
  • 2.
    What is ContentManagement?Different types of contentArticlesBlogsJobsProducts…Workflows for content publishingManaging the content Displaying different views of the content
  • 3.
    SharePoint Features forWCMPublishing TemplatesWith and Without WorkflowsAnonymous AccessTo PagesNot to Lists and LibrariesAuthenticationForms Based (as in ASP.NET)Windows BasedMaster PagesSite ColumnsContent TypesPage Layouts
  • 4.
    DemoA look atthe Publishing templateCreating new pages
  • 5.
    Anonymous AccessPublic sitesrequire visitors to “visit”SharePoint allows designating areas as “anonymous”By default Lists & Libraries are not given access even if “Entire Web Site” is selectedIf you need to give anonymous access to a list:Deactivate Forms LockdownGo to the List permissionsStop Inheriting PermissionsDisable anonymous accessRe-enable anonymous accessActive Forms Lockdown
  • 6.
    DemoAnonymous Access onsiteAnonymous Access on list
  • 7.
    Master PagesPublishing siteshave master pagesMaster pages have special ContentPlaceHoldersCustom Master pages must have all the placeholders even if you’re not using them
  • 8.
  • 9.
    Site ColumnsThink ofthem as “fields” in an RDBMSSharePoint defines a number of site columnsDefine your own columns for getting or showing some dataUsed in Content Types
  • 10.
    Content TypesThink ofthem as “Tables” in an RDBMSContains a number of site columns that make up the data/page contentIn case of a Publishing site, you need to start from a base content type of Page or Article PageAdd your own site columns as you wish
  • 11.
    Page LayoutsThis defineshow your Content Type is presented to the visitorYou can have multiple page layouts for each content typeSharePoint allows you to switch page layouts on the flyCombines with a master page and data in the content type to display a pageMaster PagePage LayoutSite Column 2Site Column 1Site Column 3Web Parts
  • 12.
    DemoAdding a sitecolumnSetting up a content typeCreating a new page layout
  • 13.
    Adding ContentInstance ofa Page LayoutCan dynamically switch layoutsAdd content directly on the pageView/Edit Properties in a FormOr use the EditModePanelSave & Publish Might start a workflow
  • 14.
  • 15.
    Display ContentThe ContentQuery Web Part is your friendUse CQWP with site columns for enhanced views of dataYou can customize the default templates with XSL
  • 16.
  • 17.
    QuestionsVinod UnnySenior TechnologyConsultantEnterprise InfoTechW: www.enterpriseinfotech.comE: vinod@enterpriseinfotech.comT: @vinodunnyB: vinodunny.com/blog