How can i use Nuxeo in my webapplication

Hi, i want to create my own Web application and want to use Nuxeo Document management, How it is possible? and what i have to do? Plese Explain Step By Step, i have already configure Nuxeo Sdk and Nuxeo platform in eclipse..

0 votes

3 answers

1516 views

ANSWER



Actually i am unable To establish connection with requested Url.What i will Do?

0 votes



Hi i write code which you have suggested.. BUT it is giving Error Like

java.io.FileNotFoundException: http://localhost:8080/automation/nuxeo/site/Document.Query

0 votes



This piece of code should work on an established sesision and demonstrates a basic get and put document operation.

Hope this helps.

try {
        root = (Document) session.newRequest("Document.Fetch").set( "value", "/default-domain/workspaces").execute();
    } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
            DocumentService documentService = new DocumentService(session);

    try {
        OperationRequest request = session.newRequest("Document.Create");
        request.setInput(root);
        request.set("type", "File");
        request.set("name", "yourFileName");
        request.set("properties", "dc:title=yourTitle");
        request.execute();
    } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
06/07/2013


Hello,

Do you mean you want to bind your web application to a nuxeo platform ?

If yes you should have a look at the API documentation here

Have a nice day,

Antoine

0 votes