Can I display a document library from another site collection as a Webpart in Sharepoint Online

sharepoint.stackexchange https://sharepoint.stackexchange.com/questions/266080

سؤال

How could I display a Document Library from another Site Collection, in Sharepoint Online.

Could I create a Custom Web part and connect to the Sharepoint API?

هل كانت مفيدة؟

المحلول

If you only need to display files from another site (not expose them for editing), consider using the "Highlighted Content" web part on a modern page.

It allows you to pick a site to pull content from, then filter by content type, file type, and managed properties. You can use the "path" managed property to only get documents from a specific library (Path Begins with {library url}).

You will find that it is more limited than a list/library view web part in that you cannot specify which fields to display and your sort options are limited to "Most recent," "Most viewed," "Trending," and ascending or descending by a Managed property. However, it's good for quickly exposing files from another site, assuming the current user has access to view them.

نصائح أخرى

Create a page with document library on source site and refer/add that page as page viewer webpart on destination part.

https://www.consultdolphin.com/easy-method-of-showing-lists-libraries-across-site-collections/#1542120640891-2315c938-9973

The embed web part can display a Document from another Site Collection. Just copy and paste the library address.

Embed web part:https://support.office.com/en-us/article/add-content-to-your-page-using-the-embed-web-part-721f3b2f-437f-45ef-ac4e-df29dba74de8

enter image description here

enter image description here

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى sharepoint.stackexchange
scroll top