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): stringGet a data source name from id.
dataSourceId: numberthe id of the data sourcestringgetSymbologyName(symbologyId: number): stringGet a symbology name from id.
symbologyId: numberthe id of the symbologystringgetDictionaryName(dictionaryId: number): stringGet a dictionary name from id.
dictionaryId: numberthe id of the dictionarystringgetDataSourceId(dataSourceName: string): numberGet a data source id from a name.
dataSourceName: stringthe name of the data sourcenumbergetSymbologyId(symbologyName: string): numberGet a symbology id from a name.
symbologyName: stringthe name of the symbologynumbergetDictionaryId(dictionaryName: string): numberGet a dictionary id from a name.
dictionaryName: stringthe name of the dictionarynumbergetDataSourceDictionary(dataSourceId: number): DictionaryGet the dictionary for a data source.
dataSourceId: numberthe id of the data sourceDictionaryreadonly 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