Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-7703

Linking via norsu content type (spike)

    XMLWordPrintable

Details

    • Spike
    • Resolution: Done
    • Neutral
    • None
    • None
    • None
    • None
    • Nucleus 27
    • 5

    Description

      Expected results

      As content type/dialog/app developer, I don't need to know backend details of the content type I want link to. So I can just do

      link: 
        $type: linkField
        datasource: 
          $type: contentDatasource //ideally, this could be omitted if norsu is in webapp
          contentType: car
      

      Moreover, there is a push to introduce workspace property at contentDatasource level. The configuration is just duplicating something which is configured on content type level already.

      Actual results

      As developer, I need to know that content type cars is stored under rootPath /cars in the backend.

      link: 
        $type: linkField
        datasource: 
          $type: contentDatasource
          rootPath: /cars
      

      Development notes

      The output of this spike is a PoC implementation of the suggested feature (or report why this is not possible/implemented)

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              rkovarik Roman Kovařík
              rkovarik Roman Kovařík
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Work Started: