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.


Topics - Mats Gejnevall

Pages: [1] 2
1
General Board / Diagrams in element compartment
« on: October 18, 2018, 01:34:19 am »
Hi all,
I want to be able to link an element to a number of diagrams and show all the linked diagrams in a compartment in that element. Then I should be able to click on any of diagram names in the compartment to display that diagram. Is that possible? Can I do a shape script to handle this? Or is it already possible in EA?

Thanks
Mats

2
Adding a new element with the same name and stereotype could trigger a warning. The warning should be configurable.

There is usually a lot of work to update all diagrams with of one element to another (with the same name).

3
This happens all the time, sometimes 20-30 times a day when I paste EA models(images) into Word or Powerpoint. When googling this there are no good answers to why.

Does this happen to you? Does someone have a solution to this problem? I have seen some examples of solutions which is to create .png versions and then import them into Word or ppt, but that is a lot of extra work.

4
Suggestions and Requests / Master data models from information flows
« on: April 05, 2018, 05:06:03 pm »
In our architecture we model information flows. Now we want to create models and analyze where information is created (mastered) and where it is used.
That can be done by hand by looking at our information flow models and create new models depicting this (or creating them in the relationship matrix).
That is a lot of work!
Is there a way to “automatically” create those models/matrices from the information flows? In most cases the direction of an information flows indicates the creator (master) and the user of information.

Thanks for any suggestion :)
Mats

5
General Board / Merging two information elements or removing one
« on: March 07, 2018, 03:10:50 am »
Hi
I have by mistake added an information element with the same name in different Information Flows (many information elements in many flows). Now I want to remove one of them, but I cannot easily find out where I should change. If I just delete one of them, I will never find all places where to add the remaining.

Any good ideas?

Thanks
Mats

6
Bugs and Issues / Avoiding deleting elements in use
« on: December 14, 2017, 03:25:00 am »
Hi all
I want to clean up my database of elements not in use. I use the Find orphan function and it lists a lot of elements not in use. But many of them are used in my information flows. Is there a way of detecting which orphaned elements are used in information flows? Or is there a configuration where they would not show up in that list?

Thanks Mats

7
Bugs and Issues / Compartments and instances
« on: December 14, 2017, 03:13:52 am »
Hi all
I am using compartments a lot to show relationships. But when I have relations between an element and an instance of an element I have a problem. But just in one direction. Element to instance works fine with some shape scripting, but when I want to see the relations of the element that has relations to the instances of it in the compartment of that element, it does not work.

Example: I have more than one firewall in my diagram. I create instances of that firewall and connect these instances to networks. When I use compartments to show which firewalls these networks are using it works fine, but when I want to see what networks the firewall element is connected to I get no information. I assume it is because the instance and element are different database entries.

Any solutions?

Thanks
Mats

8
Hi all
Is it possible to export everything in a package including related elements in other packages and move them to another EA respository? I have created a more detailed set of models in this repository but I do not want them there long term. Would the packages of the related elements also be included in such an export?

Thanks
Mats

9
Bugs and Issues / Changing property on multiple elements
« on: September 06, 2017, 05:37:30 pm »
Is there any way to change a property on a set of selected elements? I know it can be done by CSV export and import, but any other way?

10
Hi
We are using Decorations and relatedElements for all the elements in our MDG. But when the size of some the diagrams increased, the time to save a diagram went up to 30 seconds for .EAP and 90 seconds for a database save.

Has anyone else encountered this and were you able to solve it, instead of creating smaller diagrams? About 60 elements in these diagrams!

Thanks
Mats

11
Bugs and Issues / Using instances in compartments
« on: April 05, 2017, 12:05:53 am »
I create instances with the same stereotype as the original element. And I use compartments to show relations between elements. When I create a relation between an element and an instance (where I have defined that the sterotypes have a relation) and display this relation in a compartment (using a RelatedElement shape script)  the object number of the instance is displayed instead of the name of the instance!

Is this a bug or a feature?

Thanks
Mats

12
Suggestions and Requests / Use sterotype name when creating element
« on: March 30, 2017, 12:26:33 am »
I have created a MDG with a number of stereotyped elements, most of them are based on Class. When I drag and drop them from the toolbox, they are are given the name Class + a number. I assume there is a way of configuring the sterotype to use the name of it instead of the UML metaclass. But I have not been able to find it.

Can someone give me a hit (or a link to where this is described)?

Thanks
Mats

13
Suggestions and Requests / Conveyed items & SQL
« on: March 17, 2017, 08:35:49 pm »
Hi
This code works to get a list source and target applications and the information that flows between them (from the InformationFlow relation) and the mechanism used to communicate (integrate) the appplications (tag on InformationFlow). I have used it from excel and it works fine. But when I use it from SPARX it does not find the dbo.split function.
I do have the code for the dbo.split (from internet), but I do not know to include it in the SPARX SQL window. Anyone knows???

Code: [Select]
SELECT  source.name AS Source ,
        source.stereotype AS Source_Stereotype ,
        target.name AS Target ,
        target.stereotype AS Target_Stereotype ,
        ISNULL(ct.Value, '') AS IntegrationDescription
, o.name Information
FROM    ( SELECT    Behavior ,
                    Client ,
                    d.s Description
          FROM      t_xref x1
                    CROSS APPLY dbo.split(',', x1.description) d
          WHERE     x1.Behavior = 'Conveyed'
        ) x
JOIN t_object o ON x.Description=o.ea_guid
        JOIN dbo.t_connector c ON c.ea_guid=x.Client
JOIN dbo.t_object source  ON c.Start_Object_ID=source.Object_ID
JOIN dbo.t_object target ON c.End_Object_ID=target.Object_ID
        LEFT OUTER JOIN dbo.t_connectortag ct ON c.Connector_ID=ct.ElementID
WHERE   x.Behavior = 'conveyed'
        AND c.end_object_id = target.object_id
        AND source.stereotype != 'Process'
        AND target.stereotype != 'Process';

dbo.split from https://ole.michelsen.dk/blog/split-string-to-table-using-transact-sql.html
Code: [Select]
[/
CREATE FUNCTION [dbo].[Split]
(
    @String NVARCHAR(4000),
    @Delimiter NCHAR(1)
)
RETURNS TABLE
AS
RETURN
(
    WITH Split(stpos,endpos)
    AS(
        SELECT 0 AS stpos, CHARINDEX(@Delimiter,@String) AS endpos
        UNION ALL
        SELECT endpos+1, CHARINDEX(@Delimiter,@String,endpos+1)
            FROM Split
            WHERE endpos > 0
    )
    SELECT 'Id' = ROW_NUMBER() OVER (ORDER BY (SELECT 1)),
        'Data' = SUBSTRING(@String,stpos,COALESCE(NULLIF(endpos,0),LEN(@String)+1)-stpos)
    FROM Split
)
GO
code]

14
Hi
I have added a TAG to my InformationFlow sterotype and added the InformationFlow to my toolbox. When I use it from the toolbox the TAG is created, but not when I use it directly (QL) in the diagram. It picks up InformationFlow from my QL file correctly, but not the TAG.

Do I need to do something in my QuickLink file to make it work?

Thanks
Mats

15
Suggestions and Requests / Macro execution
« on: February 01, 2017, 02:14:46 am »
I founds some great macros that I really could use, like find & replace the sterotypes of a lot of my connections. But I could not find any description on how to execute the macros.

Any pointers? 

Thanks
Mats

Pages: [1] 2