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

Make it easier to change the automation chain called by element 'nuxeo-document-import'

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 9.10, 10.2
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Web UI

      Description

      Element nuxeo-document-import calls directly automation operation FileManager.Import when a file is dragged and dropped. As the element has no attribute to define another automation chain to be called and it is not recommended to override automation operation FileManager.Import (as it is a basic operation in building chains in Studio Modeler), an easy fix would be:

      • in the Nuxeo Platform, define a new automation chain named i.e. FileManager.ImportInWebUI that calls operation FileManager.Import
      • call chain FileManager.ImportInWebUI in element nuxeo-document-import

      This way, it is easier to change the import behaviour by overriding chain FileManager.ImportInWebUI.

      Another option is to add an attribute to the element to provide the name of the automation chain to call.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vdutat Vincent Dutat
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: