Linking items in Sparx Enterprise Architect Glossary - enterprise-architect

I'm looking for a way to link several items with each other in the Sparx Enterprise Architect Glossary. Is this a possibility?
Example
Term
Definition
Links to
Fact
Something that happend
Follow-upRegistration
Follow-up
Action following a fact
Result
Registration
Writing the fact down
-
Result
The effect of the follow-up
-
I'm looking for a way to register the third column making it easier to have a traceability within the glossary.

You can't do that with the standard glossary, but you can with the new glossary modes (since v15)
See the manual for more info.
This new method allows you to create elements for glossary items. And since they are elements, you can link them to other elements.
You can even use the classes of your existing data model. Just add them to a glossary diagram, and they are included in the glossary.

Related

Enterprise Architect composite diagram link not displayed with ArchiMate

We use elements with composite diagrams in our models. Usually if such a composite diagram exists, then the element shows a link icon to indicate a double click will open/show the diagram.
But with ArchiMate elements the link icon is not shown unless using the rectangle notation. Is there some workarround or configuration to allways show the icon?
This screenshot illustrates the problem:
Out of the box, there is nothing you can do. There is no setting or configuration that will show the composite diagram indicator on the Archimate elements.
The reason is that the shapescript used for these elements simply doesn't include this indicator.
There are a few options to get this done anyway
1 Send a feature request to Sparx
You can use this link: https://www.sparxsystems.com/support/forms/feature_request.html to send an official feature request to Sparx Systems. They might one day implement this, but there are no guarantees at all.
2 Override the standard the ArchiMate MDG
Steps include
Create your own stereotypes in a profile, redefining the existing ArchiMate stereotypes. See the manual for more details
Include your profile into an MDG
Add your MDG to your model or environment
Set your MDG to Active to actually make the redefines happen.
This might be interesting if you want to add additional properties (tagged values) to the standard ArchiMate stereotypes as well. I'm not so sure if it's worth the trouble just to add the composite indicator.
3 Hack the existing Archimate MDG file
The Archimate MDG is defined in the file C:\Program Files (x86)\Sparx Systems\EA\MDGTechnologies\ArchiMate3.xml. This is an XML file that you can open with any text editor. The shapescripts are included in binary form like this
<Image type="EAShapeScript 1.0" xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="bin.base64">
UEsDBBQAAAAIAGaEbU+CvMH4PQIAADAKAAAHABEAc3RyLmRhdFVUDQAH1zDMXdcwzF3XMMxd
zVVJTsNAEOyrkfhDFC6OlAP7IsSRF/AAlMSJY5FNjgMKiL9T1Z3B9tiJAxKLLI9nqamumV68
lLH0ZCFDackUvURmcigH8qZtIBPMrWUuK8nwrBV5J23pYy6VCKMUo9sNeobZpTJG6L0AmWF9
BZRDWJvISELFLcGYAkveVC2E4EsxGmDUA2MMDUNl5jjD3jlGbeniPcbbwWOsTnOgukbgTuQV
vVDO5AL4K+A7n0oCrJORVhfKPAayuD6E5Qk4FkCS5RT7u/pea3vm8VFltIVrBB6y8USRWuap
n7CnHj/F6jNWM3xDqK+zR20zD+OfsYw5UQzbMqrO2m6mm72YzB75mpjKmPfNlx7g3Tf51zh8
xdUoChWXK687AWOXHlohxi2WGZuMSnqKa1QfbyKQkbjf7hn6U/Rt30AYLZlY/hQZ3Dff3fIs
O0R+H4FmEe+EfOxF2D0EPsY3Qx4ydnMb7n7rrTmldXbG8ohVejAGjpWgfJLcRqA1YgIl1Srg
FPM8md7O0afVI+8+nFb7Wsu3qJh51RdGC1ec3u32GVOMPiqIVQU1LFGx6B2LEafBdvx0xdrv
Nvw7YB4M9By5nRb6VMLZ4m3Yac1XOZoeZC7mnvuN8zbl91crMyuj+Y01oCvnXk7vqszfq8W+
hf9fi+3vtbsW23+trhY3xRxnprg//v8TYTUgtjn2HuS+EHt/G3VN1hPMV89pFl2FKdotV04/
Zl0UufbS80x1BxEO7f5f1V1lr1tm+F73/W5Z46PqKu8HUEsBAhcLFAAAAAgAZoRtT4K8wfg9
AgAAMAoAAAcACQAAAAAAAAAAAACAAAAAAHN0ci5kYXRVVAUAB9cwzF1QSwUGAAAAAAEAAQA+
AAAAcwIAAAAA
</Image>
If you replace that section with a shapescript of your own, it will happily accept that. You can create this format by creating your own profile in EA and then exporting the package as a UML profile. EA will then convert your shapescript into this binary format.
I one published the shapescript for most of the MDG's, including ArchiMate3 on github. That might give you a head start when developing your own.

Is it possible to show all inherited attributes and associations in Enterprise Architect?

I have a complex data model and want to quickly show all inherited attributes and associations of a feature.
One possibility according to the EA-documentation would be to use Elements->Feature visibility (Ctrl+tab+y), but the option is unfortunately greyed out in the model. I guess this is a specific model setting or a limitation of the used EA-Version (Prof. Edition).
What (other) kind of possibilities do I have in Enterprise Architect Professional Edition to show inherited attributs and associations of a feature?
edit:
Below is a a screenshot of the greyed-out Feature Visibility, as requested in the comments. The model is the german street/traffic OKSTRA-model 2.017(EAP-file downloadable under www.okstra.de).
OP had his diagram locked, preventing appearance modifications such as showing attributes

Adding quick parts to a XWPFParagraph in POI

I am generating Word files from a Word template (dotx) with the POI framework.
Works nice, but now I am searching for a possibility to use the functionality of adding predefined Building blocks (Quick parts) to a paragraph. Is there a possibility to add - like adding a style - building blocks to paragraphs with POI? thanks in advance!
That functionality does not currently exist. If you would like to develop such a functionality, and contribute it, create a bug and a patch in the POI bugzilla. https://bz.apache.org/bugzilla/buglist.cgi?list_id=158517&product=POI
I suspect this will be non-trivial as the Quick parts are stored in a template in the glossary part (which itself is not yet supported). So you would need to add glossary support as well as support for retrieving building blocks from the template and, and then adding them to the document in the appropriate location.

List all stereotypes in code template

Is there any way to list all class stereotypes in an Enterprise Architect code template? %classStereotype% only gives me the first one.
There is none. Sparx help lists nothing useful. What you "could" do is to write an add-in and call it via EXEC_ADDIN as described in this part of EA's help.

How to get filtering to data lists in Alfresco Share (Community 4.0)

How to make filter by specific columns available to data lists in Alfresco Share? Version is Community 4.0. I've tried the existing solutions like fme datalist extension answered here but it has some issues which require customizing the code more than I've got time and expertise. For instance, it loses all custom lists. I tried to add the list definitions from the XML configuration to the embedded definitions but it made the whole site crash.
Is there any other way to achieve filtering? The specific case is that I've got a list which has like ten or so columns. I want to make one or two of them filterable by providing a simple drop down menu of unique values.
Unfortunately it is not possible to filter data-list items out-of-the box in Alfresco Share. The FME extension is the only solution I have seen which will do that for you.