5.20 Configuring SharePoint client access

You can configure Microsoft SharePoint clients to access content services from AEM forms on JEE. For this, you should add the SharePoint Alfresco Module Package using Configuration Manager. The SharePoint AMP file (adobe-vti-module.amp) is available in [aem-forms root] \sdk\misc\ContentServices folder.

After you add the SharePoint AMP, perform the following steps:

5.20.1 Obtain and edit the share.war file

Alfresco CMS uses the file share.war to connect with Content Services. You should modify the share.war file to enable SharePoint clients to access Content Services.

  1. Obtain the share.war from the Alfresco installation. See your Alfresco documentation for more details.

  2. Copy the file share.war to a directory in your file system.

  3. Use a file archive utility such as WinRar to open the share.war file.

  4. From the file archive utility window, extract the file WEB-INF/classes/alfresco/webscript-framework-config.xml and open it using a text editor.

  5. Locate the line <endpoint-url>http://localhost:8080/ alfresco /s</endpoint-url> and change it to <endpoint-url>http://localhost:8080/ contentspace /s</endpoint-url>

  6. Save and close the file.

5.20.2 Deploy the share.war file

  1. Open the archive file adobe-contentservices.ear using an archive utility such as WinRar from the [JBoss root] /server/lc_turnkey/deploy/ directory.

  2. Add the updated share.war file to the adobe-contentservices.ear archive that is opened in the archive utility window.

  3. From the file archive utility window, extract the file application.xml to a folder in the local file system, and open it using a text editor. This file is in the adobe-contentservices.ear\META-INF directory.

  4. Add the following lines under the <application > tag:

<module id="Share"> 
    <web> 
        <web-uri>share.war</web-uri> 
        <context-root>/share</context-root> 
    </web> 
</module>
  1. Copy the updated application.xml file back to the adobe-contentservices.ear archive.

  2. Save and close the archive.

  3. Deploy the updated EAR file by copying the updated EAR file to the [JBoss root] /server/lc_turnkey/deploy/ directory.

// Ethnio survey code removed