1

Requirement:I need to find How many page layouts(Name) for particular Object using SOQL query or any other method,because I have 500 objects so i cannot check manually.Please suggest How can i achieve this. Please response ASAP as its urgent Requirement.

3

2 Answers 2

3

We cannot get layout associated with sObject through SOQL. One has already given an idea to include it in salesforce. You can find it in salesforce community :- Link

Hope this will come soon.

2

You can use Layout Tooling API :

SELECT TableEnumOrId, count(Id)
FROM Layout
WHERE ManageableState='unmanaged'
group by TableEnumOrId

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .