Activity Forums Salesforce® Discussions How do I find parent ID for child in Salesforce?

  • How do I find parent ID for child in Salesforce?

  • Mansi Tyagi

    Member
    March 17, 2021 at 3:43 pm

    How do I find parent ID for child in Salesforce?

  • kishan

    Member
    March 19, 2021 at 11:22 am

    You can go to the child object and check. Once you know the field name, you can access it directly. For Contact: Id parentId = myContact .

Viewing 1 - 2 of 2 posts

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos