Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-104043

Group mapping fields on Display Page Template to support Sub-Types

    Details

      Description

      The total idea here is building a Display Page Template with a set of different fragments (and, possibly, web contents), but associated with a single object (perhaps, stored in external system and fetched by friendlyURL). For example,

      http://localhost:8080/web/guest/x/the-louvre-museum.html

      page should display information about "The Louvre Museum".

      Using Display Page Templates and The Info Framework we can fetch information from external system via REST (using friendlyURL part "the-louvre-museum.html"), then we can parse/process it and put into the display object, let's say "Museum", which fields are mapped to different fragments.

      We may have different fragments for displaying different parts of the same objects: "Address" for displaying museum address information, "Opening Times" for opening times etc. (new ones may be added later).
      When mapping fields it will be easier to select "sub-type" first, then the field (e.g. "Address -> ZIP Code").

      Another (optional) feature request:
      We may also have some Web Content in local LR database, associated with the same object (also using friendlyURL, e.g. "the-louvre-museum.html").
      And we would like to map it's fields also (or just display it somewhere on page).

       

      More details in Slack thread: https://liferay-community.slack.com/conversation/C5H30KZ1A/p1571319504204600

       

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            v.koshelenko Vitaliy Koshelenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package