DMXzone App Connect Support Product Page

In progress

Populate data for repeat inside repeat in Data Binding Pickup

Reported 10 Apr 2017 01:34:37
1
has this problem
10 Apr 2017 01:34:37 Firdaus Rohman posted:
I'm not sure if this is not implemented yet or a problem, but I'm unable to select query data from repeat inside repeat in the Data Binding Pickup.

Example

Note: The website works fine without error. I just have to type the expression myself in the code vide at the moment.

Replies

Replied 10 Apr 2017 07:09:47
10 Apr 2017 07:09:47 Teodor Kuduschiev replied:
Hello Firdaus,
Have you checked the output option in server connect, for this repeat? Also - have you added output fields there?
Replied 10 Apr 2017 07:19:45
10 Apr 2017 07:19:45 Firdaus Rohman replied:
Hello Teodor,

Yes, and there's no issue with output. I just can't expand the repeat tree when the repeat is inside another repeat.
Replied 10 Apr 2017 07:26:24
10 Apr 2017 07:26:24 Teodor Kuduschiev replied:
We will check this and will update the extension if the issue is in app connect.
Replied 10 Apr 2017 10:59:18
10 Apr 2017 10:59:18 Teodor Kuduschiev replied:
Hello Firdaus,
I cannot seem to be able to recreate this issue. I've nested a few repeaters in server connect action, then i created a repeat region in app connect and have no issue inserting bindings, from the nested repeats - they expand and i can see the bindings without any issues.
Replied 10 Apr 2017 12:17:42
10 Apr 2017 12:17:42 Firdaus Rohman replied:
Hello Teodor,

In my case, the nested repeat is filtered by id from the main repeat. And there's also filter applied to its data view source.

I have no problem with repeat query set on server connect and output it on app connect. The issue here is repeat from data source A inside repeat from data source B in app connect. The repeat from data source A is filtered by id from repeat from data source B.
Replied 10 Apr 2017 12:19:23
10 Apr 2017 12:19:23 Teodor Kuduschiev replied:
Your explanation is not really clear. Please send me an email which explains EXACTLY what are you doing, with screenshots and/or links to your pages where i can see what are you trying to achieve...
Replied 10 Apr 2017 13:38:05
10 Apr 2017 13:38:05 Firdaus Rohman replied:
Hello Teodor,

I have emailed follow up to
Replied 11 Apr 2017 08:49:47
11 Apr 2017 08:49:47 Firdaus Rohman replied:
Update:

I've tested on a fresh site and realised the problem is not with repeat inside repeat, but when there's filter applied on repeat source / expression, for example ;

<div dmx-repeat:main_repeat="record.data.query1">

<h4>{{name}} - {{upload_date}}</h4>

<div dmx-repeat:nested_repeat="category.data.query1.where(`record_id`, id, &quot;==&quot">
{{name}}
</div>

</div>

--------------------

I can expand the repeat tree in the Data Binding Pickup without problem when there is no filter applied ;

<div dmx-repeat:main_repeat="record.data.query1">

<h4>{{name}} - {{upload_date}}</h4>

<div dmx-repeat:nested_repeat="category.data.query1">
{{name}}
</div>

</div>

----------------

Actually the same issue as I reported here.

Sorry for the misunderstanding.
Replied 11 Apr 2017 11:10:09
11 Apr 2017 11:10:09 Teodor Kuduschiev replied:
This will be improved in the upcoming update of App Connect Data Formatter

Reply to this topic