adhocEnabled

Determines whether Dashboard users can add new selection fields to the Selection Container.

Type

Boolean

true: allow users to add new selections
false: prevent users from adding selections

Example

CurrentSelection1.adhocEnabled = false;

Either syntax below can be used in component script:

adhocEnabled                       // unqualified
CurrentSelection1.adhocEnabled     // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.