Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1999

[Direct Transfer] Let the user select the document type

    Details

    • Tags:
    • Backlog priority:
      400
    • Team(s):
      DRIVE
    • Story Points:
      2

      Description

      As it is done in the Web UI document creation dialog, we should propose the list of possible document types for the current selected remote path. Fortunately this is easy to retrieve using the subtypes adapter.
      So types will be dependent of the current selected remote path and the list must be refreshed when it is changed.

      And as the remote path is saved in the database, we should keep the document type in it too for next Direct Transfers. This will save us a HTTP call.

      This is a snippet of a document subtypes:

      <Document changeToken='1-0', contextParameters={
          'subtypes': [
              {'type': 'DocumentRouteInstancesRoot', 'facets': ['SystemDocument', 'Folderish', 'NXTag', 'HiddenInNavigation', 'HiddenInCreation']}, 
              {'type': 'TemplateRoot', 'facets': ['Folderish', 'NXTag', 'SuperSpace', 'HiddenInCreation', 'NotCollectionMember']}, 
              {'type': 'SectionRoot', 'facets': ['Folderish', 'NXTag', 'SuperSpace', 'HiddenInCreation', 'NotCollectionMember', 'MasterPublishSpace']}, 
              {'type': 'CommentRoot', 'facets': ['Folderish', 'NXTag', 'HiddenInNavigation', 'HiddenInCreation']}, 
              {'type': 'WorkspaceRoot', 'facets': ['Folderish', 'NXTag', 'SuperSpace', 'HiddenInCreation', 'NotCollectionMember']}
          ]
      }>
      

      Here, we can see interesting facets like HiddenInCreation and so Direct Transfer must repect it.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.