+ Start a Discussion
Surabhi Menon 2Surabhi Menon 2 

Unable to override "New" button in Product2 object

Hi All,

I had a requirement of redirecting the user to a VF page upon record type selection in Product2 object.

I overrided the New button with a VF page and a corresponding extension class. However the redirection was happening only upon clicking buttons like "Cancel" and "Save" and not upon clicking "Continue" button post record type selection.

I tried replacing the Product2 object with Case in the code just to ensure that the logic was fine in my code and it was working fine.

Please help me out in this.

Best Answer chosen by Surabhi Menon 2
Hi Surabh you can try overridding add button instead of new.