Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ElevenSGML Functions (continued)

XBRLGetFactsByContext Function

Overview

The XBRLGetFactsByContext function returns a table of facts as filtered by specified by context ID.

Syntax/Parameters

Syntax

string[][] = XBRLGetFactsByContext ( handle hXM, string context );

Parameters

hXM

A handle to an XBRL Object containing instance data.

context

 A string specifying a context ID match string. The string can contain wildcard characters. 

Return Value

Returns a string table of fact properties or an empty array on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

Each matching item is placed in the resulting table as a row with named columns for each fact. The column employs the key names specified at Section 11.20.9 Instance — Facts.

If there are no matching items, an empty array is returned.

Related Functions

Platform Support

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

Legato IDE, Legato Basic