Book a Demo

Author Topic: html Reports - How to maintain links?  (Read 6129 times)

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
html Reports - How to maintain links?
« on: February 14, 2012, 02:59:19 pm »
Hi people,

We're trying to find a way to publish the model so that other interested parties can see what has been produced.

HTML export looks good except...

...when the structure of the model changes (for example, moving a diagram into another folder) all of the published links (published in confluence pages) now point to wrong things...

For example, ...Enterprise%20Architect/html/CI/EARoot/EA1/EA6.htm may point to one diagram now, but after republishing the model, it may point to a different diagram.

Is there anyway to create links to diagrams in the published model which are not so fragile?

Andy
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Re: html Reports - How to maintain links?
« Reply #1 on: February 14, 2012, 03:03:13 pm »
Note: In case I haven't been clear...

Because that diagram has been moved inside the model, it now has the URL ...Enterprise%20Architect/html/CI/EARoot/EA1/EA2/EA58.htm in the published html model.

I'm hoping that there is some way to refer to diagrams by an ID that isn't subject to change if the model changes...
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Re: html Reports - How to maintain links?
« Reply #2 on: February 14, 2012, 03:06:43 pm »
Nevermind! I've just found the locate page by GUID feature!

Andy
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: html Reports - How to maintain links?
« Reply #3 on: February 14, 2012, 04:26:54 pm »
Quote
Note: In case I haven't been clear...

Because that diagram has been moved inside the model, it now has the URL ...Enterprise%20Architect/html/CI/EARoot/EA1/EA2/EA58.htm in the published html model.

I'm hoping that there is some way to refer to diagrams by an ID that isn't subject to change if the model changes...
IIRC even without changing the location, there is actually no guarantee that the same diagram in EA would end up with the same identity on a later generation.  Hence the find by GUID functionality.

It seems to me however, that since you have to regenerate every time anyway, why not have just used GUIDS as the folder and file identifiers in the first place - since they are just as meaningful to we punters as monotonically increasing numerics.

My AUD$0.05

Paolo
« Last Edit: February 14, 2012, 04:27:28 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Re: html Reports - How to maintain links?
« Reply #4 on: February 14, 2012, 04:29:48 pm »
I must admit I had similar thoughts...

However, the functionality is there, and I'm motoring through creating the links for our Confluence page, so it's all working.

We could raise this as a feature request...
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: html Reports - How to maintain links?
« Reply #5 on: February 14, 2012, 06:07:37 pm »
Quote
I must admit I had similar thoughts...

However, the functionality is there, and I'm motoring through creating the links for our Confluence page, so it's all working.

We could raise this as a feature request...
Go for it...

They only listen to my suggestions (as the Italians say; "Ogni morte di Papa") "every time the Pope dies"...  :(

One side benefit of the GUID solution is that it should be a lot easier to replace only sections of the HTML web site - since the GUIDs won't have changed.

Paolo
[edit]I'd appreciate people's thoughts on: PDF Reports - allowing hyperlinks[/edit]
« Last Edit: February 14, 2012, 06:19:02 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: html Reports - How to maintain links?
« Reply #6 on: February 14, 2012, 06:38:43 pm »
Quote
[edit]I'd appreciate people's thoughts on: PDF Reports - allowing hyperlinks[/edit]
As you might know I'm an advocate for PDF. Since we're using TeX for typesetting the creation of links is excellent and works perfectly from the table of contenst as well as from inside the text. Via GUIDs it's also possible to create links manually from inside notes. (It would be nice it EA supported a hyperlink via some <a>EA://{guid}</a> protocol inside EA).

q.


P.S. Your hyperlink above was not clearly to be recognized as such. What a coincidence that it deals with hyperlinks itself. So sorry for posting here.
« Last Edit: February 14, 2012, 06:42:53 pm by qwerty »