reduce, reuse and recycle with content types - sptechcon 2013

27
Patrick Tucker [email protected] Reduce, Reuse and Recycle with Content Types

Upload: patrick-tucker

Post on 25-May-2015

80 views

Category:

Technology


1 download

DESCRIPTION

presented at SPTechCon San Francisco 2013

TRANSCRIPT

Page 1: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

Patrick [email protected]

Reduce, Reuse and Recycle

with Content Types

Page 2: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

2 | SPTechCon San Francisco 2013

Bio Patrick Tucker

Strategic Data Systems, MS Gold Partner Principal Consultant, SharePoint MCT, MCTS, MCPD, MCITP, MCSD, MCAD, MCDBA [email protected] Blog: www.tuckersnet.com Twitter: @TuckersNet

Page 3: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

3 | SPTechCon San Francisco 2013

Reduce Reuse and Recycle with Content Types

Page 4: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

4 | SPTechCon San Francisco 2013

Three Rs Reduce business

requirements and definitions into types

Reuse those types across lists and libraries consistently

Recycle the content

Page 5: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

5 | SPTechCon San Francisco 2013

What Are Content Types? definitions, schemas collections of site columns are all about metadata – another

tasty layer of data on top of the content

This metadata can be surfaced in the SharePoint UI, Document Information Panel, workflows, pages and InfoPath

forms

Page 6: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

REDUCE

Page 7: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

7 | SPTechCon San Francisco 2013

Content Type Usage OTB Content Types

Custom Content Types• Site Settings…Site Collection

Administration…Site Content Types gallery• Created using site columns, which may be

created on their own

Page 8: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

8 | SPTechCon San Francisco 2013

Create and Edit Content Types Can be done in SharePoint Designer

Page 9: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

9 | SPTechCon San Francisco 2013

Create and Edit Content Types Visual Studio Declarative Code

Content Type IDs are designed to be recursive – Parent Content Type ID + 00 + GUID

For reference – see http://msdn.microsoft.com/en-us/library/gg295290.aspx http://msdn.microsoft.com/en-us/library/aa543822(v=office.14).aspx

Page 10: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

10 | SPTechCon San Francisco 2013

Using Content Types Content Type Scope

Site Collection, Library or Enterprise Associated with Lists and Libraries

Must first be enabled to break “out of the box”

One library can support many content types

Page 11: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

11 | SPTechCon San Francisco 2013

Document Sets Document Sets are Content Types and can

contain content types

• Document Sets are Content Types and can contain/limit content types

Page 12: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

12 | SPTechCon San Francisco 2013

Page Layouts Pages are documents too and are built

from content types Content Types are the basis for page

layouts Metadata can be displayed on the page Can be created in SharePoint Designer or

indirectly in Visual Studio

Page 13: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

REUSE

Page 14: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

14 | SPTechCon San Francisco 2013

REUSE Content Types support inheritance for

Reuse Content Types hubs allow reuse across site

collections Reusable workflows in SharePoint Designer

can be applied to content types Managed Metadata allows reuse of values

across list columns

Page 15: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

15 | SPTechCon San Francisco 2013

Reusing Content Types Reuse the definition by building on it

through inheritance Document Specialized Document List Item Specialized List Item

Reuse content types across the enterprise with Content Type Syndication Publish content types from one site to

others

Page 16: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

16 | SPTechCon San Francisco 2013

Content Type Syndication MMS Properties is the place to start

Create and publish content types in the “hub” site and consume in other sites within the farm

2 Timer jobs control availability – “Content Type Hub” and “Content Type Subscriber”

Page 17: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

17 | SPTechCon San Francisco 2013

Content Type Processing SPD Content Type Workflows Visual Studio Event Receivers

Page 18: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

18 | SPTechCon San Francisco 2013

Reusable Workflows SharePoint 2010 allows

reusable workflows to be applied to a content type which is reusable across lists and libraries

Page 19: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

19 | SPTechCon San Francisco 2013

Event Receivers Event receivers may be applied to Content

Types Allows reuse of code across list instances

that use the same content types

Page 20: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

20 | SPTechCon San Francisco 2013

Reuse Values Managed metadata terms allow the reuse

of values across lists and libraries Taxonomy Columns allow selection of

values defined in a farm level term store

Page 21: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

RECYCLE

Page 22: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

22 | SPTechCon San Francisco 2013

RECYCLE Relocate content via Content Organizer

Rules Find your content over and over by adding

a Content Type Refinement to Search

Page 23: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

23 | SPTechCon San Francisco 2013

Content Organizer The Content Organizer feature lets you

automatically route submitted content based on Content Type

Content Organizer Rules are created to route documents to a drop off library or other configured Send To location

Page 24: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

24 | SPTechCon San Francisco 2013

Content Organizer Settings

Property based conditions route

content

Specify alternate content type

names to accommodate

taxonomy differences

Submissions matched to a content type

Content is routed to a specific

location based on criteria

Page 25: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

25 | SPTechCon San Francisco 2013

Content Type Search The Core Search Results web part can be

used to filter by content type or a managed property

This allows aggregation across sites of items that implements the content type

Page 26: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

26 | SPTechCon San Francisco 2013

Search Refinement 1. Create a new managed property mapped to

ows_ContentType2. Run a full crawl on your content source3. Edit the Refinement Panel web part on your

search results page, add XML to the Filter Category Definition property

<Category Title="Content Type" Description=“ct description” Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator" MetadataThreshold="5" NumberOfFiltersToDisplay="4" MaxNumberOfFilters="0" SortBy="Frequency" SortDirection="Descending" SortByForMoreFilters="Name" SortDirectionForMoreFilters="Ascending" ShowMoreLink="True" MappedProperty="ContentTypeRefinement" MoreLinkText="show more" LessLinkText="show fewer"/>

Page 27: Reduce, Reuse and Recycle with Content Types - SPTechCon 2013

27 | SPTechCon San Francisco 2013

Questions

Thanks and please remember evals!