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
Jansi AJansi A 

Custom Button is not visible for some old records

Hi.

We have added a custom button called 'upload file' to Opportunity object in Lightning. When click on a button, it will navigate to Visual Force Page, which included a lightning component.

The above button is visible for newly created Opportunities, but not to the old opportunities. We are using Developer Edition. Can you please suggest us on this issue.

Regards
Jansi
swati_sehrawatswati_sehrawat
can you please check if record type and page layout for old and new Opportunites are same.
Jansi AJansi A
Thank you, Swati for the quick reply. Appreciated.

I am not sure how to check the page layout for specic record(in my case for old record which is not showing my custom button).

If I will change the page layout for a specific object, then the page layout will not be apply for old records?


Regards
Jansi