Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

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