Book a Demo

Author Topic: QuickLink doesn't work  (Read 4217 times)

skelesp

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
QuickLink doesn't work
« on: September 06, 2013, 12:58:38 am »
Hi

I've tried to make my own quickLinks, but it doesn't work.

The purpose is to make a new intermediate event when I drag the quickLink from a startEvent to an empty space on the diagram. When I try to drag the quickLink, I see the default 'quickLink menu' and my option (link to new Intermediate event) isn't in the menu.

Can somebody tell me what I'm doing wrong in the example below?

My QuickLink tag in the MDG is
Code: [Select]
<QuickLink data="//Source Element Type;Source ST filter;Target Element Type;Target ST Filter;Diagram Filter;New Type;New Element ST;New Link Type;New Link ST;New Link Direction;New Link Caption;New Link &amp; Element Caption;Create Link;Create Element;Disallow Self connector;Exclusive to ST Filter + No inherit from metatype;Menu Group;Complexity Level;Target Must Be Parent;Embed element;Preceeds Separator LEAF;Preceeds Separator GROUP;DUMMZ COLUMN&#xA;Event;StartEvent;;;;Event;IntermediateEvent;ControlFlow;Sequence Flow;to;;Flow naar intermediate;TRUE;TRUE;TRUE;TRUE;Testjeeeeee;0;;;;;&#xA;&#xA;"/>
This is my startEvent element
Code: [Select]
<Stereotype name="StartEvent" metatype="StartEvent" notes="" cx="30" cy="30" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0">

and my intermediateEvent
Code: [Select]
<Stereotype name="IntermediateEvent" metatype="IntermediateEvent" notes="" cx="30" cy="30" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0">
This is the connector I would like to draw between the startEvent and the newly created intermediateEvent
Code: [Select]
<Stereotype name="Sequence Flow" metatype="Sequence Flow" notes="" cx="90" cy="70" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0">
« Last Edit: September 06, 2013, 01:00:16 am by skelesp »

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: QuickLink doesn't work
« Reply #1 on: September 06, 2013, 01:36:47 am »
After examining existing MDG xml files, the quicklink data is comma delimited and not semi-colon delimited. Also the end of your entry looks most strange

The only way I have got quicklink to work, is to follow the user guide

A Quick Linker definition is a Comma Separated Value (CSV)
format file; it is best manipulated in a spreadsheet, which should
be set up to save the CSVfile as comma-separated text without
quotation marks around text fields.

To add a Quick Linker definition file to a profile or technology,
simply place a DocumentArtifact element onto the Profile diagram,
give it the name QuickLink, then double-click on it.

Open your CSVfile in a text editor such as Notepad and copy and
paste the contents into the DocumentArtifact element; the
definitions are saved with the profile and are processed and
applied when the profile is imported.

The same applies if a profile is included within a technology, with
the proviso that the QuickLink element must be in the same profile
as the link stereotype definitions; this means that a technology
could have a set of Quick Link definitions for each profile.


[highlight]The definition of the CSV is in the user guide beginning on page 1340 [/highlight]and is too long to list here

Best of luck!
Models are great!
Correct models are even greater!

skelesp

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: QuickLink doesn't work
« Reply #2 on: September 06, 2013, 07:57:42 pm »
Ok thanks. I looked at everything except the most obvious :) Changing the delimiter works!