none
Create document set with default content using powershell RRS feed

  • Question

  • How to create a document set in sharepoint with this settings:

    Name: DocSetDemo
    Parent Content Type: Document Set Content Types

    Document Set Settings:

    Default Content:Document > Folder:Folder1 > FileName:File1.docx
    Default Content:Document > Folder:Folder1 > FileName:File2.docx

    Shared Columns:

    Column 1

    Column 2

    Welcome Page Columns:

    Column 1

    Column 2

    There is a method DocumentSetTemplate.DefaultDocuments.Add() but i don't know how to create the script.

    Thanks,

    Default Content:Document > Folder:Folder1 > FileName:File1.docx

    Daniel Bugday
    Microsoft Community Answerer, Member of Microsoft Extended Expert Team, MCT, MCTS/MCPD SharePoint,SQL MCDBA, Windows MCSE, Azure Solution Architecture, Office 365 MCSA, Office 365 App Developer

    Contact:
    Facebook LinkedIn Twitter
    "Please remember to mark your question as answered if this solves your question. Thank you"!

    Thursday, November 21, 2019 11:13 AM

All replies