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

Add a service to map a list properties from a source doc to a target doc

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6-SNAPSHOT
    • Fix Version/s: 5.6-RC3, 5.6, 5.7.1
    • Component/s: None

      Description

      The service exposes a method :
      void mapProperties(DocumentModel sourceDoc, DocumentModel targetDoc, String mappingName);
      where the mapping is contributed as :

      <mapping name="mappingExample">
        <property path="dc:title">dc:title</property>
      </mapping>
      

      For the initial implementation, will assume that the source property is mapped to a target property of the same type and that all the properties exist on schemas on the target document.

        Attachments

          Activity

            People

            • Assignee:
              mcedica Mariana Cedica
              Reporter:
              mcedica Mariana Cedica
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d