Customized add new action or inline form according to table column value

Hi everyone,

I have a problem that need your help.

I need to restrict user to add new row/data from the inline form when the account name is not โ€œTEXTโ€ But allowed users to add new row/ data from the inline add new action when the account name = โ€œTEXTโ€

I thought about it and found some path like using CONTEXT(โ€œviewโ€) to hide the add action but this way it disable the action for all instead based on the value of a column in a table.

Another thought is to disable the inline form when account name is not equal โ€œvalueโ€

Please let me know if anyone has ever solve a similar problem as such

Solved Solved
0 4 337
1 ACCEPTED SOLUTION

Use a Show? expression for the column so that it only shows the inline table if there are rows to be shown:

ISNOTBLANK([Related Transaction Datas])

View solution in original post

4 REPLIES 4

Steve
Platinum 4
Platinum 4

Are there other placesโ€“outside the inline formโ€“where the account with name โ€œTEXTโ€ should be allowed to add rows to the table the inline form covers? If not, you configure the table itself to disallow adds by the account .

Yes there are other places, where โ€œTEXTโ€ should be allowed to add row.
On the other hand when it is not โ€œTEXTโ€ I still need to be able to add data but just not from the inline.

I manage to solve the problem by creating Slice so I have 2 view and use CONTEXT(โ€œviewโ€) to hide the add new action when it is not โ€œTEXTโ€

The only problem now I have even though the view is blank but it is still showing without the add new button.

I know I can hide the inline view when it is empty right? Steve if you can point me to the right solution to hide the view when empty than, this solution can be perfect.

Thanks

Use a Show? expression for the column so that it only shows the inline table if there are rows to be shown:

ISNOTBLANK([Related Transaction Datas])

This works perfectly, I am so happy, been trying to solve this issue the whole day. Thanks a lot Steve.

Top Labels in this Space