NetXMS Support Forum

English Support => General Support => Topic started by: Lukas on January 23, 2013, 05:36:29 AM

Title: Mapping tables
Post by: Lukas on January 23, 2013, 05:36:29 AM
Hi,

NetXMS 1.2.5 has a new feature called "mapping tables". It is accessible via toolbar, several mapping tables can be created, each can contain key value pairs.
I wonder, what it can be useful for?

Best Regards,
Lukas
Title: Re: Mapping tables
Post by: macro on January 23, 2013, 11:15:59 AM
This is useful in scripts. If you want to map say country codes to country names or translate some obscure ids to more sensible text representations etc. There is a new NXSL function map(table, key) which returns the value which corresponds to "key". "table" is a name of mapping table.