@Asaf_Weis Hi Asaf, right now it is not possible to disable the add button in an inline ref view if the source table of this inline view allows adds. However, there’s a work around. Instead of hooking the reverse ref column to the original table, you can hook it to a slice of this table instead. If the slice does not allow adds, the inline ref view also not allow add, and the add button will be disabled.
To do this, first create a slice of the table being referenced. Set the permission of the slice to not allow adds.
Next, open the column definition of the reverse ref column. The app formula of the column should look like this:
REF_ROWS(“Name of referenced table”, “Name of this table”)
Change this formula to the following:
REF_ROWS(“Name of the slice”, “Name of this table”)
Also in the column definition, the first entry in the ElementTypeQualifier of the column should look like this:
“ReferencedTableName”: “Name of referenced table”
In this entry, replace the name of the referenced table with the name of the slice as follows:
“ReferencedTableName”: “Name of the slice”
Make sure you do not change anything else in the ElementTypeQualifier of the column.
Finally, save your changes.