08-04-2015 05:41 AM
I've been working on developping an angular application following this tutorial : https://doc.nuxeo.com/display/NXDOC/Developing+with+AngularJS and using the samples from the following page : https://github.com/nuxeo-sandbox/angular-nuxeo
From that, I could :
However, I couldn't find any example about CRUD methods on documents, or on users. These examples does not seem to work on Nuxeo 6 using the AngularJS module : https://github.com/dmetzler/nuxeo-book
Could I get any exemples on what's possible using the AngularJS module for the Nuxeo Automation and REST API. My id is to create a frontend portal of the Nuxeo platform for end users.
08-05-2015 04:59 AM
I’ve tried to get the current user of the platform, using the /api/automation/User.Get from the Automation API, but I can’t get it to work properly. It works fine in the Nuxeo API playground.
08-06-2015 09:35 AM
There was a typo in the angular-nuxeo client. It has been fixed. Just update the client in your project and it should work.
08-06-2015 10:31 AM
Thanks for your answer. It resolved the callback error, but I'm still getting another error in the JS console when calling 'User.Get' method.
08-06-2015 10:51 AM
Seems like operation User.Get does not exist on 6.0. Can you replace it by NuxeoPrincipal.Get and try again?
08-06-2015 11:15 AM
Thanks, it works fine!
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.