Hi everyone
>> I have a table called orders
>> Inside it there is an inline table called items.
>> In the item inline form there is a system action (Add) kindly see it here.
>> The same item inline form is also showing in another table called (Task)
Is there a way to hide the "Add" button action from the item inline form in the task table, so it only appears in orders table.
Thanks
Solved! Go to Solution.
Thank you all very much, I have solved it like so
โบThis is what worked for me after many tries and errorsโ
>> If you want to show the action button to some specific views add this line (make sure to attach _form or _detail at the end of the name) (You can get exact name from view - system generated or at the screen footer).
in(context("View"), list("Seller CA Slice_Detail", "Seller CA Slice_Form"))
>> If you want to show an action to all view but hide certain view do like this
CONTEXT("VIEW") <> "Task CA_Detail"
>> Here I am hiding from detail but you can hide from detail or form or both.
Problem I've encountered: Cause I have a deep link to a specific slice called (Task ca edit), I first created a new view for the slice (Task ca edit) and made it as ref since I did not want it to show in the app navigation or menu. This being said to take note that you can not use below snippet code if you do not make a view for your slice or table you want to control (hiding or showing action button).
in(context("View"), list("Seller CA Slice_Detail", "Seller CA Slice_Form","Task ca edit_Detail","Task ca edit_Form"))
User | Count |
---|---|
17 | |
7 | |
6 | |
5 | |
3 |