Forum Replies Created
-
AuthorPosts
-
eadocX SupportParticipant
Can you send a copy of your MDG, to support@eadocx, and I’ll try to reproduce what you’re seeing.
eadocX SupportParticipantLooking deep into the EA repository, and using the Archimate2 MDG, I discovered the following:
1 – eaDocX/Excel updates only via the API. The stereotype passed is not the FQ one. In my example, <
>. 2 – the FQ one seems to live in the infamous t_xref table, as an entry which associates the object_guid with an FQ stereotype. In this case, Archimate2:Archimate_BusinessRole
3 – So when we look at the element stereotype, EA is reading BOTH tables.
4 – When eaDocX/Excel creates new Archimate stereotype elements, they seem to invent the FQ name. Maybe EA is doing this as part of the ‘createElement’ API which we use.
I’m guessing that, when EA does a ‘createElement’, it is going looking in all its MDGs, looking for one with the ‘Archimate_BusinessRole’ stereotype, and, in my case, getting just one hit, from the correct MDG.
You’re using <>, so maybe it gets more than one hit, and just picks the first one it finds. BTW – I’m using EA 13.1.
Your only solution is to take you life in your hands, and do a change to t_xref, to change the FQ stereotype. The format of the table is truly shameful, but fairly obvious:
Description = @STEREO;Name=ArchiMate_BusinessActor;FQName=Archimate2::ArchiMate_BusinessActor;@ENDSTEREO;Client = (your element GUID)
The programmer of this must have been SO proud….
eadocX SupportParticipantYo’re right, in that there isn’t explicit support for ‘time aware modelling’ in eaDocX. I guess we assumed that the v13 implementation of this was a start, not the complete solution, as it’s a bit M.Mouse.
The best way to get some kind of time-ware function would be to do it in an eaDocX/EA script, and put the time-ware login into that. This runs the risk of becoming obsolete if Sparx do make a proper job of this at some point, but should work in the sort term.eadocX SupportParticipantOK – looks like I didn’t explain very well.
eaDocX DOES detect that the tagged value is empty, but, before the Conditional Formatting bit gets to work, it already adds this default ‘n/a’ value. So by the time CF gets to work, it’s not empty any more. Hence my suggested solution.
And no, I won’t be changing this : other feature rely on this behavior.eadocX SupportParticipantWill that detect text in a diagram which is only a bitmap ?
eadocX SupportParticipantYou can use the Conditional Formatting to add replacement text, and use the setting which eaDocX has for ‘no tagged value present’.
This setting says what to put into the document when the TV has no value. Default is the string ‘n/a’.
You can then create a conditional formatting rule which, for the tagged value you are looking at, when eaDocX sees ‘n/a’, just replace that with the real default – “Val2”. You can even color it, so that you can differentiate between TVs where the user has actually set a value, and those where the default is used.eadocX SupportParticipantNinja indeed – this is great work!
We have a couple of other eaDocX users who have stumbled into this one as well. Please let us know if a fix emerges.eadocX SupportParticipantI have seen this before with other parts of EA, where EA just stops for a while, thinks, and then carries on. There’s nothing in eaDocX which should cause this.
eadocX SupportParticipantThanks for that. I wonder if this is another case where EA creates new things in a slightly unexpected state.
Not sure if this helps, but eaDocX/XL will automatically create a/Notes type tagged value whenever the length of the TV.value > 255. S would padding your values with blanks to always be >255 chars help at all? eadocX SupportParticipantFixed in 3.9.3.9
eadocX SupportParticipantAh – I hadn’t appreciate that this might mess-up your model. I will investigate right now.
eadocX SupportParticipantThe challenge here is one that’s created by EA.
All EA attributes- normal and tagged values, have a single ‘value’. So you specify what you want to print, eaDocX fetches the value, and prints it.
APART FROM tagged values, which have their ‘value’ in 2 possible places:
– their normal value
– or their ‘notes’ field, if their value =
There is a nasty fix in eaDocX which can READ the value of a TV, and, if it value=eadocX SupportParticipantI can’t seem to reproduce this, but then , I don’t have much TOGAF content to test it on.
If the EA Gap Matrix looks ok, then please send me a sample XMI which I can use to replicate the problem.
If the Gap Matrix doesn’t appear in EA, then please report to the EA forumeadocX SupportParticipantThe only reason I can find why this might fail is that there is a check for the licence type: Collaboration or other. What licence type are you using? Collaboration or Corporate ?
eadocX SupportParticipantso does the option appear when you right-click on the diagram in the Preview? Or do you get the option, but it doesn’t do anything ?
-
AuthorPosts
Download a free trial
Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.
Download