How to stop document library including all documents from different sub sites?

%3CLINGO-SUB%20id%3D%22lingo-sub-1601108%22%20slang%3D%22en-US%22%3EHow%20to%20stop%20document%20library%20including%20all%20documents%20from%20different%20sub%20sites%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1601108%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3CBR%20%2F%3EI%20have%203%20sub%20sites%20under%20%22HR%22%20(couldn't%20add%20photos%20here%20for%20some%20reason...).%3CBR%20%2F%3E%3CBR%20%2F%3EUnder%20%22Tutoring%20%26amp%3B%20Mentoring%22%20I%20have%20one%20document%20with%20webpart%20%22document%20viewer%22.%3CBR%20%2F%3EUnder%20%22Onboarding%22%20I%20have%20a%20document%20library%20that%20should%20ONLY%20consist%20of%20onboarding%20documents.%20%3CSTRONG%3EFor%20some%20reason%20it%20takes%20ALL%20documents%20from%20the%20HR%20sub%20sites%20to%20the%20document%20library.%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CBR%20%2F%3EHow%20can%20I%20add%20documents%20to%20sites%20without%20them%20being%20a%20part%20of%20a%20document%20library%3F%20Or%20is%20there%20any%20other%20web%20part%20that%20I%20could%20use%20when%20I%20want%20to%20list%20documents%3F%3CBR%20%2F%3E%3CBR%20%2F%3EI%20had%20the%20same%20problem%2C%20when%20I%20wanted%20to%20add%20two%20separate%20document%20libraries%20to%20the%20same%20page%20but%20with%20different%20content.%20That%20wasn't%20possible%20-%20both%20libraries%20copied%20all%20the%20documents%20and%20they%20looked%20the%20same.%3CBR%20%2F%3E%3CBR%20%2F%3EAnybody%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1601108%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDocument%20viewer%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1603010%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20stop%20document%20library%20including%20all%20documents%20from%20different%20sub%20sites%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1603010%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F683268%22%20target%3D%22_blank%22%3E%40EddaSofia%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tested%20this%2C%20but%20didn't%20experience%20same%20results%20in%20my%20environment.%3C%2FP%3E%3CP%3EJust%20to%20clarify%2C%20on%20which%20site%20you%20want%20to%20display%20content%20of%20those%20document%20libraries%3F%3C%2FP%3E%3CP%3EDocument%20Library%20web%20part%20can%20only%20display%20libraries%20from%20the%20site%20it's%20located.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1603175%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20stop%20document%20library%20including%20all%20documents%20from%20different%20sub%20sites%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1603175%22%20slang%3D%22en-US%22%3E%3CP%3EHei%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F5628%22%20target%3D%22_blank%22%3E%40Matti%20Paukkonen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanx%20for%20your%20reply.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20document%20library%20is%20under%20one%20sub%20site.%20That%20should%20only%20include%20the%20documents%20dragged%20into%20the%20web%20part.%20The%20other%20documents%20are%20under%20a%20different%20sub%20site.%20Both%20web%20parts%20are%20under%20HR%20main%20site.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEdda%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,
I have 3 sub sites under "HR" (couldn't add photos here for some reason...).

Under "Tutoring & Mentoring" I have one document with webpart "document viewer".
Under "Onboarding" I have a document library that should ONLY consist of onboarding documents. For some reason it takes ALL documents from the HR sub sites to the document library.

How can I add documents to sites without them being a part of a document library? Or is there any other web part that I could use when I want to list documents?

I had the same problem, when I wanted to add two separate document libraries to the same page but with different content. That wasn't possible - both libraries copied all the documents and they looked the same.

Anybody?

2 Replies

Hi @EddaSofia,

 

I tested this, but didn't experience same results in my environment.

Just to clarify, on which site you want to display content of those document libraries?

Document Library web part can only display libraries from the site it's located.

 

Hei @Matti Paukkonen 

 

Thanx for your reply. 

 

The document library is under one sub site. That should only include the documents dragged into the web part. The other documents are under a different sub site. Both web parts are under HR main site.

 

Edda