Edit Add a file or picture Printable page Raw Text Page change history More options

HashMap Connector

Just mark the code below and copy (Ctrl-C) -- make sure you mark everything including the MetamergeConfig start and stop tags. Then Paste into your Config. Note that there are a couple of variables at the top of the Config Script: one for naming the Libary Connector that you have set up to read in your file, and the other for name of Attribute that will serve as the single key for this data.

Just create a Script Connector and paste the above JavaScript into the Config area to implement its Connector Interface.

-- EddieHartman - 24 Mar 2006