Author Topic: Notes / Diagram properties in "Find in project"  (Read 3035 times)

kiesel

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Notes / Diagram properties in "Find in project"
« on: January 09, 2014, 01:44:49 am »
It seems to be that with "Find in project" with Search Simple or Extended it is not possible to find Diagrams. Neither the diagram itself nor diagram property notes nor notes.
E.g. if I have the diagram named "AC-001" and my search term is "AC-001" then the diagram is not found.

Is that new? I seem to remember it worked formerly (1-2 years back with Version 8, now I have version 10 of EA).

is there any simple solution for this?

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Notes / Diagram properties in "Find in project
« Reply #1 on: January 09, 2014, 02:31:02 am »
Hello,

create a search like:
Code: [Select]
select d.ea_guid As CLASSGUID, d.diagram_type As CLASSTYPE, d.name As Diagram, d.diagram_type As Type
from t_diagram d
where  
   name like "#WC#<Search Term>#WC#" or
   notes like "#WC#<Search Term>#WC#"
order by 3,2

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Notes / Diagram properties in "Find in project
« Reply #2 on: January 09, 2014, 10:24:59 am »
No doubt you will therefore be amused by
Search for diagram with name

and maybe related
Diagram searches not working in model documents?
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Notes / Diagram properties in "Find in project
« Reply #3 on: January 09, 2014, 10:41:30 am »
To create your own diagram search:

Edit > Find in Project > Builder > New Search. Search Name = "Diagram", Editor Type = Query Builder, OK. Right-click > Add Filter. Search On = Diagram, tick "Include" and "Required" for "Name Contains <Search Term>", OK. Save.
The Sparx Team
[email protected]