Hello everyone!
I've got a problem with the loading performance of a Page, which has alot of groups with their visibility property set to a global variable.
I already tried to include the variables to the dataset and to minimize the amount of content whose visibility is set dynamically, but it still takes alot time to load the page or a new record.
Is there any other way to hide/show fields where the loading speed is acceptable?
Or can I improve the speed in the way it is by something else?
Thank you in advance!
0
Answers
Can i know which version you are using ?
Do you more / lot of things(fields) to display Dynamically..
Raja Venkat
https://beginnersnav.blogspot.in/
I'm using version 8.0 and I'm trying to display quite many fields dynamically.
I know that this is the issue, but I don't know how I could work around this problem or to improve the speed atleast a bit.
Thank you and best regards
I set the global variable to show general parts in the OnAfterGetRecord in dependance of the Type of Record, which is either a Person or a Home:
g_IsHaushalt := (Type = Type::"Company/ Home") OR ("No." = "Company No. / Home No.");
Thanks and best regards
Thank you for answering!
Sadly I tried to do what you pointed out in your post and had no success. The loading between a Home-Record and a Person-Record still takes up to 5-10 seconds, so I didn't feel a significant impact by the change.
Thanks and best regards
what type of fields are you hiding/displaying? Are they standard fields from table you are presenting on that page? If yes maybe the problem is in query that opens that page, not in "visible" status of particular field.
Does page loads faster if you hide all of those fields?
I'm hiding/displaying groups with mostly normal fields from a table and some Control-Add-Ins.
When I'm trying to hide all fields by collapsing them it still takes a lot of time to load the next record.
Although when I'm hiding all groups that I'm hiding/displaying dynamically by setting their Visible Property just to FALSE the loading time required to load the next record decreases drastically.
Thanks and best regards
Also, is that a card page?
g_IsHome := (Type = Type::"Company/ Home") OR ("No." = "Company No. / Home No.");
And yes it is a card page.
Thanks and best regards