Create and use a script for a custom Visio mapping

You can use custom scripts to import Microsoft® Visio contents adequately into ARIS.

Prerequisite

You are script administrator for this tenant.

Procedure

  1. Click ARIS > Show Administration Administration.
  2. Click Evaluations > Reports > Visio import in the Navigation bar. The associated script files and XML files are displayed in the detail view on the right.
  3. Select the script user_defined_steps_default.js and click Export Export in the tab bar. The Save dialog opens.
  4. Enter the name you want to export the script with, such as, my_visio_import_steps.js.
  5. Click Save and close the completion message by clicking OK.
  6. Select the entry Visio import in the Navigation.
  7. Click Import Import script in the tab bar. The Save dialog opens.
  8. Navigate to the directory into which you exported the script.
  9. Select the JS data type, select the exported script, and click Open. The script is imported and added to the script list.
  10. Open the script and adapt it. The script is documented comprehensively so that you know which functions perform which actions and which values they return.
  11. Open the properties of the JavaScript report Import Visio VDX files after you adapted the script.
  12. Click the Imported files button on the General page. The Import Visio VDX files - Imported files dialog opens.
  13. Navigate to the entry user_defined_steps_default.js and disable its check box.
  14. Navigate to the entry my_visio_import_steps.js and enable its check box.
  15. Click OK. The Import Visio VDX files - Imported files dialog closes.
  16. Click OK. The properties of the report Import Visio VDX files close.

You have integrated your JavaScript file my_visio_import_steps.js into the report Import Visio VDX files and can now import you Visio drawing types based on your newly created JavaScript file into ARIS.