Author Topic: Template from search not working on model document  (Read 1795 times)

Hurra

  • EA User
  • **
  • Posts: 183
  • Karma: +0/-0
    • View Profile
    • Find me at LinkedIn!
Template from search not working on model document
« on: December 02, 2022, 08:12:27 pm »
Hello!

I have a SQL search based on OBJECT_ID which returns
Code: [Select]
SELECT e.ea_guid AS CLASSGUID, e.Object_Type AS CLASSTYPE, e.Name AS Name, e.ea_guid AS ea_guid, e.Object_ID AS Object_ID
If I run this in the 'Find in Project' (ctrl+f), right-click the element and generate documentation with my template everything works as expected.

But when I apply this search on a model document, with OBJECT_ID, and generate documentation on the model document I get a blank page.

In my template I am trying to list embedded elements.


Why does it work when I generate directly from the element in 'Find in Project', but not through the model document 'SearchName' and 'SearchValue'?

Any ideas?

Thanks!
always learning!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Template from search not working on model document
« Reply #1 on: December 02, 2022, 10:51:02 pm »
I have reported the same problem (amongst others) a while ago: https://sparxsystems.com/forums/smf/index.php/topic,47342.0.html

Still no solution in v16.1.1622

Please make sure to report the problem to Sparx. The more people report it, the more likely they will take it seriously.

Geert