Author Topic: MDG generation seems to not generate DDL Modules correctly  (Read 494 times)

Jayson

  • EA User
  • **
  • Posts: 363
  • Karma: +1/-0
    • View Profile
MDG generation seems to not generate DDL Modules correctly
« on: July 05, 2023, 09:29:46 am »
Righto

I've created a test DDL module which has the following defined:

1. A new custom template, and
2. A modified standard template (i.e., I modified the DDL Reference Definition template).

When I run the MDG generator, it DOES seem to add the necessary data to the MDG XML file (see below).
When I load the MDG and view templates, whilst I DO see the modified standard template (#2), the new custom template (#1) doesn't show up.

Am I doing something wrong? Looking in the wrong place?

Thanks in advance :-)


<DDLTemplates>
<RefData version="1.0" exporter="EA.25">
<DataSet name="DDL Module1_DDL_Template" table="t_template" filter="TemplateType='#TemplateType#' and TemplateName='#TemplateName#' and Style='#Style#'">
<DataRow>
<Column name="TemplateID" value="{8BCBD9AE-5D4E-4bcf-9C4E-08158ED7DC7D}"/>
<Column name="TemplateType" value="DDL Module1_DDL_Template"/>
<Column name="TemplateName" value="DDL Reference Definition"/>
<Column name="Template" value="Modified Reference Definition"/>
</DataRow>
<DataRow>
<Column name="TemplateID" value="{0F67C3D7-4AB9-40d2-90B7-3DAC0DDDA589}"/>
<Column name="TemplateType" value="DDL Module1_DDL_Template"/>
<Column name="TemplateName" value="DDLCheckConstraint__Custom"/>
<Column name="Template" value="Custom Stuff"/>
</DataRow>
</DataSet>
</RefData>
</DDLTemplates>

fredweathers

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: MDG generation seems to not generate DDL Modules correctly
« Reply #1 on: July 18, 2023, 11:32:13 am »
When you run the MDG generator, it does seem to add the necessary data to the MDG XML file. However, when you load the MDG and view templates, you only see the modified standard template (#2) but not the new custom template (#1).rooftop snipers
I'm sorry, I also don't know the mistakes for you.
« Last Edit: July 24, 2023, 11:46:40 am by fredweathers »