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

Add Flexible Record Core API

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.1, 2021.41
    • Component/s: Core, Retention
    • Release Notes Summary:
      Added Flexible Record Core API
    • Tags:
    • Upgrade notes:
      Hide

      When using the Retention package with a MongoDB backend, it is recommended to create new indexes manually, otherwise, the Nuxeo server will attempt to create them at start-up. In the case of an existing instance with large amounts of documents, this process may time out and/or affect performance.

      db.default.createIndex({ "ecm:isRecord": 1}, {sparse: true});
      db.default.createIndex({ "ecm:isFlexibleRecord": 1}, {sparse: true});
      
      Show
      When using the Retention package with a MongoDB backend, it is recommended to create new indexes manually, otherwise, the Nuxeo server will attempt to create them at start-up. In the case of an existing instance with large amounts of documents, this process may time out and/or affect performance. db. default .createIndex({ "ecm:isRecord" : 1}, {sparse: true }); db. default .createIndex({ "ecm:isFlexibleRecord" : 1}, {sparse: true });
    • Sprint:
      nxplatform #91, nxplatform #92

      Description

      We'll expose a new CoreSession API makeFlexibleRecord in addition to the existing makeRecord which turns a document into an enforced record.

      A flexible record won't have its blobs moved to the dedicated record blob provider, unlike enforced records.

      Moreover, retention can be unset on flexible records as long as the current user has the UnsetRetention permission granted.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: