Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Override CRM Online Ribbon Button Functionality

$
0
0

Hi

I have to implement one validation on click of "Close As Won" button on opportunity form. I am thinking of following two options:

1. Write a pre-operation or pre-validation plugin on "Win" Message. Do the Validation in Plugin if it fails, then throw exception.

2. Change the Command of Ribbon Button and use your own Javascript function. Validate in JavaScript, if validation fails throw error message else call OOB Command function of ribbon button.

I am worried that with option 2 , if CRM Online gets updated then it might override the changes made by me. Please suggest.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>