1

I have overridden standard 'Add Products' button of OpportunityLineItem object with a VF page. It was working fine in classic and Lightning both before Spring'18 release. But after Spring'18 release it is working only on classic. In lightning it is redirecting to the standard detail page of opportunity. Is this any issue with Spring'18 release or am I missing some settings for button override.

2

2 Answers 2

0

As, I have observed that on Opportunity product object under Button and Links there exists two buttons for Add Product as per below screenshot enter image description here

1st button with Name AddProduct is configured on Salesforce classic. and the other button with Name MultiAdd is configured on Lightning experience.

So as per my understanding, you need to override the VF page on second button as well. Please verify and let me know if that works for you.

0

After Spring' 18 you need to assign separate standard action overrides for Different Experiences.

The action override screen for standard actions, like New, View, and Edit, has gotten a makeover. Now you can easily assign different overrides for Salesforce Classic, Lightning Experience, and mobile. For example, for the same standard action, you can set a Visualforce page override in Salesforce Classic, a Lightning page override in Lightning Experience, and a Lightning component override in mobile. This change applies to Lightning Experience, Salesforce Classic, and all versions of the Salesforce app.

Ref : https://releasenotes.docs.salesforce.com/en-us/spring18/release-notes/rn_forcecom_general_action_overrides.htm

enter image description here

1
  • This doesn't seem to apply to overriding the OpportunityLineItem MutiAdd button as the only options to use are Custom S-Control or Visualforce page. Oct 2, 2020 at 18:34

You must log in to answer this question.

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