I have a specific requirement related to hierarchy.
I have created a Hierarchy view for Parent and Child. If a parent has child records, then it is behaving as expected such as if I click on the twisty (> symbol), it is expanding and showing respective child records. But even if a parent doesn't have any child records associated then also, I can see the twisty (> symbol) beside the parent record, if I click on that then it is getting vanished. My requirement is I don't want that expanding symbol (>) to be exist if a parent record does not have any child records associated with it.
Can you please suggest how it can be possible through some customizations.
Regards,
Kousik
Best Answer
T
Toshish Chauhan
said
about 2 years ago
Hello Das,
In parent business view click on child like i have Addresses here then go to Hierarchy Configuration . Here you will see Enable in Hierarchy in this you will add semQL condition -> ANY Addresses HAS (1=1). change addresses to your child entity name.
Here is the result in UI. if parent doesn't have any child then child node will not appears :-
In parent business view click on child like i have Addresses here then go to Hierarchy Configuration . Here you will see Enable in Hierarchy in this you will add semQL condition -> ANY Addresses HAS (1=1). change addresses to your child entity name.
Here is the result in UI. if parent doesn't have any child then child node will not appears :-
1 person likes this
K
Kousik DAS
said
about 2 years ago
Thank you very much Toshish for this solution example. It has worked for me.
Kousik DAS
Hi Team,
I have a specific requirement related to hierarchy.
I have created a Hierarchy view for Parent and Child. If a parent has child records, then it is behaving as expected such as if I click on the twisty (> symbol), it is expanding and showing respective child records. But even if a parent doesn't have any child records associated then also, I can see the twisty (> symbol) beside the parent record, if I click on that then it is getting vanished. My requirement is I don't want that expanding symbol (>) to be exist if a parent record does not have any child records associated with it.
Can you please suggest how it can be possible through some customizations.
Regards,
Kousik
Hello Das,
In parent business view click on child like i have Addresses here then go to Hierarchy Configuration . Here you will see Enable in Hierarchy in this you will add semQL condition -> ANY Addresses HAS (1=1). change addresses to your child entity name.
Here is the result in UI. if parent doesn't have any child then child node will not appears :-
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstToshish Chauhan
Hello Das,
In parent business view click on child like i have Addresses here then go to Hierarchy Configuration . Here you will see Enable in Hierarchy in this you will add semQL condition -> ANY Addresses HAS (1=1). change addresses to your child entity name.
Here is the result in UI. if parent doesn't have any child then child node will not appears :-
1 person likes this
Kousik DAS
Thank you very much Toshish for this solution example. It has worked for me.
Regards,
Kousik
-
LOV label in Named Query
-
How we can set Dynamically changing Form field Description?
-
Is it possible to have a conditional survivorship rule based on a SemQL filter (akin to the filter on privileges)?
-
Where Do I View 2 Merged Records?
-
Show/hide an attribute in a form
-
Restrict access of attributes
-
Is it possible to manage visible/invisible value in List depend on user role??
-
Why am I unable to merge duplicates?
-
How are child records selected when parent records are manually merged?
-
Can the response from the API Call Response can be formatted differently in the JSON output?
See all 178 topics