-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: WEBUI-0.10.0
-
Fix Version/s: WEBUI-1.0.0
-
Component/s: Web UI
-
Sprint:nxGang Sprint 9.2.2, nxGang Sprint 9.2.3
-
Story Points:1
Currently, we only pass to nuxeo-document-layout.html a shell document containing the type to be created:
<nuxeo-document-layout id="document-create" layout="create" document="[[document]]"></nuxeo-document-layout>
(https://github.com/nuxeo/nuxeo-web-ui/blob/master/elements/document/nuxeo-document-create.html#L200)
We must give more context for instance:
- currentDocument (or at least the target path). It can be needed to retrieve information about the parent document that are necessary to fill/prefill some field in the creation form.