function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

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?



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.