I am trying to query all the attachments on parent object from child record where attachment name contains child record name
Can any one help me on this
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityTry this, SELECT Id, Name FROM Attachment WHERE Parent_Object__c = :ParentrecordId AND Name LIKE '%childrecordname%'