kenyon
Member
Registered:1364173982 Posts: 13
Posted 1495064471
Reply with quote
#1
Form takes about 30 seconds to load Read here that panels can cause slow performance Move controls out of panels and remove panels Grids and "visibility depends on" lose their bindings <thumbs up> Project no longer deploys (Internal Error) Don't mind me, just venting. Time to remove everything piece by piece until it starts working again.
kenyon
Member
Registered:1364173982 Posts: 13
Posted 1495071914
Reply with quote
#2
I deleted sections of controls one-by-one to find what was causing the issue. Eventually deleted what must have been the offending group and the project deployed. I undid the delete action to confirm this, but the error no longer occurred. So I guess that's a win? Aaaand the form still takes about 30 seconds to load.
Nils
Member
Registered:1400666549 Posts: 23
Posted 1495085915
Reply with quote
#3
Been there done that ;) For long running forms try to reduce (circular) refresh dependencies - with this I mean datasource1 is on always refresh, but while starting the form parameters are still loading through javascript or on form start. This may lead to multiple refreshes of datasource1 before the form is even shown. I did have the exact same issues in the past too and am still unsure what caused or resolved the issue in the end. Had to remove stuff to until the form worked again and then added stuff back in. Just stay brave :) In my case in the end I did remove a hidden panel with datasource altogether from the form and recreated it as an admin form to be called by javascript (it can still return parameters to the original form). This has been working great. Also reduces complexity.
kenyon
Member
Registered:1364173982 Posts: 13
Posted 1495139350
Reply with quote
#4
Oh nice, thanks for the tip. I'll take a look at my datasources.