Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Guillaume on August 29, 2025, 11:53:24 pm

Title: How to use Relationship matrix in RTF template
Post by: Guillaume on August 29, 2025, 11:53:24 pm
Hi,

Working on an RTF template, I noticed a section called Relationship matrix but when I add it to my template, I can't find any option to select the Matrix profile.
Any idea ?

Thanks
Guillaume
Title: Re: How to use Relationship matrix in RTF template
Post by: philchudley on August 30, 2025, 01:35:55 am
Not good news I am afraid :(

This confirms what I have experienced, taken from the EA User Guide

If you have set up matrix profiles directly within the Relationship Matrix, you do not directly specify a matrix profile in the report; the Document Generator returns the Relationship Matrix for all profiles that include the documented Package as the source or target Package.

IMHO including ALL profiles where the package is either a source and/or a target makes this option not practical.

Phil
Title: Re: How to use Relationship matrix in RTF template
Post by: Geert Bellekens on August 30, 2025, 03:16:44 am
The feature is useless in all bu the most trivial models anyway.

I always add an SQL fragment showing the same information in a table format.
Having a variable number of columns (like in a matrix) is not very practical when generating documents (as they tend to quickly become too wide)

Geert
Title: Re: How to use Relationship matrix in RTF template
Post by: Guillaume on September 01, 2025, 05:14:31 pm
Thank you both your valuable feedback  :)

I managed to generate an image having the matrix profile configured with the selected package. I agree it's not practical but at least it's useful to understand how it works.
Geert, have you got by any chance an example of a fragment to try out ?