Add content type to list
command: spo list contenttype add -u|--webUrl <webUrl> --listId [listId] --listTitle [listTitle] --contentTypeId <contentTypeId>
- webUrl: URL of the site where the list is located
- listId: ID of the list to which to add the content type, specify listId or listTitle but not both
- listTitle: Title of the list to which to add the content type, specify listId or listTitle but not both
- contentTypeId: ID of the content type to add to the list
Add content type to list
command:
spo list contenttype add -u|--webUrl <webUrl> --listId [listId] --listTitle [listTitle] --contentTypeId <contentTypeId>