Book a Demo

Author Topic: Search Results opening diagrams  (Read 3806 times)

DanielKeys

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Search Results opening diagrams
« on: December 12, 2011, 04:10:23 pm »
I have created a custom Model Search using the following SQL:

SELECT  d.ea_guid  AS CLASSGUID,
      'Diagram' AS CLASSTYPE,
        d.name as Name, d.Diagram_ID as ID, d.Diagram_Type as Type, p.name as PackageName
FROM t_diagram d
inner join t_package p on d.package_ID = p.package_ID
where p.name like "Services"  AND d.name LIKE "*<Search Term>*"


When I double click on any of the results it opens the properties window for the diagram rather than actually opening the diagram.  The only way I can open the actual diagram is to 'find diagram in project browser' and double click that.  

Is there any way to open the diagram directly from the search results page?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Search Results opening diagrams
« Reply #1 on: December 12, 2011, 07:29:04 pm »
I don't think so.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Search Results opening diagrams
« Reply #2 on: December 12, 2011, 09:54:51 pm »
I tried

SELECT ea_guid AS CLASSGUID, 'Diagram' AS CLASSTYPE,  Name FROM t_diagram

which opened the diagram properties. I'd ask Sparx to change this to open the diagram instead (feature request).

q.

DanielKeys

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Search Results opening diagrams
« Reply #3 on: December 13, 2011, 07:40:25 am »
Thanks for the replies.  

I didn't think it was possible but was just hoping that there was some hidden feature I wasn't aware of.

Cheers