How can I improve the performance of Display method on Form?
*This post is locked for comments
Always add display methods to the actual table object. Do not add it to the form datasource. Decorate it with [SysClientCacheDataMethodAttribute] and the form will automatically cache it.
These is the bare "minimum" to improve your code.
Everything else depends on what your are doing. Missing indexes? Code refactoring? Maybe display method is the wrong approach and you could achieve better results with a query object / query modifications on the form.
Hi harry4udax,
Apart from caching that is very important, you can move method execution to server tier if it has database calls, that could improve performance as well.
In my personel experiences, You may consider again to use display method on forms. You may use the display methods as a calculated member for existing data source or values.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Community Member 4
Guy Terry 2 Moderator
Nayyar Siddiqi 2