Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter Twenty-threeXBRL Functions (continued)

XBRLViewGetPresentationProperties Function

Overview

The XBRLViewGetPresentationProperties function returns certain properties for the overall presentation.

Syntax/Parameters

Syntax

string [] = XBRLViewGetPresentationProperties ( handle hXBRL, int position );

Parameters

hXBRL

A handle containing the reference to an XBRL object.

position

An int specifying the zero-based presentation index within the XBRL data set. Note that this value is the position in the XBRL Object which can include pseudo presentations.

Return Value

A string array containing the presentation properties or an empty array on error. Use the GetLastError function to retrieve a formatted error code.

Remarks

The key values are defined as follows:

  Key Name   Description  
  Name   Name of presentation.  
  RootElement   Root element of presentation.  
  TableElement   Table element for presentation. If blank, the default is used on export.  
  LineItemElement   Line Item (top abstract) element for presentation. If blank, the default is used on export.  
  DimensionElement-nnn   Dimension element for presentation, if applicable. Elements are numbered from 001 to 010. Empty elements are not added to the result.  
  DomainElement-nnn   Domain element for presentation, if applicable. Elements are numbered from 001 to 010. Empty elements are not added to the result.  
  RoleURI   Unique presentation role URI, if specified.  

 

Related Functions

Platform Support

GoFiler Complete, GoFiler Corporate, GoXBRL