Look up to Child

Hi, 

 

This is a bit Urgent. If someone can help me soon it would be great. Thank you.

 

 

I have a Flat List as below with Property A. 

In a module I have checkbox 1 which is User input. Checkbox 2 should be checked if Checkbox is TRUE for parent item as below. If list item with property 'Parent' is checked , all the child items must be checked.

 

 

Please note- This is a Flat list not composite hierarchy.

 

Rajasekhar_0-1596133343147.png

 

Regards,

Rajasekhar

Tagged:

Answers

  • @Rajasekhar ,

     

    There can be simpler solution, but following works at least with this kind of short flat list. 

     

    There is one technical module (Property A module) in addition to main module (Fruits module). Property  A module tells what is the descendant of each flat list member. Downside of this solution is that this additional module has to be maintained. But if your flat list is stabile, it is one time task. 

    JussiLi_0-1596136285298.png

    JussiLi_1-1596136344763.png

     

    Blueprints: 

    JussiLi_2-1596136389145.png

    JussiLi_3-1596136418553.png

     

    List 'Property A' is used in both above modules. 

    JussiLi_4-1596136665126.png

     

     

     

  • I modified Fruit module a bit. It's probably more logical this way. 

    JussiLi_0-1596137338313.png

    JussiLi_1-1596137357661.png

     

  • Thank you,

     

    May I please know what is the updated formulas or blueprint for property A module.

    It uses Checkbox 1 selected, which is no longer in fruits module.

     

    Please can you send Blueprint of Property A module.

     

     

  • Thank you. Got the working, But wanted if parent is selected even child 1, child 2,..all the descendants should be selected.

     

    Not just Child 1, as mentioned in my last screenshot.

     

    Regards,

    Rajasekhar.

  • Sorry, I somehow missed that part. 

     

    I modified the logic a bit. Now when user selects parent, all its descendants are selected. Also if user selects one of the Child_2 members, only that particular member is selected, not all Child_2 members. If all Child_2 members should be selected, formula can changed for it.

    JussiLi_0-1596176646920.pngJussiLi_4-1596176920719.png

    JussiLi_1-1596176673732.png

     

    JussiLi_2-1596176698737.pngJussiLi_3-1596176717995.png

     

    Regards,

    JussiLi

  • Thank you so much for this solution. Really appreciate your effort and help.

     

    Regards,

    Rajasekhar