Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ian Mitchell

Pages: [1] 2 3 ... 16
1
General Board / Icons on Artifacts
« on: October 11, 2017, 07:01:03 pm »
I just dropped an 'Artifact' element on a diagram, and gave it a stereotype of 'decision', and was a bit surprised when EA helpfully gave it a little green diamond next to the 'artifact' icon.
Nice.
This makes me wonder, are there other icons which EA might put there if I choose other stereotypes for my Artifact? Does anyone know? Sadly, I don't have an infinite number of monkeys to try out all possible stereotypes, so I wonder if @Sparx know ?
Not a world-changing feature, but still enjoyable..

2
I get the basic idea. It's just that I need some C# or VB.net to get it done. Do you have anything ?

3
does anyone have any code for this? To go from the BinContent1 to some XML i can use?

4
@Adam P - did you ever post the code to do the decoding somewhere?
I really need to access this Audit data (and all the other base64 stuff which is in the data model thee days), and whilst I understand the principle form bits of other posts, nobody has - so far-  posted a complete solution:
- get column from EA (in base64)
- return some content (probably XML) which can be processed.
I somehow get lost in the byte array, memorystreams and encoding.
Sounds like you have a solution.

5
General Board / Re: MDG - Calculating a tagged value from other tags
« on: July 21, 2017, 12:49:56 am »
I've seem variations of this problem in lots of places, especially with Archimate models which have lots of quantity values at the lower levels. I guess SysML users have the same challenge.
It would be great if EA did this simple arithmetic for us, supporting 'virtual TVs' in parent elements which aggregate the values of the children. We'd need to be able to say if aggregation is valid (e.g. can't aggregate averages), but it's a well bounded problem. It would open up a whole new world for EA users .
@Sparx - has anyone thought  of such a 'Quantitative EA' ??

6
Disclosure - I'm the author of eaDocX.
I've never tried it specifically with Parameters, but eaDocX will let you write an EA script which acts as a mini-generator, so you can format stuff in whatever styles you want. Maybe worth a try. Free trial so you can test it.


7
General Board / Re: Figure numbers in captions in generate documents?
« on: July 21, 2017, 12:37:02 am »
eaDocX will let you use the Word function for doing this, so you can get numbering, and all the Word stuff like table-of-figures.

8
General Board / 13.5 reviews - set reviewers
« on: July 20, 2017, 07:31:34 pm »
I'm looking into the new 13.5 Review mechanism.
I can see how to set the 'what' to review, the 'when', but not the 'who'? Is there some way to say who I want to do the review? Or is there some existing way to do this ? Confession - I've not used EA Element or Team reviews before....

9
Automation Interface, Add-Ins and Tools / Repository.ImportRASAsset
« on: January 24, 2017, 04:34:19 am »
The release notes of 1308 announce a new API: Repository.ImportRASAsset.
Has anyone tried this?
The Help seems to be silent on the subject, and I just don't have time to do the reverse-engineering to find out what the API does.

Or even if it really exists .

10
Automation Interface, Add-Ins and Tools / Re: V13 menu handling with Addins
« on: September 16, 2016, 06:56:14 pm »
I'm trying to find out if there is a newer build where this might be fixed - is there somewhere where we can see what the latest build of V13 is, and even better, which issues are fixed in it?
Website searches on 'beta 13 release notes' don't produce anything...

11
See item http://sparxsystems.com/forums/smf/index.php/topic,36058.0.html
The use of nvarchar(max) as a data type seems to have some bad effects, at least in my setup.
Tried with SQL Server 214 and SQl Server 2016 - they both show the same issue with the nvarchar(max) data type

12
General Board / Re: SQl Server 2016 anyone?
« on: September 12, 2016, 09:46:30 pm »
I edited the current SQL Server install script to globally replace nvarchar(max) with ntext, re-installed it , re-populated it, and the problem seems to have gone away.
2 days of my life I'll never get back  - thanks Sparx...

13
General Board / Re: SQl Server 2016 anyone?
« on: September 12, 2016, 09:26:14 pm »
I just re-tried installing SQL Server 2014, and adding a new EA rep using the NEW rep script - same error.
Do you have a copy of the old setup script - I hadn't noticed that the latest one is SO new...

14
General Board / SQl Server 2016 anyone?
« on: September 12, 2016, 07:45:36 pm »
I'm just setting up a new server, and I'm seeing a REALLY strange error: the 'Notes' field won't update.
This is an all-new machine, with Microsoft server 2012, and SQL Server 2016 - first time I have used this.
Setup is otherwise the same on an existing machine - which works - and the new one - which has the above error.
- both have EA 12.1 Ultimate
- both use SQL server
- both using the same repository content.

So I can create new elements/diagrams/packages on the new server, and I can update the simple fields : name, phase, difficulty etc, but not the Notes. If the Notes pane is open (the one which is separate from the Properties page) then I can see my update to the Notes. but as soon as I switch to another element, then back again, the update is lost.
I even tried updating the database directly, and those updates don't show up back in EA. It's as if EA just can't process Notes fields. Same thing happens with Notes on Attributes & Operations: updates just don't work, so it's not specific to t_object: t_atribute and t_method show the same effect.

This may not be relevant, but I notice that, between SQL Server 2014 and 2016, the datatype of all the Note fields has changed from nText (SQL 2014) to nvarchar(Max) (SQL 2016), but Mr. Google says that they are backwards compatible. And the EA setup script specifies [Note] nvarchar(max), so it seems that SQl Server 2014 makes this into nText datatype.

Has anyone else seen anything like this? I really need this server for a customer demo, and it's driving me crazy...

15
I have tried this again with build 1305, and it's still broken.
I think what is happening is that,
- In V12,
 when the user clicks on a menu item, EA calls EA_GetMenuItems with a blank MenuName parameter.
Addin then responds with the 'top level' menu.
Then when the user hovers over one of those items, EA calls EA_GetMenuItems, and passes the name of the menu item they hovered over, and the addin can then respond with a sub-menu for that item

In V13, that second call doesn't seem to happen, so the user  just sees the top level menu, and empty sub-menus.
Is this what other add-in writers are seeing?
@Sparx - is this what you think the code is doing ?

Pages: [1] 2 3 ... 16