Adding a SharePoint Documents and Media Repository

Follow these steps to add your SharePoint Library to Documents and Media:

  1. Add the Documents and Media application to a page, if you haven’t already.

  2. Inside the Documents and Media application, click the Add icon (Add) and select Repository. The New Repository screen appears.

  3. Select the repository type for the SharePoint OAuth2 configuration you created. For example, if your configuration is named Foo, the repository type is listed as SharePoint (Foo).

  4. Specify values for these fields:

    • Site Absolute URL: Resolves relative URLs. For SharePoint Online, the value follows this pattern: https://[your-site-name].sharepoint.com.

    • Library Path: A relative path from the Site Absolute URL that points to the SharePoint Document Library you want to mount in Documents and Media (an example path could be Shared Documents).

    Figure 1: The Repository Configuration form is where you specify access to the SharePoint Library you want to use.

    Figure 1: The Repository Configuration form is where you specify access to the SharePoint Library you want to use.

  5. Click Save.

The Documents and Media Library now lists your SharePoint repository.

Sweet! Now that you’ve added a SharePoint Repository to Documents and Media, you can access and modify SharePoint Library files in your Liferay DXP instance.

« Creating a New SharePoint Repository ConfigurationUsing External Repositories »
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助