HTML5 Data Bindings Support Product Page

Under investigation

Can't create multiple connections

Reported 03 Jun 2014 20:11:09
1
has this problem
03 Jun 2014 20:11:09 jefferis peterson posted:
I am trying to create multiple table connections with separate data bindings in html5 in order to create dependable drop downs, BUT every time I do, adding a new binding wipes out or changes the original one. It is very counter intuitive if this isn't a bug... the process, I've tried several ways, overrides the new one. I am also trying to duplicate the connections so I don't have to enter everything from scratch. Here's a video of the problem: screencast.com/t/e2MzGiW6dd3

Replies

Replied 04 Jun 2014 09:45:16
04 Jun 2014 09:45:16 Teodor Kuduschiev replied:
Hello Jefferis,
Could you please explain what exactly do you need to duplicate:
1. The database connection?
2. The Database Source?
3. The Data Source in the data bindings panel?
Replied 04 Jun 2014 15:09:44
04 Jun 2014 15:09:44 jefferis peterson replied:
Following the tutorial on dependable drop downs, it shows 2 DB connections: models and years or something.... Creating a query, if that is the right term for data binding, i set up 3 tables: category, brand, product and url. My original table had all those in one file. And my original query was for Pavers (one category in categories). I was trying to duplicate the separate queries in the tutorial, one for each table... Unless i missed something important. BTW, Webassist provides a database with its examples in its tutorials, so you can see the structure, which is helpful... I'm just guess at how your db calls are set up.... You start with "we have already created a binding..."
Replied 04 Jun 2014 16:17:26
04 Jun 2014 16:17:26 Teodor Kuduschiev replied:
Actually you need ONE database connection, not 3.
When you setup your Database Connection then you can create as man y Database Sources as you wish using the + button:

FULL IMAGE
Then with each Database Source, you can create a different HTML5 Data Bindings Data Source, again usin the + button and selecting the proper Database Connection below:

FULL IMAGE
Replied 04 Jun 2014 17:12:30
04 Jun 2014 17:12:30 jefferis peterson replied:
Thanks, so database source is the equivalent of a mysql query? I think terminology and previous learning were confusing me.
Replied 05 Jun 2014 09:13:43
05 Jun 2014 09:13:43 Teodor Kuduschiev replied:
HTML5 Data Bindings can work with:
- Public Feeds
- Database Source
- Plocal JSON file

Database Source means the data comes from a database. In order for the data to come from a database you need to setup a Database Connection. You can use one database connection in order to build many Database Sources that you can use within the HTML5 Data Bindings.

Reply to this topic