Provides access to platform metadata.
Metadata will only be fully populated when connecting into a >=R9 gateway.
By default the contents dictionaries will not be downloaded, this has to be enabled by setting isDictionaryDownloadEnabled to true in connect parameters. Setting this will download all dictionaries by default or this can be restricted by setting dictionaryDownloadList in connect parameters to string containing a comma separated list of ids for the dictionaries to download.
When connecting to a gateway version R8 or lower only the field maps will be populated for dictionaries present at the time of login.
getDataSourceName(dataSourceId: number): string
Get a data source name from id.
dataSourceId: number
the id of the data sourcestring
getSymbologyName(symbologyId: number): string
Get a symbology name from id.
symbologyId: number
the id of the symbologystring
getDictionaryName(dictionaryId: number): string
Get a dictionary name from id.
dictionaryId: number
the id of the dictionarystring
getDataSourceId(dataSourceName: string): number
Get a data source id from a name.
dataSourceName: string
the name of the data sourcenumber
getSymbologyId(symbologyName: string): number
Get a symbology id from a name.
symbologyName: string
the name of the symbologynumber
getDictionaryId(dictionaryName: string): number
Get a dictionary id from a name.
dictionaryName: string
the name of the dictionarynumber
getDataSourceDictionary(dataSourceId: number): Dictionary
Get the dictionary for a data source.
dataSourceId: number
the id of the data sourceDictionary
readonly dataSourceMap: Map<number, DataSource>
A map from data source id to data source information
readonly symbologyMap: Map<number, Symbology>
A map from symbology id to symbology information
readonly dictionaryMap: Map<number, Dictionary>
A map from dictionary id to dictionary