Data Bindings Empty

Hello
Project settings successful, Webserver and DBserver running (NodeJS, Docker).
index.ejs and main.ejs created, all fine
Dynamic page list.ejs added.
API get_cars successfully created and when I open in browser it retrieves the data from the db-table, success!:

On list.ejs server connect added and server action selected get_cars.

Now I want to display with a table generator in a container the data from cars-table, but it shows no data-bindings:

Does anyone know why this is empty. It should look like this:

Can you try saving the file get_cars.json? It has a blue circle in your screenshot, indicating changes are not saved yet

And then go “Server Connect: get_cars” and re-select that file/route to ensure the data bindings are updated

And then try checking the Data Bindings again :wink:

Hello Apple - unfortunately no success, see here:
http://somup.com/c3ivlwuAht

Hey,

As far as I can tell, you did everything right

Can you try one more thing? Can you close the get_cars.json tab and re-open again? There was a bug where Wappler failed to save the file (despite reporting success), so I want to ensure you’re not hitting that bug

Thank you Apple - I closed the the get_cars.json tab and reopend, but still no data bindings in the table generator.

Still, thanks for your help. Will get there one day (I hope).

Hope you’re able to sort this out soon!

Just throwing some more tips, can you remove what I’ve squared in red?

You don’t need that, and then check if the data binding works. And then restart Wappler to see if it works? :man_shrugging:

Are you sure the app connect framework is included on your page?
It shouldn’t say Body here, but show the content page and its details:

So make sure App Connect is added on your content and main page.

Gentlemen - dear @Apple and @Teodor - thanks for your help:

I threw everything in the corner and went fishing - see the beautiful trout I catched:

I just came home and tried: The two tips ARE THE SOLUTION - THANK YOU A MILLION TIMES:
Adding App connect based on the 101here: https://docs.wappler.io/t/adding-app-connect/2921
Adding App connect on the specific page /list as well as on main.ejs.

Saving all files and closing Wappler, Restart. It works!! - how beautiful is this - see here:

I think the app connect information is a very important piece of information that is missing in most basic courses (maybe b’cause it is so basic).

However, this solved my problem and I will get back and check whether with solving this other open exercises / problems will resolve.

Thank you so much Gentlemen helping me catching the fish!

Thomas

2 Likes