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
Shubham4462Shubham4462 

Regarding To opportunity Deatil page overirde in saelforce Lightning

Hello All,

I want override Opportunity detail page without writing each and every field in lightning component is their any way to do this
Khan AnasKhan Anas (Salesforce Developers) 
Hi Shubham,

Greetings to you!

You can use apex:detail
The standard detail page for a particular object, as defined by the associated page layout for the object in Setup. This component includes attributes for including or excluding the associated related lists, related list hover links, and title bar that appear in the standard Salesforce application interface.

Please refer to the below links which might help you further with the above requirement.

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_detail.htm

https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_quick_start_tabs.htm

http://www.infallibletechie.com/2015/01/apexdetail-in-apex-in-salesforce.html

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
Shubham4462Shubham4462
Thanx for reply Instead of That option do we have some other workaround Anas