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.
-
Obtain the share.war from the Alfresco installation.
See your Alfresco documentation for more details.
-
Copy the file share.war to a directory in your file system.
-
Use a file archive utility such as WinRar to open the share.war
file.
-
From the file archive utility window, extract the file
WEB-INF/classes/alfresco/webscript-framework-config.xml
and
open it using a text editor.
-
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>
-
Save and close the file.
5.20.2 Deploy the share.war file
-
Open the archive file
adobe-contentservices.ear
using
an archive utility such as WinRar from the
[JBoss root]
/server/lc_turnkey/deploy/
directory.
-
Add the updated share.war file to the adobe-contentservices.ear
archive that is opened in the archive utility window.
-
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.
-
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>
-
Copy the updated application.xml file back to the adobe-contentservices.ear archive.
-
Save and close the archive.
-
Deploy the updated EAR
file by copying the updated EAR file to the
[JBoss root]
/server/lc_turnkey/deploy/
directory.
|
|
|