cancel
Showing results for 
Search instead for 
Did you mean: 

Reuse Alfresco API

jaka_prana
Champ in-the-making
Champ in-the-making
I'm quite interested on using Alfresco CMS to be integrated to my web app. I
have two options for this to work, first is integrate the CMS with my
web app using iframe or reuse your API/functions through my web app. Is
any one of these possible? If It's possible to reuse your API/functions
will I be able to upload files to the CMS repository from my web app
using FTP or any other kind of services? Will it also be possible to
publish/unpublish and delete the files that's on the CMS repository
through my web app?

What I prefer is reusing your API/functions, this will make our web app
have a consistent UI because I wouldn't need to show the UI from the Alfresco
CMS.

Thank you..
1 REPLY 1

lotharmärkle
Champ in-the-making
Champ in-the-making
Hi,

using one of Alfrescos remote apis it will be possible to do what you what. The recommended API is the REST API for this. See /alfresco/service/index for
the available calls. I would not use an iframe approach, because of the UI drawbacks you mentioned. Using the API it will be easy to do transparent sign on etc. http://wiki.alfresco.com/wiki/Web_Scripts#Authenticating.

The other options are CMIS or the the SOAP bases WebServices API.

Depending on your implementation language (what is it?), there are already client libraries available to make it easier to access the Alfresco remote repository.

java: Alfresco ships alfresco-remote-api.jar in its SDK.
php1: ifresco php-lib see https://forums.alfresco.com/en/viewtopic.php?f=21&t=38187
php2: alfresco-php-sdk at http://code.google.com/p/alfresco-php-sdk/