English

How To: Import a project that contains embedded scripts with conflicting names

Procedure

Question:

While importing one project into another project which contains embedded scripts that have the same name as the embedded scripts in the orginal project, ArcView will not overwrite or duplicate the scripts from the newly imported project. Why?

Cause:

Embedded script names are maintained in a Name Dictionary which requires that all scripts be uniquely named. This allows ArcView to import an embedded script
only if the script is uniquely named. Once the script is embedded, the project
file does not recognize that script as being associated with a Script Editor document. When importing a project with embedded scripts that possess the same name as the scripts in the orginal project, the names will conflict.

Answer:

ArcView will honor newly imported scripts that have the same name if the scripts are associated with a GUI control such as a menu, button, or tool.