sharepoint web part help with template/default web part

%3CLINGO-SUB%20id%3D%22lingo-sub-1132145%22%20slang%3D%22en-US%22%3Esharepoint%20web%20part%20help%20with%20template%2Fdefault%20web%20part%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1132145%22%20slang%3D%22en-US%22%3E%3CP%3EI%20was%20hoping%20there%20was%20a%20way%20to%20get%20the%20code%20for%20the%20basic%20document%20library%20web%20part.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ejust%20like%20i%20can%20write%20code%20for%20a%20web%20part%2C%20i%20just%20want%20to%20make%20some%20adjustments%20to%20the%20code%20for%20the%20pre-made%20document%20library%20web%20part.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eor%2C%20if%20anyone%20else%20has%20any%20ideas%20on%20how%20it%20could%20be%20more%20easy%20to%20be%20able%20to%20create%20a%20settings%20area%20inside%20a%20web%20part%20to%20change%20what%20site%20the%20document%20library%20is%20coming%20from.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eessentially%2C%20i%20want%20to%20create%20one%20web%20part%2C%20that%20can%20be%20added%20to%20any%20site%20and%20the%20document%20libraries%20from%20all%20sites%20can%20be%20accessed%20from%201%20web%20part.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1132145%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New Contributor

I was hoping there was a way to get the code for the basic document library web part. 

 

just like i can write code for a web part, i just want to make some adjustments to the code for the pre-made document library web part.

 

or, if anyone else has any ideas on how it could be more easy to be able to create a settings area inside a web part to change what site the document library is coming from. 

 

essentially, i want to create one web part, that can be added to any site and the document libraries from all sites can be accessed from 1 web part.  

0 Replies