0

I enabled Notes and added the related list to Opportunities. I created a note on my Opportunity and see the note on the Opportunity. I cannot find where this actually gets stored at. I ran a subquery on Opportunity for Tasks, Notes, Attachments. None of these contain the Note that I just created. Where can I find this Note?

  • run for(Schema.ChildRelationship cr : Opportunity.SObjectType.getDescribe().getChildRelationships()){ System.debug(cr.getChildSObject() + '.' + cr.getField() + ' reversed is: ' + cr.getRelationshipName()); } in dev console and check all the child object name and try to find your – Ratan Paul Apr 1 '16 at 17:25
  • 1
    @sfdceweb Actually Right as you put that in, I found it. Seems like it's 'AttachedContentNotes' is the related list. – dphil Apr 1 '16 at 17:26
  • 1
    dphil... Then you can give answer to your own question. – Ratan Paul Apr 1 '16 at 17:28
0

I managed to find it using the Schema in Eclipse.

AttachedContentNotes is the related list item.

| improve this answer | |

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.