Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter Twenty-threeXBRL Functions (continued)

XBRLLibraryBrowse Function

Overview

The XBRLLibraryBrowse function opens the XBRL Element Library dialog and allows for selection of an XBRL element.

Syntax/Parameters

Syntax

string = XBRLLibraryBrowse ( string taxonomy, [string substitution],
                        [string label], [string element] );

Parameters

taxonomy

A string containing a well known case-sensitive taxonomy name..

substitution

An optional string containing filtering a substitution group as: “Item,” “Dimension”, “Hypercube”, or “Tuple”. If omitted or blank, all concepts will be added without regard to the substitution group.

label

An optional string containing all or a fragment of label text to search for. This is placed in the search area of the dialog..

element

An optional string containing an element or element fragment.

Return Value

A string as the selected element (QName) or an empty string on failure. Use the GetLastError function to retrieve a formatted error code.

Note that if the user presses the Cancel button, an IDCANCAL will be in the last error buffer.

Remarks

This function allows for the same user interface that in used in XDX and XBRL View to search for and select elements.

Related Functions

Platform Support

GoFiler Complete, GoFiler Corporate, GoXBRL