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
Priyesh Misquith 12Priyesh Misquith 12 

displaying data in custom model

There should be Button on the Opportunity detail page.
On click of the Button a custom modal should be Open and should display a details from the custom_Object_c using query from apex controller.

ShirishaShirisha (Salesforce Developers) 
Hi Priyesh,


You can create lightning component to achieve this requirement and please find the sample code in the below doc:

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri