Visibility of List Actions


The visibility behaviour of Lightning Tools Actions can be controlled by two options:
 

  • Action visibility/Execution context

Possible values:

Current list - action will be visible if no items are selected as well for one or more selected items.

Predefined list actions will be executed only once. [[@SelectedItems]] placeholder is available, that returns an array of selected list items with columns from the current list view. Here is an example of how to use [[@SelectedItems]] placeholder.

Selected single items - action will be visible if only one item is selected

Predefined list actions will be executed for one selected item.

Selected items - action will be visible if one or more items are selected

Predefined list actions will be executed for each selected item separately.


 

  • Visible Expression

The value can be configured with the expression builder.

In order to have access to list columns in the expression builder, Action visibility/Execution context should have values: Selected single item or Selected items.

An example of action configuration where action visibility depends on selected item and Status column value is equal to ‘Completed’:

image_2020_10_09T15_20_54_217Z.png

Note: this action will be visible if the field Status is present on the view and the value is equal to 'Completed'
 


Limitations: 

  • The field placeholder returns a value only if the field is present on the view. Otherwise , the field placeholder will return 'undefined'. It's recommended to have this field on all views.
  • Field placeholders cannot be used inside other placeholders.
  • Asynchronous evaluation is not supported (Promise)

Was this article helpful?

Can’t find what you’re looking for?

Our world-class Customer Success team is here for you.

Contact Support