Hello,
I wanted to know to is there any difference if I choose javascript for showing or hiding the fields in instead of business rule?
Hello,
I wanted to know to is there any difference if I choose javascript for showing or hiding the fields in instead of business rule?
Hello Prashanth,
There would not be much difference the only difference would be JavaScript would be your custom code and the business rule is OOB functionality.
Now I would go with what the product provides because if in future any issue MS can help debug it but if its JS causing issue you will have to debug on your end as it would be custom.
And also, both Business rules and JavaScript execute as JS files only in the backend.
Hi,
There is no difference. The advantage of using Business Rule is you don't need any developer to write the code. Any non-developer can also design Business rule.
Also, You don't need to modify your code when you get any request to change the logic. You simply update your business rule. You should always focus on no-code approach first for your requirement to reduce technical debt.
You should keep in your mind that not everything can be achieved using Business rule which can be done in javascript.
community.dynamics.com/.../limitations-of-business-rules-in-dynamics-365
Please mark my answer verified if this is helpful!
Regards,
Bipin Kumar
Follow my Blog: xrmdynamicscrm.wordpress.com/
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156