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

Directory Entry JSON marshalling: allow to fetch parent and translation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2
    • Component/s: Automation, Directory, Rest API
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      The REST-endpoints, which return a directory entry, can handle the following parameters:

      • fetch.directoryEntry=modelFieldName : it tries to load the entry referenced by the modelFieldName value of this entry - usefull to load xvocabulary path: fetch.directoryEntry=parent
      • translate.directoryEntry=modelFieldName : it translates "in-place" the value of the specified model field. It's usefull for directories like "nature" which contains i18n keys
      Show
      The REST-endpoints, which return a directory entry, can handle the following parameters: fetch.directoryEntry=modelFieldName : it tries to load the entry referenced by the modelFieldName value of this entry - usefull to load xvocabulary path: fetch.directoryEntry=parent translate.directoryEntry=modelFieldName : it translates "in-place" the value of the specified model field. It's usefull for directories like "nature" which contains i18n keys
    • Sprint:
      Sprint io 7.2-1
    • Story Points:
      1

      Description

      Add a parameter fetch.directoryEntry="parentField.entry" to marshall the entry with name parentField as an entry of the same directory.
      Add a parameter fetch.directoryEntry="i18nField.translate" to marshall the entry with name i18nField as the corresponding translated value in the browser language (fallback to english).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.