Sparx Systems Forum

Discussion => General Board => Topic started by: NB22066 on December 21, 2017, 11:23:45 pm

Title: Include image in column
Post by: NB22066 on December 21, 2017, 11:23:45 pm
Hi everybody,
I'm trying to customize the documentation of my database, which is generated by EA, with the inclusion of a key image in the column "Column Name" to the attributes that are primary key or foreign key, in the "Database Table" fragment in the system templates. Unfortunately, the simplest way I had in mind does not work, which would be to include the image in the row and control its visibility dinamicaly with an evaluation of ({Att.PK}/{Att.FK}).

I've tried to include a fragment selector after the column name but It appears to mess with the attribues generation and EA Restarts.
I also tried to include a normal fragment but it also messes with the attributes generation.
I've imported the images to EA, but I'm missing the logic of how to include them in the position I want.

Can anyone help me out with this?

Thanks in advance.