Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DhoX

Pages: [1]
1
I don't understand that Question.
Do I need a Database for the search?
But I tested it with Name and it also fails.

If i understand it right, i can use such a select search to find a package from my Enterprisearchitect model in the project browser.
Or in the case of the model document, the result of the search (in this case a package) is used by the <<model document>> same as a package that i would add via drag and drop to the <<model document>>. Or am i wrong?

Or what other options to replace this package to <<model document>> adding via drag and drop with a Add-In or Automation do i have?

2
The Output Window gets the following Message:
SQL Search selected or zero results returned

But the Package Exists and like said before,
in the "Find in Model"-Searchwindow I find the Package with the same search and searchterm.
I don't understand where the difference between the "find in model"-Searchwindow and the <<model document>> usage of the same search is ...

3
Actual Situation:

My Sql Search Named "Test Search" looks like:
SELECT p.ea_guid AS CLASSGUID,
       'Package' AS CLASSTYPE,
         p.Name
FROM t_package p
WHERE p.name LIKE '<Search Term>'


Again in "Find in Model"-Search it found the Packages.

Now if i want to generate the <<master document>>, that contains a
<<model document>> with the following taggedValues:
RTFTemplate      GT Test
SearchName      Test Search    
SearchValue      Adc            

Like in the User Guide written, the SearchValue should be the Searchterm or?

But now i got the following Error:
DAO.Database[3061]
too few parameters. Expected 1.

So my SearchValue isn't functional or?
But why?

4
Stupid Question but how would you write it?
All my tries with t_package gives errors, but i think thats based on my SQLskills and not on the impossibility. ;)

But why gives the normal "find in Model"-Search a result and in the model document seemingly not?

5
Hello,
I need a SQL Search for my Virtual Document.

The Search should only give the Package with the Name X (<- my search term) from my Project back (with SearchName and SearchValue in a <<model document>>)

I got the Following SQL Search:
SELECT t_object.ea_guid AS CLASSGUID,
       t_object.Object_Type AS CLASSTYPE,
       t_object.Name
FROM   t_object
WHERE  t_object.Object_Type = 'package'
AND    t_object.Name = '<Search Term>'

In the Find Window, i found the Package with the searched Name, but if i use it with the Modul Document, something goes wrong, No Error but in the generated Document there is only the Template shown.
What Am I doing wrong?

Like in the User Guide written I only use the search not both (search and a Package)

I used the Forumsearch before, but only found Solutions for Errors or
proposal for solutions that look like mine!
So is there anywhere a Option i need to set or something?

A simple Packagesearch or Package_ID search couldn't be impossible, or? -.-

Best Regards
DhoX

6
Hello,

I have a few Questions about Automation and the RunReport method from the Project Interface.

At the Moment we use EA 7.5 and I try to Automate the Rtf-Report.
I tried it on a normal Package with a Template and the Result was Ok,
but on a Virutal document <<master document>> i dont get an output.

After a little Research i found a Versionhistory on the Sparxsite that tells that RunReport on masterdocument is with 7.5 only available with the Ultimate Edition. Is this right?

Now I'm testing the whole thing with a 9.0 Trial with Ultimate Edition.
Now the RunReport on a masterdocument should work or is there a kown bug? Cause i don't get it to work.(Researches in the Forum gives very rare Posts (and only old Posts) about this Topic).

The EA UserGuide tells that:
RunReport (string PackageGUID, string TemplateName, string Filename)
 protected abstract: Void
 Runs a named RTF report.

Parameters:

PackageGUID: String - the GUID (in XML format) of the package to run the report on.
TemplateName: String - the RTF report template to use. If the PackageGUID has a stereotype of MasterDocument, the template is not required.
FileName: String - the file name to store the generated report in.
 


What does the Templatename with stereotype MasterDocument not required mean?
An empty String ""?
Is the MasterDocument stereotype above the same as the EA default Master Document <<master document>> stereotype?

7
Automation Interface, Add-Ins and Tools / Re: creation of MDG Add-In
« on: March 17, 2011, 06:54:13 pm »
Oh, shame on me!

I had never thought of that!
Sometimes the answer is to easy to can be found.  :D
Big Thanks for that!

Now I can connect and can respond to Pre and Post Generate Event,
but not to the PreReverse.
I use EA version 7.5.849.
Any known Bugs or Issues with PreReverse and this Version?
Searched in the Versionhistory but found nothing.

8
Automation Interface, Add-Ins and Tools / creation of MDG Add-In
« on: March 14, 2011, 10:55:05 pm »
Hello,
I have a Question about using and creating a MDG Add-In.
I wrote a working AddIn and now i want to exand this AddIn with a function that react on the MDG_PreReverse Event.

So I created a MDG Technology and added all MDG_event Prototypfunctions to my AddIn (Cause in the UserGuide stand i should respond to every MDG_Event).
On the EA_Connect event i return "MDG" so that EA know that it's a MDG_AddIn.
First i only want to pop up a MessageBox when I notice the MDG_PreReverse Event.

In Enterprise Architect under the "Add-In" Menu i now got a new Submenu "Connect External Project", but the external Project is always gray (I can't click or activate it).
Do I miss something?
Or where's the failure?

Best regards
DhoX

Pages: [1]