Open walcivar opened 2 years ago
@walcivar did you get the tree component to work? It looks cool, but I am not able to get it to work.
Tagging a few others who have created similar issues, @JeroenHensmans, @simplesi
@Niels-SL No, I gave up trying. But here is another PCF that displays JSON information as a tree view. The difference of this one is that it doesn't have the select node or the search function.
Too bad. Thanks for the link to your JsonTreeViewer.
There are also some other options on pcf.gallery such as the Tree Relatsionships. However, I really liked the search functionality of this one.
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?