Skip to content

PCF Tree Component configuration #863

@walcivar

Description

@walcivar

Hi @joshcampbell191, @GabrielFG, @StephBrouil, @pierluc-ssoucy, @JonathanThomassin, @OPCSheldon

I don't know how to configure the Tree Component PCF in the form. The documentation is not the best to understand the configuration, could you help me to understand at least what I have to put in the required parameters please?

Let me give a little bit of my context:

Principal entity: Lead (lead)
Related Entity: Customer Classification (dp_customer_classification). This is a custom entity.
Relationship between these two entities: Many to many (dp_lead_dp_customer_classification)

The Customer Classification entity has a lookup field that aims to the same entity to set up the parent-child relationship. (dp_parent_classification)

The PCF currently has this configuration:
Tree Entity Collection Name: dp_customer_classifications (plural name of the custom entity)
Tree parent attribute: dp_parent_classification (name of the lookup field in the custom entity)
Tree Name attribute: dp_name (name field of the custom entity)
Tree Id attribute: dp_customer_classificationid (Guid field of the custom entity)
Relationship Name: dp_lead_dp_customer_classification (name of the relationship)
Relationship Entity: dp_lead_dp_customer_classification (its the same name of the relationship)

PCFConfig

This is what I get after configuring the PCF:

PCFResult

Can you help me understand what I am doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions