Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear Community,
My expresiion at the UI contains lots of If' statements .
Just was curious will it delay the reload time.
Is it advisable to do the calculation at the script level and then use that calculated field at the UI level.
Will this improve the performance of my UI application.
Regards
Raj
Hi,
Yes Raj its always advisable to do your calculation which are static at the load time only and avoid using if statements in expressions.
The reason is if statement takes time to calculate the condition mansion in it.
So it will for sure effect the performance of your application.
Regards,
Kaushik Solanki
Going straight to your question, the answer is no. The if statements at the UI will not impact the reload time ... but it will affect the calculation time after each selection.
It's a good practice to move your if statements to the script to improve user response time to selection.
Regards,
Erich