Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: andrej.seben on January 25, 2018, 01:55:37 am

Title: Project Template in MDG
Post 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
Title: Re: Project Template in MDG
Post by: PeterHeintz on January 25, 2018, 02:49:37 am
Maybe this:
http://www.sparxsystems.com/forums/smf/index.php/topic,30768.msg223752.html#msg223752
gives you some info.
Title: Re: Project Template in MDG
Post by: andrej.seben on January 26, 2018, 10:47:05 pm
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.
Title: Re: Project Template in MDG
Post by: PeterHeintz on January 26, 2018, 10:53:04 pm
Yes, that is the conclusion!
Title: Re: Project Template in MDG
Post by: Sunshine on January 27, 2018, 07:33:57 am
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

Code: [Select]
<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.
Title: Re: Project Template in MDG
Post by: Richard Freggi on January 28, 2018, 07:25:29 pm
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.