MT 訊息範例
產生不同 MT 訊息之 InfoPath 表單範本 (解決方案的命令) :
下列範例要求 「SWIFT Base Types.xsd」、「SWIFT Common Data Types.xsd」,「MT102.xsd」、「MT500.xsd」 和 「MT103.xsd」 架構全都在 c:\schemas 中。 這會在 「C:\GeneratedForms」 資料夾中產生 InfoPath 表單範本的解決方案。 方案的資料夾名稱會與需要產生 InfoPath 表單的郵件名稱相同。 這些範例假設公用程式已放在 「C:\FormGeneratorUtility2008」 資料夾中。 在下列命令中,取代您為公用程式選取的位置。
若要產生 MT103 架構的表單:
FormGenerator.exe -b “C:\FormGeneratorUtility2008\TemplateDS\InfoPath Form Template" c:\generatedforms c:\schemas MT103
若要產生 MT103、MT102 和 MT500 架構的表單:
FormGenerator.exe -b “C:\FormGeneratorUtility2008\TemplateDS\InfoPath Form Template" c:\generatedforms c:\schemas MT103 MT102 MT500
若要從檔案產生 MT103 架構 (表單) :
FormGenerator.exe -b “C:\FormGeneratorUtility2008\TemplateDS\InfoPath Form Template" c:\generatedforms c:\schemas -f P1forms.txt