-
Notifications
You must be signed in to change notification settings - Fork 2
Description
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)
This is what I get after configuring the PCF:
Can you help me understand what I am doing wrong?

