function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
harsha B R 9harsha B R 9 

What are the considerations for replacing a standard detail page with Lightning component

Hi Everyone,

Requirement is to override the complete standard detail page (in Lightning) including related lists with the custom lightning component.

What are the considerations for replacing the standard detail page with the custom lightning component?

Thanks & Regards,
Harsha BR
ShirishaShirisha (Salesforce Developers) 
Hi Harsha,

Greetings!

There are no specific considerations when it comes to the Lightning component to override the View button of the Object.But,we have consideration to override all the standard buttons with the custom code like VF page or Lightning component.Please refer this article (https://help.salesforce.com/articleView?id=links_override_considerations.htm&type=5)for more details.

Also,you can refer this link (https://trailhead.salesforce.com/en/content/learn/projects/workshop-override-standard-action/override_4)for sample code to override the View button which is the Record detailed page.

Kindly let me know if it helps you and close your query by marking it as best answer so that it can help others in the future.

Warm Regards,
Shirisha Pathuri



 
AbhishekAbhishek (Salesforce Developers) 
Hi,

Override a standard button with a Lightning component or Visualforce page 

Check the below article,

https://help.salesforce.com/articleView?id=links_override_considerations.htm&type=5

Thanks.