Setting Up a SharePoint Repository With Liferay Portal

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 may be used. For versions of the Sharepoint Connection Application after version 2.0.5, the following set of instructions may be used.


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 to
    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

0 人中有 0 人觉得有帮助