I have a requirement to get all Fields for a specific Page Layout as per Record Type.
I have searched lot over Google about any API/Apex related with page Layout but unfortunately not found any helpful post.
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
Not that each API call is a web service call and so you need to be careful to not make the call from a context that does not allow web service calls. Also the volume of code is large, so if that is a problem you will need to remove the classes for the many API calls you are not making.