Outputting all available node- and site-properties in fusion

Hey,

I’m new in neos-developing . I’m quite frustrated right now, because I don’t get how I can output all available node-properties in a node-fusion-file.

I searched through the wide web but found nothing. I tried following code but it wont work:

prototype(My.Site:Content.Button) < prototype(Neos.Neos:ContentComponent) {
    node = ${node}

    renderer = afx`     
        {node -> f:debug}
    `           
}

I would be glad if someone could help me :slight_smile:

Thanx!

Use the Neos.Fusion:Debug object like this

prototype(YourVendor:FusionPrototype) < prototype(Neos.Fusion:Component) {
    node = ${node}
    renderer = afx`
        <Neos.Fusion:Debug>{props.node.properties}</Neos.Fusion:Debug>
    `
}

See also https://docs.neos.io/cms/manual/rendering/fusion#debugging

1 Like

Vielen vielen Dank!