Ephesoft - Alfresco Integration
There are many pages on the internet which speak about
Alfresco-Ephesoft Integration. Though I had good experience on Alfresco,
without any hands-on on Ephesoft, I started looking at ways I can integrate Ephesoft
and Alfresco.
If you are new to Ephesoft just like me and like to
integrate them, you have landed on the right article.
Before we begin, let me make it clear for you that these two
software’s need not be on the same machine to work. In my case, I had Alfresco
installed locally where as I had Ephesoft on Amazon AWS.
Now that you want to integrate them, the main purpose would
be that you want Ephesoft to pick the document that you have just uploaded into
a folder in Alfresco and start processing. For this to happen, you must first
configure the CMIS Import on a batch class in Ephesoft. And most importantly,
even before you do that, you must first enable CMIS Plugin in Ephesoft.
Below are the details.
CMIS
Import
To import files from Alfresco into Ephesoft, we must
- Enable CMIS Plugin
For enabling/disabling CMIS import functionality please
uncomment/comment the following line at {Application}\applicationContext.xml
in Ephesoft installation folder.
<import
resource=”classpath:/META-INF/applicationContext-dcma-cmis-import.xml” />
Default: CMIS import is disabled.
|
- Restart Ephesoft Server.
- Configure the CMIS Import plugin in Batch Class as below
User Name: admin
Password: admin
Repository ID: -default-
Folder: toephesoft (This folder must be PRE-created under
Repository Folder in Alfresco)
Property: cm:title (When a document with this title is identified, it
is then changed to xxxx as
mentioned below and process will be started. )
New Value: Value to which property needs to be changed to. In my
example, I had tobeprocessed
as Property
and Processing as
New Value
CMIS Version: In my case it was 1.0.
Enable: THIS CHECK BOX MUST BE CHECKED
|
- Now click on Apply, Test the connection and Deploy.
*
Note: After uploading the file, I manually changed the title of the file to tobeprocessed. That's when the file was picked up.
CMIS
Export
Under Batch Class, Modules, Select CMIS_Export
Please look at the below screenshot and configure accordingly.
Please look at the below screenshot and configure accordingly.
***** Most important this here is that the CMIS Server Switch must
be turned ON. By default it was off in my case.
*** CMIS Root Folder should also be pre created under Repository
folder.
** CMIS VERSION Must be mentioned correctly.
* Client Key and Secret were the default values that were there which I have used.
* Client Key and Secret were the default values that were there which I have used.
Comments
Post a Comment