HTML5 Data Bindings Support Product Page

Detail > Repeat Region Problems

Reported 29 Aug 2014 20:57:08
5
have this problem
29 Aug 2014 20:57:08 Steve Skinner posted:
I have been spending hours today trying to troubleshoot something I've done before, but for some reason isn't working.

I have a repeat region, then a detail region and another repeat region within that. That's my structure.

When I got to insert the first field into my detail region, I get the prompt to create a repeat region since one doesn't exist yet, so I click ok and it does that. Repeat region created and first field inserted. So far so good... but here's where it gets weird.

I then insert another field right next to the one I just created inside the new repeat region (from the same data source) and I get the popup again telling me that there's no repeat region!!

I've recreated this page a few times, each time running into the same frustrating problem.

HTML5 Data Bindings can't seem to detect it's repeat regions that it just created! I'm 3 hours into trying to figure this out and making no progress on my work.

Replies

Replied 05 Sep 2014 21:43:32
05 Sep 2014 21:43:32 Steve Skinner replied:
Would really appreciate some help with this. I have been running into this problem on several different sites where this has come into play, but I've learned a little more about the issue.

If I create a repeat region inside a detail region, I can see the second repeat region show up in the Data Bindings Panel. However, as soon as I attempt to insert a field into the new repeat region from the same data source, I get the message:

"You are inserting detailed data without a repeat region! Would you like to insert one first? Otherwise you will see only the first record"

Since I already DID create a repeat region, I click "cancel" and let it just insert the field, which is does in this format:
{{datasource.data[0].fieldname}}

It won't work when you try to run it this way, but if I take out everything so it is just {{fieldname}}, then the repeat region works.

I can get everything to work by manually revising the code created by HTML5 DB, but it seems that the extension SHOULD RECOGNIZE it's own repeat regions, which DO show up in the Data Bindings Panel.

For me, this is very easy to reproduce. It has happened every time I've tried to insert a repeat region inside a detailed region since about 2 or 3 extension updates ago. It didn't used to do this. Could this be an extension bug?

Please help...
Replied 08 Sep 2014 08:18:32
08 Sep 2014 08:18:32 Teodor Kuduschiev replied:
Hi Steve,
We are currently checking this issue. This will be improved in the upcoming huge html5 data bindings update next week
Replied 08 Sep 2014 16:52:37
08 Sep 2014 16:52:37 Steve Skinner replied:
Ooh, "Huge" update... Very excited about that!
Replied 03 Apr 2015 04:04:54
03 Apr 2015 04:04:54 ricky jimenez replied:
I have 1.7.1 and THE SAME PROBLEM. I am so frustrated because I purchased this to make it easy, and have spent hours trying to use it with google plus albums. I can add the source, but I get this error every time about no repeat regions.

Reply to this topic