Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13526

Add channel section including channel info properties in Page Model API

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Done
    • None
    • 14.3.0
    • None
    • None
    • 3
    • DXP Solutions
    • Integrations Team Sprint 237, Integrations Team Sprint 238, Integrations Team Sprint 239

    Description

      we (integrations team) need to read the channel info through the PageModel in SPA and so the SPA should be able to read options such as whether or not brSM is enabled, the channel specific connector ID, etc.
      So, I'm thinking that it would be nice if AggregatedPageModel contain another section, channelas a top level object as a sibling of pagelike the following example:

      {
        //...
        "channel": {
          "info": {
            "props": {
              "prop1": "value1",
              "prop2": true,
              //...
            },
            //...
          },
        },
      }
      
      • channel/info represents the data from ChannelInfo
      • props is from ChannelInfo#getProperties()

      Attachments

        Activity

          People

            Unassigned Unassigned
            wko Woonsan Ko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: