Book a Demo

Author Topic: Link an User Interface element to Table/Column  (Read 9109 times)

Miso2018

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Link an User Interface element to Table/Column
« on: February 09, 2018, 07:42:52 am »
I need to show a link between an User Interface element and a Table (specifically link to a Column). The Tables (with Columns) have been successfully imported from SQL Server.  Could someone suggest how to create a diagram showing links from the UI fields to the Table/Columns please     

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Link an User Interface element to Table/Column
« Reply #1 on: February 09, 2018, 11:24:42 am »
I need to show a link between an User Interface element and a Table (specifically link to a Column). The Tables (with Columns) have been successfully imported from SQL Server.  Could someone suggest how to create a diagram showing links from the UI fields to the Table/Columns please   
Hi Miso,

Look up "Link to element feature" in the help.

We use it all the time to link a feature to another.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Miso2018

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Link an User Interface element to Table/Column
« Reply #2 on: February 09, 2018, 11:41:42 am »
Great, it works! Your prompt help is much appreciated Paolo. 

Miso2018

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Link an User Interface element to Table/Column
« Reply #3 on: February 15, 2018, 08:43:26 am »
hmmm,  ... I'm somewhat embarrassed but have to ask for help again. Why the "Link to Element Feature" option is not on the menu when I right-click on the end of connector/relationship? It was there when I tried initially but not now! Is there anything to do with the new Diagram or connectors properties?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Link an User Interface element to Table/Column
« Reply #4 on: February 15, 2018, 09:11:05 am »
hmmm,  ... I'm somewhat embarrassed but have to ask for help again. Why the "Link to Element Feature" option is not on the menu when I right-click on the end of connector/relationship? It was there when I tried initially but not now! Is there anything to do with the new Diagram or connectors properties?

It won't be available for all connector types. For example, I wouldn't expect to see it for generalization, state transition, control flow, note link, ...
The Sparx Team
[email protected]

Miso2018

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Link an User Interface element to Table/Column
« Reply #5 on: February 15, 2018, 09:20:01 am »
I tried it on all available connectors for UI element to Table (Inf Flow, Trace, Dependency, Realization)

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Link an User Interface element to Table/Column
« Reply #6 on: February 15, 2018, 10:02:16 am »
I tried it on all available connectors for UI element to Table (Inf Flow, Trace, Dependency, Realization)

I just tried it on all four of those and it was available, as long as you right-click close to the end of the connector (EA 13.5.1352)
The Sparx Team
[email protected]

VKN

  • EA User
  • **
  • Posts: 187
  • Karma: +9/-1
    • View Profile
Re: Link an User Interface element to Table/Column
« Reply #7 on: February 15, 2018, 10:07:54 am »
Why the "Link to Element Feature" option is not on the menu when I right-click on the end of connector/relationship? It was there when I tried initially but not now! Is there anything to do with the new Diagram or connectors properties?
If you right click at the center of the connector, the menu item will not appear. Try right clicking on the connector closer (say 25%) to the element.

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Link an User Interface element to Table/Column
« Reply #8 on: February 15, 2018, 10:53:37 am »
The reason being: the system needs to know which element you are selecting the feature in - the target or the source.
Best Regards, Roy

Miso2018

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Link an User Interface element to Table/Column
« Reply #9 on: February 15, 2018, 11:55:48 am »
Thanks guys for your help. Now I know that my problem was caused by me trying to R-click on the small square which become visible when the connector was selected (instead close to it).