IsVisibleFor0Entries | |||||
By default false, IsVisibleFor0Entries behaves as the IsVisible parameter when no item is selected.
The IsVisible parameter is then applied only if IsVisibleFor0Entries evaluates to true. You can prevent the IsVisible parameter to be applied by adding a exclamation mark ! at the beginning of IsVisibleFor0Entries. Example: IsVisible = uppercase(get('Table')) == 'MYDIGASYSTEM\\MYTABLE111') and get('hasAudio') IsVisibleFor0Entries = !uppercase(get('Table')) == 'MYDIGASYSTEM\\MYTABLE111') Your menu item will be visible if your selection belongs to table 'MYDIGASYSTEM\\MYTABLE111' and has a main audio medium. If you have an empty selection, your menu item will be visible only if your selection belongs to table 'MYDIGASYSTEM\\MYTABLE111', and not if it has a main audio medium. Use the same operators as IsVisible, with the difference that: - get(x) to access a property x in a given context (not for an item as none is selected). At the moment, the only available property in CM is get('Table') for the currently selected table Use cases: - If showing PluginCmBbMte plugin while selecting nothing, you can set IsVisibleFor0Entries to TRUE - If showing PluginCmCae plugin only for a given table, you can set IsVisibleFor0Entries to uppercase(get('Table')) == 'MYDIGASYSTEM\\MYTABLE') |
|||||
|