cancel
Showing results for 
Search instead for 
Did you mean: 

Spring MVC Alfresco Integration...

nareshthota
Champ in-the-making
Champ in-the-making
Hi…
Iam new to Alfresco…i have a requirement to upload a file in alfresco directory by using Spring MVC(from REST url)…I need alfresco configuration code in spring(and maven dependancies)…and some example java code which upload the file to alfresco directory….
plz provide help…ur help is greatly appreciated…

thanks in advance….
3 REPLIES 3

jpotts
World-Class Innovator
World-Class Innovator
Alfresco wiki Java-backed web scripts

Hello World Web Script examples from the Alfresco Developer Guide, includes a file upload example

Official documentation on web scripts for Alfresco 4

nareshthota
Champ in-the-making
Champ in-the-making
But how to integrate webscropts in SPRING MVC…are there any dependencies for it…or do we need to add any plugin to IDE…

plz consider that iam using SPRING Source Tool Suite IDE…

johnnyg
Champ in-the-making
Champ in-the-making
Hello
Sorry for using this old post but my question could be to trivial for creating the new one and it fits to this one in some way Smiley Happy
I would like to ask for some advice regarding alfresco and the way how I should use it.
I have to create web shop system where almost all pages must be editable without compiling the code. Every product can have separate page template which I need to fill with the right data (from my db) in my code.
Of course, shop owner are going top change some static text, page design, add some links or youtube movie etc or on the beginning upload page template prepared by his web designer (perhaps in html ) - so that's why I thing that CMS to store page templates is the only way to achieve that.
I was looking into magnolia CMS but it has limited support and all web examples are so old that they are not working with latest magnolia version. The second reason I'm thinking about alfresco is the CMIS.
And here comes my question - is it possible to achieve with alfresco all mentioned points, plus I don't want to integrate my Spring MVC application in the way I have to integrate it with magnolia, I want to have it separated. I would like to use CMIS to get only requested page content (html ? ), fill it with data from my db ( prices, product name, user name etc) and show it to user still being in the pure Spring MVC app ?