Hi Experts,
We recently migrated from CRM 2011 to CRM 2016 on-premise. In CRM 2011 we have Custom Enable Rule to disable buttons on entity based on such criteria. We were using this rule on more than 4 buttons. So all the time when form was refreshing, rule hit the database frequently for each button.
So to minimize the number of hits on form load we are thinking to call the Custom Rule for one button only and with in code disable other buttons.
We tried with DOM (Document Object Model) and this is working but not consistent. We found that sometimes buttons were not loaded before the code run.
Please suggest the way to do this. Any other approach with low cost for performance is also welcome.
TIA
*This post is locked for comments