Get "rendering in Backend" in Fusion?

Hey there,

I’m struggling with a problem in Fusion since some time and I hope you can help me out.
I’m trying to get the value, if the current node is rendered in backend, similar to the “neos:rendering.inBackend()” ViewHelper but in Fusion code.
I’ve tried to access it with “node.workspace.name” but this causes no useful results, due to the value beeing also “live” when your in backend but the node is published yet.

Has someone any ideas on how to solve this?
Thanks in advance,
Max

Hope

@if.renderOnlyInBackend = ${node.context.inBackend}
```
or in Neos.Fusion:Case

condition = ${node.context.inBackend}

will help you
1 Like

Thanks for the fast reply
I’ll test it soon