0

We have a custom VF page for a 'New Contract'. While migrating to lightning, we have created a lightning component for this 'new contract' VF page.

There is a new contract button in the Account's contract related list. Currently, we have a URL type button, which opens the VF page. enter image description here

Now, on click of the 'New Contract' button in Account's related list, we need to open the VF in the classic view and lightning component in lightning view. We want this in the same button.

How to do this?

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.