Serge van den Oever's weblog

XM Cloud Pages - feature flags

Sat Feb 24 2024 • ☕️ 2 min read • you like my writing? Buy me a coffee

XM Cloud Pages - feature flags

In the preparation of writing my blog post, I do a lot of research and deep diving. I was busy trying to fix a configuration for XM Cloud Pages, and in that process I was looking at all network traffic when I came across an interesting network request done from pages to the URL https://featureflags.sitecorecloud.io/api/featureflags/v1/flags?key=pages&labelfilter=production.

From that GET request I get on my instance of Pages (at this moment) the following result back:

[
    {
        "id": "pages_canvas_through_horizon",
        "description": "Render editing canvas through Horizon",
        "enabled": false,
        "conditions": {}
    },
    {
        "id": "pages_feaas-components-regions",
        "description": "Enables render regions for FEaaS components extensions",
        "enabled": true,
        "conditions": {}
    },
    {
        "id": "pages_fetch-feaas-components",
        "description": "Enables in house fetching FEaaS components",
        "enabled": true,
        "conditions": {}
    },
    {
        "id": "pages_fetch-feaas-external-components",
        "description": "Enables in house fetching FEaaS external components",
        "enabled": true,
        "conditions": {}
    },
    {
        "id": "pages_gainsight",
        "description": "Gainsight",
        "enabled": true,
        "conditions": {}
    },
    {
        "id": "pages_inline-add-component",
        "description": "Enables inline adding of components",
        "enabled": true,
        "conditions": {}
    },
    {
        "id": "pages_page-templates",
        "description": "Enables Page Templates feature",
        "enabled": true,
        "conditions": {}
    },
    {
        "id": "pages_show-app-switcher",
        "description": "Show app switcher in Pages",
        "enabled": true,
        "conditions": {}
    },
    {
        "id": "pages_show-form-analytics",
        "description": "Show Form analytics section",
        "enabled": false,
        "conditions": {}
    },
    {
        "id": "pages_show-page-branches",
        "description": "Show page branches in Pages",
        "enabled": false,
        "conditions": {}
    },
    {
        "id": "pages_show-templates-design-updates",
        "description": "Show the new design updates for Templates",
        "enabled": false,
        "conditions": {}
    },
    {
        "id": "pages_super-layout-component",
        "description": "Show an editing panel for a layout container",
        "enabled": false,
        "conditions": {}
    },
    {
        "id": "pages_sync-xmc-user",
        "description": "Sync the user with XMC user",
        "enabled": false,
        "conditions": {}
    },
    {
        "id": "pages_use-ckeditor",
        "description": "Use ckeditor for RTE field",
        "enabled": true,
        "conditions": {}
    },
    {
        "id": "pages_use-sxa-sites-api",
        "description": "Use SXA API as souce of sites",
        "enabled": true,
        "conditions": {}
    }
]

I tried other values for key (pages) and labelfilter (production), but could not find other values that returned other sets of feature flags.

There are still some feature flags on false, but with a tool like Home | Tampermonkey it would be easy to do some toggle switching! I will not dive into this now, because I have enough trouble to get the topic of research up and running for one of my next blog posts, but at least this is a “reminder to self”. If, in the meantime, anyone is willing to pick this one up and blog about it - it would be fun!

Discuss on TwitterEdit on GitHub

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. You are free to share and adapt this work for non-commercial purposes, provided you give appropriate credit, provide a link to the license, and indicate if changes were made. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/4.0/.

Serge van den Oever's weblog

Serge van den Oever

Personal blog by Serge van den Oever - als je maar lol hebt...
X: @svdoever
LinkedIn: Serge van den Oever - articles on LinkedIn
GitHub: svdoever

Technology Consultant @ Macaw
2021-2024 Sitecore Technology MVP