cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ElleMrLA
Frequent Visitor

Modeldriven App - subgrid in PDF

Hello community,

 

after weeks of trying, I finally managed to create a PDF file from a model-driven form with two sub-grids.

Here's what I do:

 

I loop the entries of a table to be repeated and write them to an array called arrInhalte.

filling the Array arrInhaltefilling the Array arrInhalte

I pass this array into the Word template in the repeating control field.

publish arrInhalte in the Word-Templatepublish arrInhalte in the Word-Template

After that, the Word file is cached.

Then this file will be converted to a PDF document...

... and the PDF file is saved.

caching, converting and savingcaching, converting and saving

This all works quite well, but the generated Word file and the PDF file show different results. In the Word file, ALL entries are repeated - in the PDF file only THE FIRST entry is displayed.

Here is the Word-document:

the WORD resultthe WORD result

 

And here is the generated PDF-document:

the PDF resultthe PDF result

 

What am I doing wrong?
I am very grateful for any help.

 

Best wishes

Elle

1 REPLY 1
ElleMrLA
Frequent Visitor

Hi Community,

 

I just have to push the topic on top...

 

Are there really no ideas?

Is there a bug by converting repeated items from a Word-Template to PDF?

 

Can you help please?

 

Kind Regards

Elle

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (4,863)