@servicenow/sdk - v4.7.0
    Preparing search index...

    Function SlushBucketColumn

    • A Column for a slush bucket field. Provides a dual-list selection interface for moving items between available and selected lists.

      Type Parameters

      Parameters

      • config: C & Column<Type, Default> & { script?: string }

        an object that can include all base Column properties

        • script? - script method to populate the slush bucket options (e.g., 'getRoles()')
        • Optionalscript?: string

          Script method to populate the slush bucket options. Example: 'getMethod()' - a server-side script that returns available options

      Returns Typed<Type, C>

      const selectedItems = SlushBucketColumn({
      label: 'Selected Items',
      })

      // Using script method
      const assignedRoles = SlushBucketColumn({
      label: 'Assigned Roles',
      script: 'getRoles()',
      mandatory: true,
      })