Uploaded image for project: 'Content Types'
  1. Content Types
  2. MGNLCT-269

Multi field based on content types on Norsu

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.0.0
    • None
    • None
    • DevX 16
    • 3

      This is follow up ticket of  https://jira.magnolia-cms.com/browse/MGNLCT-191  and https://jira.magnolia-cms.com/browse/NORSU-114, https://jira.magnolia-cms.com/browse/NORSU-113

      Example configuration: 

      datasource:
        $type: norsuContentTypeDatasource
        rootPath: /magnolia-travels 
      model:
        nodeType: mt:tourGuide
        properties:
          - name: contact
            type: contactData
        subModels:
          - name: contactData
            properties:
              - name: email
              - name: phoneNumber
              - name: addresses
                type: address
                multiple: true     
          - name: address
            properties:
              - name: street
              - name: city
              - name: postalCode
              - name: country

       

      See sample config in content app from https://jira.magnolia-cms.com/browse/NORSU-114 and https://git.magnolia-cms.com/projects/CLOUD/repos/norsu/pull-requests/117/diff#magnolia-demo-app/src/main/resources/demo-app/apps/content-app.yaml in https://jira.magnolia-cms.com/browse/NORSU-113

        Acceptance criteria

              chuong.doan Chuong Doan Huy
              oanh.thai Oanh Thai Hoang
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 2d 7h
                  2d 7h