I try to find the object for the Note related list on Account (NOT the notes and attachments list!). We have input in Notes, but when I query on the standard object Note no data is shown. Where can I access Notes programmatically?


You can find those records in ContentNote object. So you will have to do a SOQL on ContentNote and the link between ContentNote and any related record is stored in the ContentDocumentLink

You can go through the schema of ContentNote Objects for further help on this topic.

enter image description here

| improve this answer | |
  • I have inserted a test Note and queried on "ContentNotification" (ContentNote is not available) and I do not get any results. – user40501 Jul 19 '19 at 4:39
  • What is the error you are getting when querying on ContentNote ? – Vijay Ganji Jul 19 '19 at 4:45
  • No, it did not return any records. – user40501 Jul 19 '19 at 4:48
  • The record does show in the object "Notes" though, but also the query on the standard object Note gives no result. – user40501 Jul 19 '19 at 4:49
  • I do not even see Note as an object in the Object Manager. – user40501 Jul 19 '19 at 4:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.