+ Start a Discussion
Amit Visapurkar 5Amit Visapurkar 5 

For a particular user get default page layout associated with a particular Object

I am creating a rest webservice which accepts userId and Object parameters and should return the default layout associated with that Object for that particular user.

Its very urgent.

Any help would be greatly appreciated. 
SalesFORCE_enFORCErSalesFORCE_enFORCEr
I don;t think it is possible in apex but using Metadata Api you can access what page layouts are assigned to which profile
https://resources.docs.salesforce.com/sfdc/pdf/api_meta.pdf