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 4 ... 17
@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.

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' ??

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.

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.

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....

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 .

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...

See item,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

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...

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...

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...

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 ?

General Board / Cloning children
« on: August 03, 2016, 12:58:46 am »
Using EA v13 build 1303, and no, this is not the start of a moral debate on child cloning....
The 'clone element' function in v13 works with no surprises when the item being cloned is a child of a package.
(Package) Original Package
--diagram 1
--element 1

Cloned to become:
(package) Cloned Original Package
--diagram1 (clone, empty)

I then drop element1 onto the cloned diagram1, and get EA to create a clone of element1, as a child of (package) Cloned Original Package:
(package) Cloned Original Package
--diagram1 (clone)
--element1 (clone)

So far, so good. No surprises.

So what about if I create a child of element1, and repeat the process:
(Package) Original Package
--diagram 1
--element 1
----element1.1 (child of element1)

Question is, what do we expect to happen when we clone element1 now? Do we clone its children as well? ALL of them? And their children?
If element1 is a BPMN process, then it will have children which are lanes/pools, which in turn will have lots of child activities, events etc: a BIG structure.

But what's the alternative? If we don't clone all the children, then EA seems to get confused, and won't clone the children AT ALL (bug reported).

So if I want to create a new version of a process, how should it be done? I think a 'deep clone' (all children) makes sense, but I'm really not sure what I expect.

Ideas please!

Update - I have tried this with the latest v13 build - 1301- and the issue is still there.
It's sad that in order to check if issues have been resolved, all we can do is download the new version, re-install it, test it again, de-install it if the issue remains.
As many, many others have said elsewhere on this forum, a simple list of 'stuff we have fixed since the last release' - with a reference to the forum item - would be the kinder way to do it.
Please ?

Ah - so the parent element (the thing in which my element is embedded) know what is embedded in it, but the embedded element would have to look through all the 'embedded elements' collection of all elements to try to find itself.
More SQL....:-(

Pages: 1 [2] 3 4 ... 17