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?
1 Answer
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.
-
I have inserted a test Note and queried on "ContentNotification" (ContentNote is not available) and I do not get any results. Jul 19, 2019 at 4:39
-
-
-
The record does show in the object "Notes" though, but also the query on the standard object Note gives no result. Jul 19, 2019 at 4:49
-
I do not even see Note as an object in the Object Manager. Jul 19, 2019 at 4:50