How to remove add button of child table based on column in parent table

Hi all, I wanted to know how to remove the add button in the child table when a column in the parent table (Y/N) is marked as TRUE, So far nothing has worked for me, even trying expressions in the child table's system generated add button's behavior conditions - how do I get this to work, essentially what is required is when the column in the parent table is marked TRUE that record and the related child record should become read-only and should not allow adds/edits/deletes to the child table with the parents ID.

Thilina_Wick_0-1646793317420.png

Remove this add button - inline

Any help will be hugely appreciated, Thanks in advanced

0 3 107
3 REPLIES 3

Hi @Marc_Dillon I have tried some of the solutions in the search you have sent and non of them worked for me - after deleting the system created inline UX and creating 2 of my own - both with slices one adds enabled other read-only I still can add records to the one with the read only slice, very weird. Screenshots attached below,

Thilina_Wick_0-1646795603948.png

 

Thilina_Wick_1-1646795709420.png

 

Thilina_Wick_2-1646795750627.png

 

Thilina_Wick_3-1646795799862.png

 

Thilina_Wick_4-1646795815701.png

 

Thilina_Wick_5-1646795846008.png

Please any additional instructions would be helpful

The Add button created by the System is 

TeeSee1_0-1646794931109.png

meaning, you cannot control its behavior based on a particular row value.

If you want to control adding a child row behavior, disable the system generated button and create an action of your own attached to your parent table like this, which you can control based on your parent's row values.

TeeSee1_1-1646795132382.png

 

Top Labels in this Space