Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.02 KB

File metadata and controls

33 lines (21 loc) · 1.02 KB

Convert Header To List

Convert Header To List

Overview

Gets datatable headers as a list. Extracts all column header names from the table schema and returns them as a list of strings.

Parameters

1. inputTable (VARIABLE)

  • Label: Base table
  • Description: Table whose header is to be saved as list.
  • Required: Yes
  • Default: None
  • Constraints: Variable type: Table

2. isStrip (BOOLEAN)

  • Label: Trim leading and trailing whitespace
  • Description: Controls whether to remove leading and trailing whitespace from header names. When false (default): Keeps whitespace as-is (e.g., ' Name ' remains ' Name '). When true: Removes whitespace (e.g., ' Name ' → 'Name').
  • Required: Yes
  • Default: false
  • Constraints: None

Output

Returns a LIST containing the selected table headers as a list of strings.

Exceptions

Throws BotCommandException on invalid input or internal failure.