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

Vocabulary Property Content Enricher

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: Rest API
    • Sprint:
      Sprint 1, Lisbon Sprint 2

      Description

      This content enricher goal is to provide a label used client side for displaying the value of a property, so as to be able to compute this label server-side thus saving many rest calls.

      We can reuse the existing content enricher extension point by adding the ability to define parameters to configure property mappings the following way:

      <enricher name="coverage" class="...VocabularyEnricher">
            <category>displayScreenMapping</category>
            <parameter name="field">dc:coverage</parameter>
            <parameter name="dbl10n">true</parameter>
            <parameter name="directoryName">l10ncoverage</parameter>
      </enricher>
      

      That way, calling "displayScreenMapping" in the nx-category will use this content enrichment with the configured mapping.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 2 days
                  2d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified