Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6j

Application v 6.5c

  

 

Chapter ElevenSGML Functions (continued)

xBRL-CSV

XBRLGetTemplateCount Function

Overview

The XBRLGetTemplateCount function returns the number of tables templates within the specified instance.

Syntax/Parameters

Syntax

int = XBRLGetTemplateCount ( handle hXM );

Parameters

hXM

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

Return Value

Returns an int as the count of the number of table templates loaded or a formatted error code on failure. Use the GetLastError function to retrieve a formatted error code and the GetLastErrorMessage function to retrieve additional error information.

Remarks

The count can also be ascertained by enumerating the identifiers and getting the size of the array.

Related Functions

Platform Support

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

Page revised 2026-07-20