Book a Demo

Author Topic: HTML Report | DiagramNotes Shape | Author Bug  (Read 3610 times)

E.Eckstein

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
HTML Report | DiagramNotes Shape | Author Bug
« on: July 08, 2015, 07:57:31 pm »
Hi there,

I got issues with the html report:

What I want to do is create a html report, what works quite fine.
But there is a request for me that I need to implement: No authors are allowed to be shown in diagrams etc.
So what I did is writing an addin, which temporally removes those information from shapes, diagrams and adjusted the web template.

All fine till here.

Diagrams get exported as kind of an image - so those "common - diagram notes" shapes, which get filled with information with
"Name, AUthor, Version, Created and Updated" automatically need to be adjusted. Since I can't remove them, because I can't say for sure which Diagramobject is the right shape - I set the diagram.Author to String.Empty, which should work fine. (And it does - if i reopen the diagram after I changed it by the plugin, without changing back, the author is empty). The "Author: xxx" part of the diagram notes shape is empty now too.
BUT: In the html report the author is still exported with the name of the "creator". I can even change the author in EA's diagram option window itself, and there will still be the person exported in the html report, which created the diagram in first place.

-> Is this a known bug? Because no matter what I try to change the author (and which get's shown in the diagram correctly), the report will always show the original creator of the shape.

Regards,
Eric

Doubled

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: HTML Report | DiagramNotes Shape | Author Bug
« Reply #1 on: July 09, 2015, 02:56:35 am »
A possible solution for your problem is to cusotmize the html template (via resources, webstyle templates). There you can 'simply' remove the #AUTHOR# element from the templates. Be aware that there are multiple templates containing this field (e.g Body-Daigram and Body-Object).
With this customised output the field Author is removed.

E.Eckstein

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: HTML Report | DiagramNotes Shape | Author Bug
« Reply #2 on: July 09, 2015, 03:48:59 pm »
Hi Doubled,

thanks for your response.
I'm afraid I already did this. You are right, the #author# tag beeing removed will do this in at a few positions, but the shape in the diagram is not effected by this. This is generated as a picture, and the "diagram notes" shape contains the author aswell.

I am afraid this is no solution for my problem.  :-/

Regards,
Eric

E.Eckstein

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: HTML Report | DiagramNotes Shape | Author Bug
« Reply #3 on: July 15, 2015, 04:03:40 pm »
Hi,

are there any other suggestions?

Regards,
Eric