There is an apex button that is not displaying when the record is viewed in Lightning Experience. The related
In Salesforce Classic it is working fine , When I move to Lightning, it is not displaying.
Related list is a custom object which is executing javascript.
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
Javascript custom buttons are not supported in Lightning. Read here, it says:
Custom buttons that use a JavaScript content source aren’t supported in Lightning Experience. You can replace some of the functions covered by these buttons by using point-and-click tools, like Process Builder, Visual Workflow, or code-driven approaches.
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0