Ah. Missed the point about it being in the layout page.
I did post a requirement for “loaded” even of content pages in NodeJS. Route Show/Hide etc Options for NodeJS SPA
If this works for you, you can set the condition here instead of on-success.
1 Like