Legacy Knowledge Base
Published Jul. 2, 2025

Setting Up a SharePoint Repository With Liferay Portal

Written By

Liferay Support

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

This article describes how to set up a SharePoint repository to be used with the Documents and Media portlet of Liferay Portal.

For versions of the SharePoint Connector Application prior to version 2.0.5, the sections for Example Repository Setup: Sharepoint from our Using External Repositories article on dev.liferay.com may be used. For versions of the Sharepoint Connection Application after version 2.0.5, the following set of instructions may be used.

Resolution

Sharepoint Connector EE Application

For Sharepoint Connector EE 2.0.5, the Repository Type Sharepoint the designed Repository Type only becomes available once the Sharepoint Connector version 2.0.5 has been deployed.

  1. Login to Sharepoint with Username and Password (e.g. Administrator/password)
  2. Open Internet Explorer and connect to localhost
    1. Select template Document Workspace, press OK, and OK again
    2. Click Lists (to the left), click Create > Libraries > Document library
    3. Name it Documents, click Create
  3. Enable basic authentication in Internet Information Services (IIS)
    1. You must be a member of the Administrators group on the server on which you are configuring IIS.
    2. On the Start menu, point to All Programs, click Administrative Tools, and then click Internet Information Services (IIS) Manager to start the IIS Management Console.
    3. Expand Sites on the console tree and click the Sharepoint - 80 Web site
    4. In Features View, double-click Authentication.
    5. On the Authentication page, select Basic Authentication.
    6. In the Actions pane, click Enable to use Basic authentication with the default settings.
    7. In the Actions pane, click Edit to enter a realm name.
    8. In the Edit Basic Authentication Settings dialog box, make sure the Default domain and Realm empty and click OK.
  4. Enable versioning in Sharepoint
    1. In a browser, open http://$HOST_NAME/Documents/Forms/AllItems.aspx
    2. On the ribbons, click Library Tools -> Library
    3. On the toolbar click Library Settings
    4. Click General Settings -> Versioning settings
    5. In Document Version History select Create major and minor (draft) versions
    6. In Require Check Out select Yes
  5. Configure portal for Sharepoint
    1. Deploy Sharepoint Application
    2. Add session.store.password=true to portal-ext.properties
    3. Restart portal
    4. Go to Control panel -> Portal Settings -> Authentication
    5. Under How do users authenticate, choose By Screen Name
    6. Go to My account and change the screen name to Administrator
    7. Change your password to password
    8. Sign out
    9. Login again with Administrator (pwd: password)
    10. Go to Site Administration -> Content -> Documents and Media
    11. Click Add Repository
      1. Name: sharepoint
      2. Repository type: "Sharepoint"
      3. Site URL: $HOST_NAME
      4. Library name: $LIBRARY_NAME

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base