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! Go to 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])
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.
User | Count |
---|---|
15 | |
14 | |
8 | |
7 | |
4 |