0

Im working on SFDC classic org which has been asked to be migrated to Lightning. Im not able to figure out how to replace the java script validation button. I have Convert button on lead object which has onclick java script to validate if few of fields are not empty, if empty shows error message. What provision is there in lightning to accomplish this?

2
1

The first step would be login to https://lightning-configuration.salesforce.com/ using your org credential and scan for JavaScript button and convert it to Lightning Component, quick actions, or other declarative solutions.

enter image description here

Read more here:- Convert JavaScript Buttons to Lightning-Friendly Alternatives with the Lightning Experience Configuration Converter

Remember:- The above tool can’t convert every JavaScript button.

Also,

Lightning Alternatives to JavaScript Buttons would discover Lightning-friendly solutions for your JavaScript button use cases.

2
  • I'm not able to see a list of visual force pages with issues in it... after scanning org in Lightning Experience configuration converter. Also button for apply lightning stylsheet is disabled – Priya May 8 '19 at 6:14
  • You can open a separate question for this query so that in future other people can take advantage of it. – sanket kumar May 8 '19 at 6:38

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.