Document size too big rendering form model takes over 1 min

In our project we have following issue, we try to print a document with huge number of repetitions over 4000. This leeds to following, der Overview take around 10 sec but when we open the Form view the page almost crashes.

This is also related to
Document size too big to print - Engines / Print Engine - mgm A12 Discourse

Hi @kostadin-cold-rain

Can you give any more details about how the Form Model is modeled?

  • Are all these data points visible?
  • Are all these data point editable?
  • Do you use multiple screens in the Form Model?
  • Do you use lots of dependencies in the Form Model?

I’m trying to understand if you think that the data loading is the problem or the rendering of the Form Model.

The data is displayed in as table and they are displayed all together.
The data is not editable.
The Form Model has only one screen
There is only one DocumentModel with no Relations and one Form Model

I don’t have much experience with Widget, is there a way to display e.g. 100 from the repetition group in the table and build a pagination?

In my experience, restricting the number of Form Model Elements that you are rendering will improve the performance. This can be done by:

  • Modeling separate Screens
  • Keeping the number of Elements on each Screen low
  • Using Pagination to Reduce the Size of Repeats
  • Keep the number of Columns in your Repeat low

If you really need to display all the Data, then displaying the Data in Expressions or “Text Output” Read only Controls or Columns seems to help performance.

Please note, these modeling steps will not change the amount of data that you load. This will only change how much rendering you are doing.

Sorry, I wasn’t very explicit.

Yes

  1. Open your Form Model and select the Repeat
  2. In the Repeat Editor Scroll down to the bottom
  3. Enter a value into the “Page size”, for example 100
  4. Save and re-deploy your model

I see the repetition config in our Form Model. I was not aware of the configuration field.
We will try it
Thank you