You need to sign in to do that
Don't have an account?
How do you use AttachedContentNote to get related Notes
Hi,
I'm trying to retrieve an Account's related Notes, and I came across AttachedContentNote (https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_attachedcontentnote.htm). In the doc at the bottom, it gives some usage instructions:
A few questions:
I'm trying to retrieve an Account's related Notes, and I came across AttachedContentNote (https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_attachedcontentnote.htm). In the doc at the bottom, it gives some usage instructions:
Usage
Use this object to list all ContentNote objects attached to an object.
To retrieve ContentNote objects, issue a describe call on an object, which returns a query result for each note created or attached. You can’t directly query this object.
Use this object to list all ContentNote objects attached to an object.
To retrieve ContentNote objects, issue a describe call on an object, which returns a query result for each note created or attached. You can’t directly query this object.
A few questions:
- How do you "issue a describe call on an object, which returns a query result for each note created or attached"?
- How do you use the "describeSObjects()" to help in getting related records?
- Does anyone have an example of how to get related Notes via SOQL? Is CombinedAttachments the only way to go?
All Answers