Sharepoint Site Script - Add document set to default library - configure Document view widget

%3CLINGO-SUB%20id%3D%22lingo-sub-2099796%22%20slang%3D%22en-US%22%3ESharepoint%20Site%20Script%20-%20Add%20document%20set%20to%20default%20library%20-%20configure%20Document%20view%20widget%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2099796%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20new%20to%20site%20scripts%20and%20modern%20sharepoint.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20to%20create%2030%20%2B%26nbsp%3B%20sites%20all%20connected%20to%20one%20hub%20site.%26nbsp%3B%20Each%20site%20is%20exactly%20the%20same%20.%3C%2FP%3E%3CP%3E1.%20Same%20Document%20set%20(%22Project%20Docs%22)%20added%20to%20the%20default%20%22documents%22%20library%3C%2FP%3E%3CP%3E2.%20Site%20home%20page%20-%20single%20column%2C%20showing%20only%20the%20%22documents%20library%22%3C%2FP%3E%3CP%3E3.%20Pruned%20Quicklaunch%20bar%20according%20to%20spec.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20know%20I%20can%20do%20%233.%20But%20can%20I%20do%20%23's%201%20and%202%20with%20a%20site%20script%3F%26nbsp%3B%20How%20do%20I%20add%20the%20document%20web%20part%20to%20a%20single%20column%20view%20%2C%20I%20can't%20seem%20to%20figure%20that%20out%20from%20the%20reference.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2099796%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Visitor

Hello, 

 

I am new to site scripts and modern sharepoint. 

I have to create 30 +  sites all connected to one hub site.  Each site is exactly the same .

1. Same Document set ("Project Docs") added to the default "documents" library

2. Site home page - single column, showing only the "documents library"

3. Pruned Quicklaunch bar according to spec. 

 

I know I can do #3. But can I do #'s 1 and 2 with a site script?  How do I add the document web part to a single column view , I can't seem to figure that out from the reference. 

 

Thanks

 

 

0 Replies