cancel
Showing results for 
Search instead for 
Did you mean: 

RESTful Service to change properties of Alfresco file from Bonita BPM Community

amincheva
Champ in-the-making
Champ in-the-making

Hello, Guys! I'm new to Bonita BPM and especially to Alfresco Community and I need your help. What I'm trying to do is to create a process in Bonita BPM 7.4.1 that can upload a file in Alfresco repository and change the properties to that file with values I set in Bonita. I have created a process in Bonita, that is using a CMIS connector to upload the file and it is working perfectly. I also created my custom model and custom aspects in Alfresco and they are containing my specific metadata for my file. What my problem is how to send the values of these custom properties to Alfresco. I guess I have to use a Restful service, that can set them up, but I can not find any examples and I'm a little bit confused. Is there anyone that have had these issues before? I will greatly appreciate your help and any examples.

1 REPLY 1

fcorti
Elite Collaborator
Elite Collaborator

Hi Albena Mincheva‌,

Assuming BONITA is using the Open CMIS Java library to interact with Alfresco, you can find some nice example at this link: Apache Chemistry - Example code for OpenCMIS clients 

It is not extremely updated but I'm pretty sure you are going to find a lot of practical examples that should work.

I hope this will help you.