DMXzone Server Connect Support Product Page

Solved

blank page when adding data to repeating region

Reported 20 Dec 2017 13:44:41
1
has this problem
20 Dec 2017 13:44:41 Lauren Fraser posted:
I'm working with the server connect. I've successfully added a connection, action file and action executer. I added a repeating region to my page, but I'm just seeing a blank page when I view it on the server. I'm not sure how to troubleshoot from here.
Thanks,
Lauren

Replies

Replied 20 Dec 2017 13:51:57
20 Dec 2017 13:51:57 Teodor Kuduschiev replied:
Hey Lauren,
Are you sure you are not following some old tutorials?
All you need is located in this manual: www.dmxzone.com/go/32764/dmxzone-app-connect-manual and the tutorial you need is: www.dmxzone.com/go/32764/dmxzone-app-connect-manual/32765/working-with-repeat-regions
Replied 21 Dec 2017 20:43:36
21 Dec 2017 20:43:36 Lauren Fraser replied:
I followed the tutorial linked above and was able to get data to display. However, when I try to add repeat regions, I'm still having issues.

Here is the code that is generated:

Testing page updates
<div dmx-repeat:repeat1="DallasCoServerConnect.data.WalkInAttendedRoomed[0].provider">{{provider}}</div>

<div id="time" dmx-repeat:timerepeat="DallasCoServerConnect.data.WalkInAttendedRoomed[0].apptTime"></div>


And here is what is output on the page:

<!-- serverconnect[DallasCoServerConnect] -->

Testing page updates
<!--Repeat DallasCoServerConnect.data.WalkInAttendedRoomed[0].provider-->
<!--Repeat DallasCoServerConnect.data.WalkInAttendedRoomed[0].apptTime-->


Replied 22 Dec 2017 08:45:27
22 Dec 2017 08:45:27 Teodor Kuduschiev replied:
Hi Lauren
I think you selected a wrong expression for the repeat. You need to select the main data element to repeat the records inside. Not sure where this comes from:

DallasCoServerConnect.data.WalkInAttendedRoomed[0].apptTime
Replied 22 Dec 2017 14:59:06
22 Dec 2017 14:59:06 Lauren Fraser replied:
I see what I did now. I chose the data item when I added the repeat region, instead of just choosing the entire Server Connect.

Thanks!

Reply to this topic