2

I have overridden the opportunity new button with Visual force page and working all well in classic. But we enabled lightning recently and Opportunity new button is working properly but.

In lightning, when I clicked on Account related opportunity new button, it is redirecting to Record Type selection page then to visual force page and account Name getting disappeared. This is working well in classic, account getting populated after record type selection. Please find below screen shots for more information.

I feel StandardController is not retaining the values after record Type redirection. can anyone guide me how to overcome this error.

Note: This is working if there are no record types. enter image description here enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.