Skip to main content

New answers tagged

0 votes

See what objects ContentDocument is linked to and get the count per objects

You can try this (may get Timed out if you have huge data) SELECT COUNT(Id), LinkedEntity.Type FROM ContentDocumentLink WHERE ContentDocumentId IN (SELECT Id FROM ContentDocument ) GROUP BY ...
Sharath Jallu's user avatar

Top 50 recent answers are included