Miwa
March 19, 2020, 7:40am
1
I’ve read this
and checked “Demo Dynamic Real Estate Site”.
but I’m still not able to populate the data from database…
What I would like to do is to make the upper image with data binding.
But the result is like below now. (I put dummy data in the database already…)
How can I solve this?
Teodor
March 19, 2020, 7:51am
2
Have you checked the docs?
Dynamic attributes in Wappler give you powerful option for dynamically binding attributes like - image sources, href attributes, names, input values etc., as well as show/hide or disable elements on the page, based on specific dynamic condition....
Miwa
March 20, 2020, 7:09am
3
I checked these docs though, but I still don’t get dynamic data…
And repeat1 doesn’t fetch any data yet…
Here are my settings…
Could you find where I made mistakes, please?
Teodor
March 20, 2020, 7:18am
4
Is the output option selected for your repeat step in server connect? Are output fields also selected in the dropdown?
Miwa
March 20, 2020, 7:23am
5
You mean this one?
should I chose “serverconnect.data.repeat1” or just this green one “repeat1” (comes after Row)?
I choose output fields from the dropdown basically.
Teodor
March 20, 2020, 7:26am
6
No, I mean in the server connect panel, in your server action - there is a repeat step. You need to enable output and select the output fields in the dropdown (the ones you need to use on the page)
Miwa
March 20, 2020, 7:31am
7
It was empty once, but now I chose output fields from the dropdown again.
Teodor
March 20, 2020, 7:35am
8
So is it showing results?
Is output option for the repeat step in server connect enabled as well?
Miwa
March 20, 2020, 7:36am
9
no, I can’t fetch the data at all.
Teodor
March 20, 2020, 7:37am
10
Have you checked your database query filters? Maybe they are the reason…if wrongly set up
1 Like
Miwa
March 20, 2020, 7:41am
11
Oh thanks, my dummy data was out of the query condition…now I could fetch the data!
1 Like