Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Hurra on December 02, 2022, 08:12:27 pm

Title: Template from search not working on model document
Post by: Hurra 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!
Title: Re: Template from search not working on model document
Post by: Geert Bellekens 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 (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