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

Add Operations from nuxeo-labs

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.3
    • Component/s: Automation

      Description

      nuxeo-labs contains some operations very frequently used, which would be great to have in the platform.
      Plug-in source is available on github (well. of course).
      After checking with the team, here are the main operations:

      "Must Have"

      • Copy Schema
      • Reset Schema
        These two one are used about every time, at least when we want to propagate metadata (so a "Case" folders doc. type with is "case" schema is duplicated in the children, so we can query on pictures based on the case metadata for example)
      • Document > Add Facet
        Dynamically adding a facet is quite useful
      • Document > Get Tags
        This one is more because we have operations to add/remove tags, none to get them
      • Document Exists
        A simple wrapper to a CoreSession API, but very, very useful. Repository.GetDocument throws an error if the document does not exist. Catching this error is not enough, the transaction is already marked for roll-back, while we just want to know if a document exists or not.
        Notice it would require a little change to make it cool inside a chain (the operation, as it is, returns a boolean)
      • Services > Vocabulary: Add Entry
        There already is an operation (not in Studio), but it is complex to use, requires JSON, etc. here we have useful parameters

      "Could Have"

      • Document.GetLastVersion
      • Document > Add Complex Property From Json String
      • Notification > AdvancedSendEmai
      • User Interface > Navigate To Url

      "Conflict with Existing"
      HTTP Call and HTTP DownloadFile: We have something similar with the HTTP automation helper, but the later is a bit harder to use, less easy and straightforward.

        Attachments

          Activity

            People

            • Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: