Change and/or Test external File and Web References

You can reference to external information within EA, by defining external references to files or web resources. When moving the external referenced resources for example when delivering from project to production all references in the model have to be changed. There is no option to do this with one click or by setting a new virtual path except for generated code in EA. This script helps with this task and also can check if the reference exists.

Referencing to external web resources and/or files is a nice feature. It enables to retrieve external information within the context of the model in EA without leaving EA or navigating through directories etc.

But when a transition from project to production happens there is a possibility that all referenced files and/or web resources also have to be moved. There is no option to do a search and replace in EA on all external references to change the references. This script will help to perform the job.

The script offers a couple of features

  • Change the paths of external references to files
  • Change the paths of external references to websites
  • Change the hyperlinks on diagrams referencing to a file or web resource
  • Test if the current reference and the new reference exists
  • Enable to perform a test run without changing the references. This way only existence can be tested

To steps to use the script are

Extract the zip file
Import the text file in to a script in EA
Change the options within the script which are listed in the upper part of the script
Select an element or a package in the model
Execute the script
The script will check and/or change the references recursively for the selected element/package

This article contains content available for registered members only. You need to be logged in to view/download this content.

About the Author

Patrick Devick

Patrick Devick

Info Support (Consultant)
Software Consultant specializing in business and systems analysis with previous development experience in IT. I am currently working for Info Support as a Requirements Manager, Coach and Information Analyst. I have expertise with Requirements, OOAD, UML, BPMN and Archimate.