I’m using 2 repeating groups to generate data for 2 charts. The groups are about 70 rows. I know that the row count affects the page load time much more than the number of elements in the RG (the number of elements doesn’t seem to affect page load).
I don’t know how to use pagination, is that an answer to help speed up page load?
Thanks,
Dana 
Hi there,
How are you calling up the data that populates these groups? A straightforward Search should display fairly quickly, but if you’re doing Advanced Filtering, it can slow down the load time substantially.
One RG has 4 input elements and 4 financial calculator elements.
The elements are all equations based on input elements initial conditions. No data is called from the RG.
Thanks MSG.
Id recommend this:
- hide the RGs on page load (the data doesn’t load until it’s visible)
- Display a placeholder animation instead of the RG (perhaps a skeleton animation?)
- Add a workflow action to show the RGs x seconds after the page loads (this adds a fix delay on the RG, but lets the page load faster)
- Add condition to hide the loading animation once the RG’s content is populated
PS. You’d have to place the RG and the placeholder in the same “align to parent” group to ensure they both appear on top of (or beneath) one another
1 Like
Interesting idea, Alee. I’ll have to think about that.
In the mean time, during an exceeding long page load time, it came up with this error. What do you think this means? As far as workflows, there is virtually nothing running so this is quite an odd message. The only thing that is running are the 2 RGs.
How do you generate those charts ?
This is the total elements in the row:
I made the 2 charts invisible to exclude them so I have only the 2 RG are active.
Just paginate, there is 2 ways to do it I will tell you the simpler one
1 ) On any element put custom_state > name = to_show, type number, default value = 4
-
do a serach for X’s items until #to_show
-
Put show more to bottom, when show more is cliked set state of to_show = to_show + 4
Does that mean the RG only displays up to row X?
Display row number up to to_show’s number
Yeah, that’s not what I’m doing. The entire RG (chart) needs to display. What I want to do is to restrict the 2nd graph from causing delay, employ pagination down the page not across the chart.
Maybe I can use the idea to do what I want.
Yeah just make this custom state on the group which is inside the rg