You are here:
Edit and Access Rights
The call attribute in permission bindings for buttons and tabs determines the editability or visibility of the menu item or tab.
Required Editions
| Available in: Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled. |
For buttons (directly visible menu items) and tabs, the permission bindings, Editable and Visible, have a call attribute. The call attribute calls a method that determines the editability or visibility of the menu item or tab. A parameter is optional. The method returns a boolean value.
For a context menu, the permission bindings Editable and Visible have a binding attribute that’s based on a property of the type DomBool from the data source of the context menu. You can manipulate the value of these bindings in the load method for the data source.
| Name | Description | Values | Required? |
|---|---|---|---|
| Visibility Type | Defines the visibility permission for the UI element | Binding, Call, and None | No |
| Visibility Binding | Defines the binding value for the UI element | String | Yes, if Visibility Type=Binding |
| Visibility Call | Defines the call method for the visibility of the UI element | String | Yes, if Visibility Type=Call |
| Visibility Parameters | Defines the parameters for the call method | String (multiline) | Optional |
| Editability Type | Defines the editability permission for the UI element | Binding, Call, and None | No |
| Editability Binding | Defines the binding value for the UI element that is a simple property of the type DomBool from the data source of the context menu | String | Yes, if Editability Type=Binding |
| Editability Call | Defines the call method for the editability of the UI element | String | Yes, if Editability Type=Call |
| Editability Parameters | Defines the parameters for the call method | String (multiline) | Optional |
Did this article solve your issue?
Let us know so we can improve!

