Author Topic: Icons in search results  (Read 2037 times)

MichelvW

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Icons in search results
« on: June 30, 2022, 07:15:33 pm »
Hello sparx EA forummers! I've used these forums as a knowledge source for some time, but now i've stumbled upon a question to which i cannot find an answer here or in the documentation and decided to create an account and start a thread myself.

Documentation stated that in a SQL search one can set the icon in the result grid using CLASSTYPE. Example of a query in which I used this:

Code: [Select]
SELECT o.Object_Type AS CLASSTYPE
,o.ea_guid AS CLASSGUID
,o.Name AS Object
,o.Object_Type AS [Type]
,o.Stereotype
,o.Author
,o.Scope
,o.Status
,o.Phase
,o.CreatedDate
,o.ModifiedDate

FROM t_object o

WHERE o.Stereotype IN(
'Archimate_Stakeholder',
'Archimate_Driver',
'Archimate_Assesment',
'Archimate_Value',
'Archimate_Meaning',
'Archimate_Goal',
'Archimate_Outcome',
'Archimate_Princpiple',
'Archimate_Requirement',
'Archimate_Constrains',
'Archimate_Resource',
'Archimate_Capability',
'Archimate_Valuestream',
'Archimate_CourseOfAction'
)

ORDER BY o.Stereotype
,o.name

My problem is that in the repository browser window these elements all have different icons (probably set per stereotype?), but the Object_Type of most of these elements is 'Class'. My search result (obviously) returns the list with the Class icon for each record. Is there any way I can display the Stereotype icon in my search result? And more specifically also in a Model View Search Folder?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Icons in search results
« Reply #1 on: June 30, 2022, 10:10:27 pm »
I don't think so (at least not in v15) but I might be mistaken.

Geert

MichelvW

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Icons in search results
« Reply #2 on: June 30, 2022, 10:40:59 pm »
Thanks for the reply Geert. Too bad this isn't possible, would make a long list of classes a lot more usable. Would this be something i should / could add to the feature requests?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Icons in search results
« Reply #3 on: June 30, 2022, 10:46:17 pm »
Definitely.

IIRC they have already improved something related to these icons in v16. Might be in the traceability view or something, I'm not sure.

Geert