Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22248

Add more context in nuxeo-document-layout

    XMLWordPrintable

    Details

    • 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

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: