Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6c

Application v 6.1a

  

 

Chapter ElevenSGML Functions (continued)

XBRLGetConceptByID Function

Overview

The XBRLGetConceptByID function returns a concept by ID.

Syntax/Parameters

Syntax

string[] = XBRLGetConcept ( handle hXM, string id );

Parameters

hXM

A handle to an XBRL Object containing taxonomy data..

id

A string containing a concept ID. The value is case-sensitive.

Return Value

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

On success, the last error will context the position of the concept in the concept table.

Remarks

Generally, each concept in the concept table will contain a unique ID which can be used to identify the concept. This function can be used to locate a concept using that ID. However, since the concept table can be build from multiple taxonomies and source files, it is possible that entries may share the same ID. (this is bad practice but it does happen). The XBRLGetConceptByHREF uses both the ID and a corresponding URL/URI to match the record.

The list employs the key names specified at Section 11.20.14 Taxonomy — Concepts.

Related Functions

Platform Support

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

Legato IDE, Legato Basic

Page revised 2025-06-16