I'm a newbie on Maestro and I'm stuck to do a specific thing.
For a pdf form (but I think my question can also help for regular form), I need to create dynamically the different component "Text Display" to display data on page load. I don't really know what method should I use to do it.
Can anybody help with this use case?
Please review the following link and advise if this resolves your query:
Property Prefill Mapping for Text Display
Hello. Thank you for your reply. that is not working in a dynamic context.
For example I have this piece of XML :
I mapped the repeat component with CTRY and my dataField to item. Then I display content of dataField on a TextDisplay.
But instead to create one element by country, it will display the array of data directly on one textDisplay.
Have you any idea why?
I also noticed that is working well if the XML structure is composite and not a list like :
In that case the component is created correctly and dynamically according data.
So it's seems linked to XML structure
Yes, that makes sense as the CTRY is not the repeat in the first XML - the item is. It looks for a value named item in the CTRY element and finds 2 so presents them as an array.
So the solution in my case was to keep a composite list.