0

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
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.

1

You can use Layout Tooling API :

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.