cancel
Showing results for 
Search instead for 
Did you mean: 

NoSql DataBase

riadhazzouz
Confirmed Champ
Confirmed Champ

How can i configure a NoSql DataBase to all-in-one archetype project.
and how can I use webscripts to manage the database ?

4 REPLIES 4

kintu_barot
Star Collaborator
Star Collaborator

This NoSQL | ECM Architect might help you with your first question.

But don't know why do you want to manage database with webscripts?

Regards,

Kintu

ContCentric

Regards,
Kintu

Thanks for answering me.
What I meant for the second question is how can i save a model to the database using the POST method for example.
(The same for GET, PUT and DELETE).

Please refer Web scripts | Alfresco Documentation 

Regards

Kintu

ContCentric

Regards,
Kintu

jpotts
World-Class Innovator
World-Class Innovator

Alfresco isn't natively going to do anything with a NoSQL database. If you want to write web scripts that create, update, and delete objects in a NoSQL database you are free to do so, but there is nothing in Alfresco that is going to help you do that.

Create a project with the Apache Maven SDK, then decide whether you want to write your web script controllers in Java or JavaScript. Java would probably be easier for this. Assuming that is the case, update the Maven pom.xml to include the client API dependency for your chosen NoSQL repository, then write your web scripts and build your AMP.