-
Type: Task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: How-tos / Tutorials
I was checking this document to learn a little more about Nuxeo API:
https://doc.nuxeo.com/nxdoc/python-client/
Regarding "Documents", I noticed that it talks about fetch, retrieve, delete
but it does not say anything about how to create a Document.
newFolder = {
'entity-type': 'document',
'name': 'a-folder',
'type': 'Folder',
'properties':
}
folder = nuxeo.repository().create('/', newFolder)
It shows how to create a Folder, and Bertrand told me that is the same, with some tweaks on that explanation changing the . But for a NEW USER, creating a Document is the first fundamental action that he wants to do, and Folder (organising the Documents) comes afterwards.
- duplicates
-
NXDOC-1543 Create Python Documentation
- Open