04-07-2012 09:40 AM
I am French, sorry for my bad English
In MEGA ARCHITECTURE :
How to write an application to obtain a list of all applications modeled for each application with the application name and the name of an actor associated with the application ?
thank you
Sylvie L.
Solved! Go to Solution.
05-07-2012 11:27 AM
Hello,
I am a basic user of MEGA and I do not know the Report Template. It might be necessary that I take training because I was not able to do this. I have not found the report chapter ...
Thank you again for your answer
Sylvie L.
04-07-2012 01:36 PM
Hello,
the result of a MEGA query is a collection (a list of objects), I think you want a little bit more, like a "SQL ResultSet" with in one column the application name, and in another column the actor name.
You can have this result with an Analysis Report with a few clicks:
ReDim aProperties(1)
aProperties(1) = "~f10000000b20[Comment]"
(I selected the Comment attribute, any value will be good)
Write as the value of aProperties(1) the MetaAssociationEnd that links the Application to the Actor, the result shall be something like:
ReDim aProperties(1)
aProperties(1) = "~Z1gXKYuD3TA0[Responsible Org-Unit]"
Save the macro, and create a new Report from the Report template. Then select the applications you want and see the result.