Book a Demo

Author Topic: Repository.InvokeConstructPicker does not seem to support Diagram as type  (Read 5338 times)

Knut Paulsen

  • EA User
  • **
  • Posts: 82
  • Karma: +1/-0
    • View Profile
Using Repository.InvokeConstructPicker works fine for selecting elements and packages, but I need to select a diagram and it seems not to be supported.
But EA does show a dialog for selecting a diagram when you specify Diagram for the open action of a Hyperlink element.

Anybody know how to do this?

Cheers
Knut

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
No, unfortunately it only returns ElementID's.
So you can't use it for Diagrams, Attributes, Operations and Root Packages.
I think I've sent a feature request a while ago to allow these types as well.

Geert

Knut Paulsen

  • EA User
  • **
  • Posts: 82
  • Karma: +1/-0
    • View Profile
Thanks Geert,

Some other solution then :-)

Cheers
Knut