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

Add a property to make inverse reference read only

    XMLWordPrintable

    Details

    • Impact type:
      Configuration format change
    • Upgrade notes:
      Hide

      A new attribute is available when defining an InverseReference:
      add readOnly="true" to skip any update of the directory defined as a target of the inverse reference.
      Example :
      <inverseReference field="parentGroups" directory="groupDirectoryMulti" dualReferenceField="subGroups" readOnly="true"/>

      Show
      A new attribute is available when defining an InverseReference: add readOnly="true" to skip any update of the directory defined as a target of the inverse reference. Example : <inverseReference field="parentGroups" directory="groupDirectoryMulti" dualReferenceField="subGroups" readOnly="true"/>

      Description

      An inverse reference represents a value/property that does not belongs to the entry.
      So when you edit an entry, you may want not to update the inverse reference, which could belongs to a read only directory for instance or to a directory that does not support updates.

      Having a property défined on the inverse reference will handle this use case.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: