Limited access to serverconnect server actions on a content page from partial

Using node.js

Please let me know if I must rather add this as a feature request.

If I put a partial include on a layout page and want to select a serverconnect server action from the action editor to run on click, form success, etc. on the partial page, I am able to do it.

When I do exactly the same on a content page, the server action included on the content page is not recognised in the action editor.

Can we please as Wappler Creators to add meta data and see if this functionality can be included in Wappler ui. That no matter where you include the partial or server action in the layout - > layout page + partial or content page + partial, we can use the action editor to select a server action to run on a dynamic event like click, form submit, etc.

PS. All my pages have the same APP ID

Here is the action editor where the partial and server connect action is on the layout page:

Here is the action editor where the partial and server action is on the content page. See only the partial shows and no option to select the server action:

1 Like

Changed this to a Feature Request... Please vote.

2 Likes

So where is exactly the server connect placed? In the partial that you include in the layout page? Or in the layout page self?

1 Like

Isn't this similar to what I've reported recently Weird partial behavior - explanation needed or bug - #6 by pixlapps ?

The scenario where I would really like it to work is where the partial and the server action is on a content page.

If it could work the same as when the partial and the server action is on the layout page and you are able to reload the server action after a form in the partial has been submitted.

In doing this the server action containing the main data can be placed in the content page for which it is used and partials can call this server action with dynamic actions from buttons, forms or other components in the partial.

Just to confirm - are you trying access a component on your content page from within a partial included on that page?
Or are you trying to access a component inside your partial from the content page where the partial is included on?

1 Like

the first option - want to access a component on your content page from within a partial included on that page. Currently no content page components display when the partial is on the content page.