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
Longhorn94Longhorn94 

Determining which fields are included in standard layouts

Does anyone know if there's a way within Apex to determine which fields are in a pre-defined layout?  I want my Apex class to be able to determine which fields are in one of the layouts defined in [Customize..Accounts..Page Layouts].  Or, is there a way to find out which fields are included in the <apex:detail> Visualforce component for a standard object such as an Account?

 

sfdcfoxsfdcfox

At this moment... no.