Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4646

Return a preview flag in the Page Model API response

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 13.4.0, 14.0.0
    • None
    • None

    Description

      This flag may help on the SPA SDK side to differentiate between preview and live modes based on the response. Some of the possible use-cases:

      • Debugging your application and configuration. Sometimes we have support tickets saying that manage content buttons are not showing up.
      • From the SDK, we don't need to check the existence of the comment nodes before rendering.
      • From the SDK, we can pick the right configuration corresponding to the response without having a global state.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mdokolin Mikhail Dokolin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: