Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: andrej.seben on January 25, 2018, 01:55:37 am
-
Hi,
Is it possible to embed project template xml directly to custom MDG xml file? Maybe in base64 form?
Thank's a lot.
Best regards
Andrej
-
Maybe this:
http://www.sparxsystems.com/forums/smf/index.php/topic,30768.msg223752.html#msg223752
gives you some info.
-
PeterHeintz thanks for your reply.
So the conclusion is that it can not be embedded into the MDG? Because I did not see any solution in your topic.
-
Yes, that is the conclusion!
-
Not sure why you are asking about embedding project templates in MDG. If its so you can use a wizard to create a structure in Sparx then I export the template in xml format and use model templates in the MDG. I add the following code to the MTS that generates the MDG as an example
<ModelTemplates>
<Model name="FEAF V2.0" description="FEAF V2.0 Reference Model" location="FEAF.xml" default="yes" icon="34" filter="Enterprise Architecture" />
<Model name="GEA-NZ V3.1" description="NZ Government Enterprise Architecture Reference Model V3.1" location="GEANZ V3-1.xml" default="yes" icon="34" filter="Enterprise Architecture" />
<Model name="APQC PCF V6.1.0" description="APQC Process Classification Framework" location="APQC PCF.xml" default="yes" icon="34" filter="Enterprise Architecture" />
</ModelTemplates>
I put the xml project template files and the MDG file in one location and reference it in Sparx EA from the MDG dialog advanced button.
-
If the template refers to the structure of the model, with maybe some strawman diagrams, maybe a UML profile would be a good way to do it? Then the profile could be included in the MDG.