To use scripts during import
Format and filter imported data with JavaScript during Data Source Configuration.
Click Manage
Content
(Data Sources).
Double click the data source in the Data Sources panel to configure the data.
Click the Scripts tab in the Data Source Configuration dialog box.
Select Edit.
Using JavaScript, enter your changes or add new scripts.
The example below shows a simple script that varies the style for streets, based on their values for the property "Elevation."
Additional tips
To use scripts to simplify processes when working with a model, see To create and run scripts.