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 months 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 :-
Thank you very much Toshish for this solution example. It has worked for me.
Regards,
Kousik
T
Toshish Chauhan
said
about 2 months ago
Answer
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 :-
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 Newest FirstKousik Das
Thank you very much Toshish for this solution example. It has worked for me.
Regards,
Kousik
Toshish 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
-
Extend a model with new entities or attributes
-
Data types in xDM
-
Effective date on entities
-
Search using wild cards
-
Export a model from production and import on a development environment
-
"Allow Delete" vs "Allow Removal" privileges
-
LOV label in Named Query
-
Select location on a map and save coordinates
-
Is there a way to set up a master-detail relationship on browse mode?
-
Choose Either a Stepper or A Workflow Based on The User Privileges
See all 274 topics