Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 888 Bytes

AddSPOFieldToContentType.md

File metadata and controls

25 lines (21 loc) · 888 Bytes

#Add-SPOFieldToContentType Topic automatically generated on: 2015-10-13

Adds an existing site column to a content type ##Syntax

Add-SPOFieldToContentType -Field <FieldPipeBind> -ContentType <ContentTypePipeBind> [-Required [<SwitchParameter>]] [-Hidden [<SwitchParameter>]] [-Web <WebPipeBind>]

##Parameters

Parameter Type Required Description
ContentType ContentTypePipeBind True
Field FieldPipeBind True
Hidden SwitchParameter False
Required SwitchParameter False
Web WebPipeBind False The web to apply the command to. Omit this parameter to use the current web.
##Examples

###Example 1

PS:> Add-SPOFieldToContentType -Field "Project_Name" -ContentType "Project Document"

This will add an existing site column with an internal name of "Project_Name" to a content type called "Project Document"