Skip to content

New command: add field to content type #520

Description

@waldekmastykarz

Adds a field to a content type

  • command: spo contenttype field add -u|--webUrl <webUrl> -c|--contentTypeId <contentTypeId> -f|--fieldId <fieldId> --required --hidden
  • webUrl: Absolute URL of the site where the content type is located
  • contentTypeId: ID of the content type to which the field should be added
  • fieldId: ID of the field to add to the content type
  • required: Set, if the field should be required
  • hidden: Set, if the field should be hidden

For more information see the Add-PnPFieldToContentType cmdlet

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions