I am trying to create a dynamic detail table with the table items coming from a datamapper and the table code from an external source in JSON. I have got it to display the table and it fills one row but it does not create more rows if there are more records in the detail table. This is de table code I am using.
Just from your DOM structure is really hard to know what is going bad with your table, can you take a screenshot of your “Data Model”, and another one of one of your item scripts?,
And this is the output the print template produces:
I am retrieving the content of the page in JSON from an external source. Then I append the content to the page. I think the problem has something to do with the designer processing tables before any other scripts, thus missing out on the newly added table. If I manually add a second row it does process the second item in de detail table but it will not create new rows.
It seems that everything is ok on the screen shots, at this point to have a more understanding of your particular case and take a look in to your files, I suggest that you report your issue at http://planetpress.objectiflune.com/en/resources/support
I think I have found the problem. Dynamic tables are only repeated if they are in the source or come from an internal snippet.
I have tried snippets located on my hard disk, snippets located on a network address, snippets located on a remote server, retrieving JSON from a web service, retrieving JSON from a web service via the Workflow and then passed to the designer but none seem to work.
Because I am an intern I cannot get in touch with support but I will check with my manager about contacting them with this issue.
Just thought to let everybody know who had the same problem.