We are overriding our standard 'Add Product' button on Opportunity in Classic to redirect to a Visualforce page. Works fine there. When migrating to LEX, we are seeing that this action is unavailable. The button isn't present in the UI. The visualforce page has lightningStylesheets="true" and is "Available for Lightning Experience, Lightning Communities, and the mobile app". Is there anything else I need to be aware of to get this override button to show up on the layout?

Edit: Is is possible that list view buttons cannot be overridden in LEX as they can be in Classic? According to this : https://developer.salesforce.com/docs/atlas.en-us.208.0.lightning.meta/lightning/components_using_lex_s1_action_overrides_basics.htm overriding standard actions in List is said to be N/A, i.e. it is said to be possible, but you can't access the override in this situation. As I understand it ,it's a bit of a catch-22. Has anyone here successfully overridden a List button on LEX?


Here's an answer to this conundrum, seems like this is a bug in Spring '18. It behaves exactly as this ticket here: https://success.salesforce.com/issues_view?id=a1p3A000000esnHQAQ . This isn't a problem on the Live environment so as far as I can see this bug is resurfacing.

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.