Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: AndyJ 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
-
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...
-
Nevermind! I've just found the locate page by GUID feature!
Andy
-
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
-
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...
-
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 (http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1329203872/0#0)[/edit]
-
[edit]I'd appreciate people's thoughts on: PDF Reports - allowing hyperlinks (http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1329203872/0#0)[/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.