Book a Demo

Author Topic: Different HTML versions linked each other  (Read 3200 times)

jack89

  • EA User
  • **
  • Posts: 49
  • Karma: +0/-1
    • View Profile
Different HTML versions linked each other
« on: October 30, 2020, 11:09:54 pm »
Hi all,

I'm using EA to model a system and periodically I export an html model of the system on a web server (my model is versioned by a release number).

I need to embed a certain release in my html export.

Let me explain better:

Imagine that my model release has reached the version 1.0. From now on, I want a link in the subsequent release (1.1, 1.2 and so on) that points to the version 1.0. In this way, the final user, while navigating, can go back to the version 1.0 and explore it.

Now, my question is:

Do I need a dedicated web server on which I have to load the version 1.0 and embed the link of this webserver in the next release?
Is there any smart method to reach this goal?

Thank you so much in advance :)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Different HTML versions linked each other
« Reply #1 on: October 31, 2020, 07:17:13 pm »
Hi Jack,


There is indeed a fairly painless way to achieve this. It's not automatic, but it's not a lot of work either.

Let's say in your generated HTML you've set a default diagram. All you need to do is add to that default diagram a Hyperlink element which points to the URL for the 1.0 version. Then you add another one for 1.1, and so on.

You don't need a separate web server, but you do need a separate directory (and thus a different URL) for each version.

HTH,


/Uffe
My theories are always correct, just apply them to the right reality.