Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How to produce Publication files with GefegFX

Back to: 

Linktoparent

Table of Contents

Table of Contents
exclude^.*with GefegFX|Table of Contents$

Summary

For each messages (128), at the end of publication cycle (twice per year) produce the folllowing files:

  • UML Diagram / Export CCL/18MA export
  • XLS Guideline structure / CCTS Excel E using option file
  • Xsds Zip profile schema / profile schema .xsds Test export xsd
  • HTML Structure report using .rep file
  • XML sample files

Outputs

Examples in this guide are based on TBG18/eCERT/SPS_Acknowledgement message 

UML Diagram

In TBG17REP repository, open TBG17REP/FX/WorkingLib/D18A/Message/Message MA


Select apropriate appropriate message and from the context menu "Show UML class diagram"

On UML Class Diagram, open context menu and by clicking on "Open all nodes" show the complete Class Diagram

Click on "Export Image" (this menu item is awailable available only in the disgram diagram area, to be sure it's active, try it in top left corner or over some of the class boxes)

Select desired format, .html option will cut digram diagram into grid of .gif pictures and put them together using HTML Table elements

 SPS_Acknowledgement-UML-HTML.zip

which can be then printed into PDF file (depends on the size of the diagram)

Status
colourBlue
titleexample output
 SPS_Acknowledgement-UML.pdf

XLS Guideline structure

In TBG17REP repository, open TBG17REP/FX/WorkingLib/D18A/Message/Message MA


Using Option *.opt file and Excel template file *.xls

Click on C next to "Start folder or class" to select the message

Xsds

First, we must generate MCL schemasXML schema, based on which we will generate other files

In TBG17REP repository, open TBG17REP/FX/WorkingLib/D18A/Message/Message MA

From the context menu select Export → "ATG2 2.0 GEFEG.FX XML schemas"

Select output files location

If needed, create a new file structure

Fill version and use following optins (mostly defaults)

StatuscolourYellowtitleTODO how to generate Schemas


From previousy From previously produced schema, select desired message and from context menu Export it into "Profile Schmena Schema file"

Use defaults

Select

  • Enumerations(Codes)
  • MinOccurs
  • MaxOccurs
  • Use (attribute)

Click on Finish

Use defaults

Export will produce set of *.xsd files

That may be zipped into one, for example SPSAcknowledgement-XSDs.zip file for publication

Status
colourBlue
titleexample output
 SPSAcknowledgement-XSDs.zip

HTMLStructure report

(for now available only forReference for Reference Data Models - MMT and SCRDM)

In TBG17REP repository, open TBG17REP/FX/Reference Data Models/SCRDM/D18A/Context/SCRDM 18a Context BUY Master

In TBG17REP repository, open TBG17REP/FX/Reference Data Models/MMT/D18A/Context/MMT 18a Context SHIP NaterMaster

Open apropriate appropriate Publishing Project (.man) - Documentation RDM.man

Before the export make sure your output directory exists and is accessable

From Publishing Project context menu, select Properties

in HTML output tab check or change HTML output directory

If you need to exclude some part of the export (make link inactive) from the context menu on the item, select Exclude

on Model for HTML from the context menu select Generate - HTML

Export will take a few minutes and generate large number of HTML and related files to the output directory, 

Example of HTML under index.html - Start:

Status
colourBlue
titleexample output
 SCRDM HTML 11092018.zip

XML sample files

From previousy previously produced schema, select desired message and from context menu Export it into "XML sample file", 

For Export CML XML Example file options, use all defaults

Status
colourBlue
titleexample output
 SPSAcknowledgement_18p0-SampleFile.xml