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

Show fields of custom object in a table

Hi All,


I've created a custom object with many fields. Now I want to show them in the Lead Page Layout at the top


I've created a lookup field in Lead to point my newly custom object and also in the Opportunity (as this field content will be converted)


The reason to create custom object is that I passed the limit of custom fields.


I'm doing my first step writing pages and not I understand that I cannot use the StandardController of my newly object as it will not be shown in the Lead.


I need to create an apex class wrapping my object.


I also need to show my custom page in the Opportunity Page Layout.


What will be the best way doing so?





I have also faced the similar issue you can do the following'


1) Identify the read only fields or the calculated field on the Lead Object move them to a inline VF.

2) Create another Inline VF to store data in your custom object


but my question is during lead conversion how the custom objects fields will be mapped to Opp.