• #26695
    Salesforce | Rahul Rahul #63
    Forcetalks

    What is a Self-Relationship in Salesforce?

    Hi,

    What is a Self-Relationship in Salesforce and where we can use it?

     

    #26697
    Salesforce | Archit Archit #31
    Forcetalks

    Hello Rahul,

    A Self-Relationship is a lookup relationship to the same object.

    For example :  we have a field on Account which is Parent Account that allows us to choose any account for being a parent account of an existing one.

    Thanks!

    #26699
    Salesforce | PRANAV PRANAV #14
    Forcetalks

    Hi Rahul,

    Self-relationship:
    When an object has a lookup with itself, it is a self-relationship. A self relationship creates a tree diagram of the objects. For example, the account has a lookup on himself, called Parent Account.
    On the user object a special self-relationship called the hierarchical relationship helps create superior roles such as supervisor, manager on user object. The hierarchical relationship is a self-relationship of the user object.

    Hope this helps you.

    #34614
    Salesforce | shariq shariq #1
    Forcetalks

    Hi,

    Self relationship – by the name mean relation with oneself, means creating lookup of sobject within same sobject.

    Lot of business scenarios required this type of relationship.

    Hope this helps.

    #34681
    Salesforce | Parul Parul #2
    Forcetalks

    Self Relationships:
    You can create a relationship from an object to itself, but it must be a lookup relationship, and a single record can’t be linked to itself. However, a record can indirectly relate to itself.

    Thanks,

    #41447
    Forcetalks

    Hello,

    Self-relationship:
    When an object has a lookup with itself, it is a self-relationship. A self-relationship creates a tree diagram of the objects. For example, the account has a lookup on himself, called Parent Account.
    On the user object, a special self-relationship called the hierarchical relationship helps to create superior roles such as supervisor, the manager on the user object. The hierarchical relationship is a self-relationship of the user object.

    Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2018 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?