Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-4047

Add current document attrib on Drawer Browse item

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Designer-1.0.0
    • Component/s: Studio Designer

      Description

      When creating a Drawer Browse item the contribution is something like:

      <!-- Contribution of element 'nuxeo-document-tree' for slot 'DRAWER_PAGES' -->
      <nuxeo-slot-content name="newBrowse" slot="DRAWER_PAGES" >
        <template>
          <nuxeo-document-tree root-doc-path="/default-domain/workspaces/test" name="newbrowse"></nuxeo-document-tree>
        </template>
      </nuxeo-slot-content>
      

      Most users will want to add current-document="[[document]]"
      Final would be:

      <nuxeo-slot-content name="newBrowse" slot="DRAWER_PAGES" >
        <template>
          <nuxeo-document-tree root-doc-path="/default-domain/workspaces" name="newbrowse" current-document="[[document]]" label="new.browse" ></nuxeo-document-tree>
        </template>
      </nuxeo-slot-content>
      

      Goal
      As this is a relevant attribute it should also be shown to the user by default.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h