Renders an image generated from an Enterprise Architect diagram, transcluded from a server.
Renders an image generated from an Enterprise Architect diagram, transcluded from a server.
The space property url-ea
defines the location of images exported from an Enterprise Architect model (EAP file). Once this space property is defined, the generated image can be referenced easily by copying the GUID of the desired diagram to the EA ID of this macro. The macro then generates the image tag to transclude the image.
Properties
System Identifier
Identifies the connection information via Confluence shortcuts or space properties.
The system identifier is checked at three locations
The search for the system connection information is conducted as follows. Use the URI discovered first to connect to the server.
- Check for a space property
url-ea
- Check for a space property
ea
Only available with projectdoc Toolbox version 1.11 and up! - Check for a space property
shortcut-id-ea
.
Lookup the connection information from the shortcut links with the value retrieved from the space property. - Check the shortcut links for a value
ea
. - Check application navigator for a value
ea
.
If no value is specified at any of the locations above, the macro renders an error message like this:
In this example for a system macro the referenced, but undefined system, is called test-repo
.
EA ID
The identifier of the Enterprise Architect diagram to transclude.
Copy the identifier for the diagram to transclude directly from your application:
Title
The title attribute to the image.
Alt
The alt attribute to the image to show if user decides to not show images.
Width
Scales the image to this width.
Border
Render border around the image.
Details
Autoconvert
To create the macro authors may simply paste the URI to a diagram image to the editor.
All is needed is a configuration of the image repository base URI. For more information on this topic, please refer to Autoconvert Information System URIs.