Query SAP from Alfresco during the storage of a document.

cancel
Showing results for 
Search instead for 
Did you mean: 
scasado
Member II

Query SAP from Alfresco during the storage of a document.

Hello Community.

I am a new user of Alfresco (ONE 5.1) and in my company SAP is used, and Alfresco is used as a repository of documents. We are using Connexas as the SAP-ALFRESCO Adaptor.

But we are facing a problem: additional information must be used to create the folder of the document and to put data into custom properties. So thats the big problem: I do not know how to "query" SAP (calling a webservice) once the document is stored in the repository.

I have been analyzing the possibility of calling the webservice from a rule (JS Script) triggered when the document is updated. Also the possibility to use behaviours. Jobs perhaps????

But I can not find a valid example showing solution is better.

Any help would be appreciated.

Jeff Potts@ could be my saviour!!!!

1 Reply
blaesig
Member II

Re: Query SAP from Alfresco during the storage of a document.

Hello Sergio,
You have to enable the connexas replicate job to receive automatically metadata from SAP. Please check in the connexas admin panel if the replicate jobs are enabled for the SAP conetnt repository you are looking for.
If not, please do the settings in the GlobalProperties (please refere to the connexas config guide, page 32, chapter 3.2.1).

Hope this helps,

Volker