Default Server Connect Actions - Client-side

There might already be something, but I can’t find it.

What I would like to do is set a default set of actions that applies on the client-side to all SC calls - for example if any call results in ‘unauthorized’ then the user is redirected to the login page. I thought that might be what the two Security Restrict options were,


but for PHP it shows the login page in the returned data rather than actually performing the redirection. I presume it is a nodejs feature? I assume it would then need client-side actions.

What would be good is having a ‘global’ option client-side for all SC calls that allows you to set a series of actions/flow. Including, if you have a fixed result structure, displaying success/warning messages etc.

For now I’m copying and pasting into every server connect which is a bit laborious.

Community Page
Last updated: