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

Provide a way to detect that document is created or updated via CSV import in automation

    XMLWordPrintable

    Details

    • Backlog priority:
      700
    • Sprint:
      nxplatform #31, nxplatform #30
    • Story Points:
      2

      Description

      Use case: Using CSV import to create related documents.

      You of course can't use the document uuid to represent the relationship. You might instead use a path. But you must then use an event handler (i.e. "About to create", "Before document modification") to convert the path to a document ID.

      Currently the event handler runs for all documents, so there is some risk in increased complexity in maintaining the code, watching for side-effects, etc. It would be useful to have a way to filter the event handler to only run for documents created/updated via CSV.

      There is a discussion on Slack about this that I will link.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: