Book a Demo

Author Topic: Keep object URL in HTML report after a change  (Read 4990 times)

alurbano

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Keep object URL in HTML report after a change
« on: October 11, 2012, 03:42:37 am »
Hello everyone,

I have a problem with the HTML report of my projects. I usually publish the HTML report and send by email direct links to specifics diagrams or objects. When I make a change in a project (adding a new package, diagram, etc.) and I generate a new HTML report, the URLs of the existing objects changes, so the links become invalid.

Is there any way to force the report to keep the existing URLs and assign new URLs to new objects?

Thank you in advance.
« Last Edit: October 11, 2012, 05:47:15 pm by alurbano »

Makulik

  • EA User
  • **
  • Posts: 400
  • Karma: +0/-0
    • View Profile
Re: Keep object URL in HTML report after a change
« Reply #1 on: October 11, 2012, 07:20:13 pm »
You cannot control which URLs are generated for the particular elements, but you can refer to them using the report index.html and their GUID (which) doesn't change, as long the element exists in the EA project:

http://your-server/HTMLReport/index.htm?guid=2447BD6B-E293-4170-B9BB-697111B5B87E

The GUID can be easily copied from the 'Advanced' element info in the report.

HTH
Günther

alurbano

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Keep object URL in HTML report after a change
« Reply #2 on: October 11, 2012, 08:32:15 pm »
Thank you very much! Is a perfect solution for me.

Regards!

PatrickS

  • EA User
  • **
  • Posts: 46
  • Karma: +1/-0
    • View Profile
Re: Keep object URL in HTML report after a change
« Reply #3 on: November 06, 2012, 03:20:08 am »
Strange: I just tried the same with the ?guid=... to jump into the correct element (in my case Use Case) within the Html-Report. But it just runs into an error. I am using the Guid shown as UUID in the "Advanced" area of the element. What could be the reason?

Makulik

  • EA User
  • **
  • Posts: 400
  • Karma: +0/-0
    • View Profile
Re: Keep object URL in HTML report after a change
« Reply #4 on: November 06, 2012, 03:51:02 am »
Quote
I am using the Guid shown as UUID in the "Advanced" area of the element. What could be the reason?

How do you setup the URL exactly? Can you show this, please?
You shouldn't pass the '{}' as these are shown in the 'Advanced' area, just the plain GUID ...

PatrickS

  • EA User
  • **
  • Posts: 46
  • Karma: +1/-0
    • View Profile
Re: Keep object URL in HTML report after a change
« Reply #5 on: November 06, 2012, 04:02:05 am »
I didn't use the the curly braces.

My link was this (pointing to a local file). Ommitting the guid=... it works.
\\mycompany.grp\shares\project\myproject\01_Arbeitsergebnisse\Phase 3\03_Aggregates\CS und RE\Covered Use Cases Html\Covered Use Cases.htm?guid=4D330DEF-133D-4c3f-B894-590C421108C7

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: Keep object URL in HTML report after a change
« Reply #6 on: November 06, 2012, 05:34:21 am »
Quote
I didn't use the the curly braces.

My link was this (pointing to a local file). Ommitting the guid=... it works.
\\mycompany.grp\shares\project\myproject\01_Arbeitsergebnisse\Phase 3\03_Aggregates\CS und RE\Covered Use Cases Html\Covered Use Cases.htm?guid=4D330DEF-133D-4c3f-B894-590C421108C7

I've used this only for referring to elements in complete model HTML reports including the search functionality and TOC. The URL will always refer to the index.html?guid=<GUID> then.
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/