+ Start a Discussion
TCAdminTCAdmin 

Query and Notes & Attachments

I’m trying to get the IDs of attachments.  I’m using a query call with “Select n.ParentId, n.Id From NoteAndAttachment n” as the call.  It is giving me an error that says query is not available when using Notes & Attachments.  Is there a work around for this type of request?

 

TIA

TCAdminTCAdmin
I figured it out, operator malfunction.  I needed to query the Attachments object and not the NotesAndAttachment object.  This gave me the result I was looking for.