Posts

Showing posts with the label notes

Salesforce Fact #821 | Accounts and related notes

Suppose we need to find out the related notes for the account records. We can use the below query: SELECT Id, Name, (SELECT Id, ContentDocumentId FROM ContentDocumentLinks WHERE ContentDocument.FileType='SNOTE') FROM Account Note: Note records are stored with filetype as 'SNOTE'