User Guide > Designing and Executing Map > Configuring Map > Using Script Library Files
Was this helpful?
Using Script Library Files
Script libraries contain user-defined functions that can be called during a map transformation. For example, calling a Validate Zip function to check zip codes as the data is read to verify that it is a properly formed zip code. Script libraries are created using the EZscript Editor. You can define the scripts that the map must use in this section of the Configuration tab.
Note:  Script libraries (in version 9) were called Code Modules and had a .rifl extension. They are now called EZscript libraries.
Adding EZscript Library File
To add a EZscript library file:
1. In the map file, go to the Configuration tab > EZscript Library section.
2. Click /download/attachments/24975464/Map_Source_Add_Icon.png?version=1&modificationDate=1487964370325&api=v2 and navigate to the script library containing the user-defined functions that you want to use in your map.
The file name and the path is displayed in the EZscript Library section.
Removing EZscript Library File
To remove the EZscript Library file from a map:
1. In the map file, go to the Configuration tab > EZscript Library section.
2. Click the file that you want to remove and then click /download/attachments/24975464/Map_Source_Delete_Icon.png?version=1&modificationDate=1487964370309&api=v2.
A message asking for confirmation is displayed.
3. Click Yes.
The selected EZscript file is removed from the EZscript Library section.
Last modified date: 02/09/2024