Bind multiple Server Side Data on NodeJS

Wappler only allows binding one Server Side Action to Server Side Data

Can we get the ability to bind multiple ones?

Maybe I want one Server Action for checking if the user is logged in, and another to bind the page title according to the current page/item/product

Or is there an alternative way of doing so?

We just create multiple SA and bind them on different content pages as required.
Also, in some cases we just put conditions on the SA itself, so that same SA can work for multiple pages - using the request URL from $_SESSION.

Well the server action is executed always before the page renders and you can have multiple actions and queries in it to fully fetch all the info in it.

You can also reuse actions from the library.

Those are AJAX calls. I believe he wants to call them at server run time.

@Apple I use library actions for that.

I think you've misread. The server side data actions shown in screenshot are server side calls.. Not ajax.
Server Connect are ajax calls.

1 Like

Oh sorry I misinterpreted your definition of “bind to a content page”. Meaning that I thought you were the one proposing him to use AJAX calls.

1 Like