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.

1 Answer 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.

  • Can you add a supporting documentation link? This answer is very short and likely to get flagged for deletion.
    – Adrian Larson
    Feb 26, 2016 at 15:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .