Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter Twenty-threeXBRL Functions (continued)

XBRLViewGetElementsByContext Function

Overview

The XBRLViewGetElementsByContext function retrieves all the elements associated with a specific context.

Syntax/Parameters

Syntax

string[] = XBRLViewGetElementsByContext ( handle hXBRL, string context );

Parameters

hXBRL

A handle containing the reference to an XBRL Object.

context

A string specifying the context ID to retrieve elements.

Return Value

A string array containing the element names for the XBRL Object for the specified context. On error, the array will be empty. Use the GetLastError function to determine the nature of the error.

Remarks

Array elements are in no particular order but will match the order of the facts enumerated by context.

Related Functions

Platform Support

GoFiler Complete, GoFiler Corporate, GoXBRL