Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-488

More versatile url property in template definition

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Neutral
    • 6.2.12
    • None
    • None
    • Yes
    • HL & LD 37, HL & LD 38
    • 3

    Description

      The external page editor sets the external SPA URL to the iframe. When the iframe is loaded, the SPA will get href from the iframe window to get necessary params to fetch data from the REST endpoint. There's a problem that multiple pages can have a same page definition but each page needs different path/params to initialize.

      To support multiple pages with a same page definition and each page has different URL, we should support the url property in template definition as url template like:

      The params to be added to the URL could be the node's properties and some extra params when the page editor is in edit mode/preview mode.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                canh.nguyen Canh Nguyen
                rsiska Robert Šiška
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR

                    Time Tracking

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