BABOK® Guide v3 Tutorial: Using Documents
When working with documents in Enterprise Architect you have numerous options, of which we will cover the two most preferred options:
The benefit of the internal Document Artifact is that you can create new Elements that are hyperlinked to text of your document.
The benefits of the OLE Accessible document are:
- Any file type can be used (including spreadsheets)
- For text documents you can drag text onto the diagram and automatically create Elements from this. The Document remains intact and un-altered (it can be updated in Word if preferred).
Using Internal Documents
This covers creating an internal Document Artifact that uses the internal Editor for updating it. From this we will create new glossary entries and create new hyperlinked Elements.
The document formats that you can use are .docx and .rtf.
|
|
Step 1:
|
In an Document Analysis diagram create a new Document Element.
- From the Toolbox select: Artifacts | Document
- Drag this onto the diagram.
|
Step 2:
|
Double-Click on the Document.
In the New Template for Linked Document dialog, click on the Cancel button.
Select in the Ribbon: Document Edit | File | File | Import File
In the File dialog select the document to import
|
Step 3:
|
With access to your document in the internal document editor, you can now start to create Glossary terms and Elements from the text.
|
Step 4:
|
To create a Model Glossary term from the document:
- Block select some text covering your new term
- Select Create | Glossary Definition from the context menu.
In the Glossary Detail dialog add your description text.
|
Step 5:
|
To create an Requirement Element using the text of the document:
- Block select some text covering your new Requirement name.
- Select Create | New | Requirement from the context menu.
|
Step 6:
|
This creates an Element of that name in the Project Browser.
The text used to create this is now a hyperlink to the new Element.
|
Step 7:
|
Now add the definition of the Requirement by selecting the specific text to be added to the Requirement Element:
- Block the text
- Copy it (Ctrl+C)
- Open the Element Properties (double-click on the Element in the Project Browser)
- Paste the text to the Notes.
The new Element can be placed on a diagram or it can be viewed in the Specification Manager.
|
More Information:
|
For more information see:
Linked Documents - Enterprise Architect User Guide
|
Using OLE Documents
The benefit of the OLE Accessible document is that you can drag text onto the diagram and automatically create Elements from this. The Document remains intact and unaltered - it can also be updated via a Word Processor if preferred.
The following steps will guide you through a simple process of importing a document and creating Elements from it in the model.
|
|
Step 1:
|
It is assumed that you have Document Analysis diagram open.
- Open the File Explorer.
- Select the file to be imported.
- Drag this onto the diagram - from the prompt select the Artifact Internal
This will create a Document Artifact Element containing the Document.
|
Step 2:
|
Double-click on the Document Artifact Element to open the external Word Processor.
|
Step 3:
|
To create an Element from the text (for example a Requirement):
- Block some text in the Word Processor
- Drag the text to the diagram
You will be Prompted to select an Element Type.
|
Step 4:
|
Your Requirement Element is now contained in the model.
|