Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6j

Application v 6.5c

  

 

Chapter ElevenSGML Functions (continued)

xBRL-CSV

XBRLEnumerateColumns Function

Overview

The XBRLEnumerateColumns function returns a list of all table column unique identifiers within the specified xBRL-CSV instance for a specified table template.

Syntax/Parameters

Syntax

string[] = XBRLEnumerateColumns ( handle hXM, string t_id | int t_index );

Parameters

hXM

A handle to an XBRL Model Object containing xBRL-CSV instance data.

t_id

A string specifying the table template identifier. Or,

t_index

A zero based int value specifying the table template position in the table template list.

Return Value

Returns a string list containing the column identifiers as specified within the associated JSON meta data or an empty array on failure. Use the GetLastError function to retrieve a formatted error code and the GetLastErrorMessage function to retrieve additional error information.

Remarks

The returned strings match the name key name for a table template record from either XBRLGetColumn or XBRLGetColumns functions

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Page revised 2026-07-20