... |
... |
@@ -68,24 +68,24 @@ |
68 |
68 |
<ERS2KENNZ1><xsl:value-of select="form/field[@name='tfERS2KENNZ1']/plainValue"/></ERS2KENNZ1> |
69 |
69 |
<ERS2KENNZ2><xsl:value-of select="form/field[@name='tfERS2KENNZ2']/plainValue"/></ERS2KENNZ2> |
70 |
70 |
<LKW_GEWICH> |
71 |
|
- <xsl:call-template name="formatWeight"> |
72 |
|
- <xsl:with-param name="weight" select="form/field[@name='tfLKW_GEWICH']/plainValue" /> |
73 |
|
- </xsl:call-template> |
|
71 |
+ <xsl:call-template name="formatWeight"> |
|
72 |
+ <xsl:with-param name="weight" select="form/field[@name='tfLKW_GEWICH']/plainValue" /> |
|
73 |
+ </xsl:call-template> |
74 |
74 |
</LKW_GEWICH> |
75 |
75 |
<ANH_GEWICH> |
76 |
|
- <xsl:call-template name="formatWeight"> |
77 |
|
- <xsl:with-param name="weight" select="form/field[@name='tfANH_GEWICH']/plainValue" /> |
78 |
|
- </xsl:call-template> |
|
76 |
+ <xsl:call-template name="formatWeight"> |
|
77 |
+ <xsl:with-param name="weight" select="form/field[@name='tfANH_GEWICH']/plainValue" /> |
|
78 |
+ </xsl:call-template> |
79 |
79 |
</ANH_GEWICH> |
80 |
80 |
<ZUG_GEWICH> |
81 |
|
- <xsl:call-template name="formatWeight"> |
82 |
|
- <xsl:with-param name="weight" select="form/field[@name='tfZUG_GEWICH']/plainValue" /> |
83 |
|
- </xsl:call-template> |
|
81 |
+ <xsl:call-template name="formatWeight"> |
|
82 |
+ <xsl:with-param name="weight" select="form/field[@name='tfZUG_GEWICH']/plainValue" /> |
|
83 |
+ </xsl:call-template> |
84 |
84 |
</ZUG_GEWICH> |
85 |
85 |
<AUF_GEWICH> |
86 |
|
- <xsl:call-template name="formatWeight"> |
87 |
|
- <xsl:with-param name="weight" select="form/field[@name='tfAUF_GEWICH']/plainValue" /> |
88 |
|
- </xsl:call-template> |
|
86 |
+ <xsl:call-template name="formatWeight"> |
|
87 |
+ <xsl:with-param name="weight" select="form/field[@name='tfAUF_GEWICH']/plainValue" /> |
|
88 |
+ </xsl:call-template> |
89 |
89 |
</AUF_GEWICH> |
90 |
90 |
<!-- |
91 |
91 |
<LKW_LEER><xsl:value-of select="form/field[@name='']/plainValue"/></LKW_LEER> |
... |
... |
@@ -94,34 +94,34 @@ |
94 |
94 |
<AUF_LEER><xsl:value-of select="form/field[@name='']/plainValue"/></AUF_LEER> |
95 |
95 |
--> |
96 |
96 |
<ERS_GEWI_1> |
97 |
|
- <xsl:call-template name="formatWeight"> |
98 |
|
- <xsl:with-param name="weight" select="form/field[@name='tfERS_GEWI_1']/plainValue" /> |
99 |
|
- </xsl:call-template> |
|
97 |
+ <xsl:call-template name="formatWeight"> |
|
98 |
+ <xsl:with-param name="weight" select="form/field[@name='tfERS_GEWI_1']/plainValue" /> |
|
99 |
+ </xsl:call-template> |
100 |
100 |
</ERS_GEWI_1> |
101 |
101 |
<ERS_GEWI_2> |
102 |
|
- <xsl:call-template name="formatWeight"> |
103 |
|
- <xsl:with-param name="weight" select="form/field[@name='tfERS_GEWI_2']/plainValue" /> |
104 |
|
- </xsl:call-template> |
|
102 |
+ <xsl:call-template name="formatWeight"> |
|
103 |
+ <xsl:with-param name="weight" select="form/field[@name='tfERS_GEWI_2']/plainValue" /> |
|
104 |
+ </xsl:call-template> |
105 |
105 |
</ERS_GEWI_2> |
106 |
106 |
<ART><xsl:value-of select="form/field[@name='tfART']/plainValue"/></ART> |
107 |
107 |
<ART_GEWICH> |
108 |
|
- <xsl:call-template name="formatWeight"> |
109 |
|
- <xsl:with-param name="weight" select="form/field[@name='tfART_GEWICH']/plainValue" /> |
110 |
|
- </xsl:call-template> |
|
108 |
+ <xsl:call-template name="formatWeight"> |
|
109 |
+ <xsl:with-param name="weight" select="form/field[@name='tfART_GEWICH']/plainValue" /> |
|
110 |
+ </xsl:call-template> |
111 |
111 |
</ART_GEWICH> |
112 |
112 |
<STARTORT><xsl:value-of select="form/field[@name='tfSTARTORT']/plainValue"/></STARTORT> |
113 |
113 |
<ZIELORT><xsl:value-of select="form/field[@name='tfZIELORT']/plainValue"/></ZIELORT> |
114 |
114 |
<UEBER><xsl:value-of select="form/field[@name='tfUEBER']/plainValue"/></UEBER> |
115 |
115 |
<ZEIT_VON> |
116 |
|
- <xsl:call-template name="formatDate"> |
117 |
|
- <xsl:with-param name="dateTime" select="form/field[@name='tfZEIT_VON']/plainValue" /> |
118 |
|
- </xsl:call-template> |
|
116 |
+ <xsl:call-template name="formatDate"> |
|
117 |
+ <xsl:with-param name="dateTime" select="form/field[@name='tfZEIT_VON']/plainValue" /> |
|
118 |
+ </xsl:call-template> |
119 |
119 |
</ZEIT_VON> |
120 |
120 |
<VON_UHR><xsl:value-of select="form/field[@name='tfVON_UHR']/plainValue"/></VON_UHR> |
121 |
121 |
<ZEIT_BIS> |
122 |
|
- <xsl:call-template name="formatDate"> |
123 |
|
- <xsl:with-param name="dateTime" select="form/field[@name='tfZEIT_BIS']/plainValue" /> |
124 |
|
- </xsl:call-template> |
|
122 |
+ <xsl:call-template name="formatDate"> |
|
123 |
+ <xsl:with-param name="dateTime" select="form/field[@name='tfZEIT_BIS']/plainValue" /> |
|
124 |
+ </xsl:call-template> |
125 |
125 |
</ZEIT_BIS> |
126 |
126 |
<BIS_UHR><xsl:value-of select="form/field[@name='tfBIS_UHR']/plainValue"/></BIS_UHR> |
127 |
127 |
<ORT_LEERFA><xsl:value-of select="form/field[@name='tfORT_LEERFA']/plainValue"/></ORT_LEERFA> |
... |
... |
@@ -165,20 +165,12 @@ |
165 |
165 |
|
166 |
166 |
=== Speichern von zusätzlichen Dokumenten === |
167 |
167 |
|
168 |
|
-Im Beispiel wird zunächst über eine Aktion vom Typ [[ZIP Komprimieren>>doc:Formcycle.Designer.Workflow.Actions.CompressFiles]] ein ZIP-Archiv mit allen an das Formualar angehangenen Dateien und einer mithilfe einer [[PDF-Print-Aktion>>doc:Formcycle.PluginDocumentation.PrintServicePlugin]] generierte PDF-Quittung des Formulars sowie der erstellten XML-Datei erzeugt. Dieses Archiv wird dann über eine Aktion vom Typ [[Speichern im Dateisystem>>doc:Formcycle.Designer.Workflow.Actions.SaveToFileSystem]] an eine Stelle im Dateisystem des Servers gespeichert, die als Austauschverzeichnis für ALVA9 gedacht ist und von der aus sich das System dann die Datei selbstständig abholt. Es ist wichtig, dass alle Dokumente, die zu den in der XML-Datei enthaltenen Daten gehören und zu ALVA9 übertragen werden sollen, mit im gleichen ZIP-Archiv enthalten sind. |
|
168 |
+Im Beispiel wird zunächst über eine Aktion vom Typ [[ZIP Komprimieren>>doc:Formcycle.Designer.Workflow.Actions.CompressFiles]] ein ZIP-Archiv erzeugt, welches alle an das Formualar angehangenen Dateien, eine mithilfe einer [[PDF-Print-Aktion>>doc:Formcycle.PluginDocumentation.PrintServicePlugin]] generierte PDF-Quittung des Formulars und die erstellte XML-Datei beinhaltet. Dieses Archiv wird dann über eine Aktion vom Typ [[Speichern im Dateisystem>>doc:Formcycle.Designer.Workflow.Actions.SaveToFileSystem]] an eine Stelle im Dateisystem des Servers gespeichert, die als Austauschverzeichnis für ALVA9 gedacht ist und von der aus sich das System dann die Datei selbstständig abholt. Es ist wichtig, dass alle Dokumente, die zu den in der XML-Datei enthaltenen Daten gehören und zu ALVA9 übertragen werden sollen, mit im gleichen ZIP-Archiv enthalten sind. |
169 |
169 |
|
170 |
170 |
=== Benennung der erzeugten Dateien === |
171 |
171 |
|
172 |
|
-Im Beispiel wird die XML-Datei //ALVA_SONNTAG_[%$PROCESS_ID%].xml// und das ZIP-Archiv //ALVA_SONN_[%$PROCESS_ID%].zip// genannt. Es ist wichtig, dass der Dateiname der ZIP-Datei eindeutig ist und nicht bei verschiedenen Vorgängen gleich ist. Im Beispiel wird dafür der Platzhalter für die Prozess-ID verwendet, welche bei jedem Vorgang unterschiedlich ist. Grundsätzlich können hierfür aber auch andere Werte wie zum Beispiel Werte von [[Zählern>>doc:Formcycle.UserInterface.Data.Counter]] verwendet werden. |
|
172 |
+Im Beispiel wird die XML-Datei //ALVA_SONNTAG_[%$PROCESS_ID%].xml// und das ZIP-Archiv //ALVA_SONN_[%$PROCESS_ID%].zip// genannt. Es ist wichtig, dass der Dateiname der ZIP-Datei eindeutig ist und nicht bei verschiedenen Vorgängen gleich ist. Im Beispiel wird dafür der Platzhalter für die Prozess-ID verwendet, welche bei jedem Vorgang unterschiedlich ist. Grundsätzlich können hierfür aber auch andere Werte wie zum Beispiel Werte von [[Zählern>>doc:Formcycle.UserInterface.Data.Counter]] verwendet werden. Auch bei der XML-Datei empfiehlt es sich, auch einen eindeutigen Namen zu verwenden. |
173 |
173 |
|
174 |
|
-das ist wichtig weil |
175 |
|
- |
176 |
|
-Selbe, eindeutige ID -> Es empfiehlt sich, Process_ID zu verwenden |
177 |
|
- |
178 |
|
----Hierbei ist die Verwendung gl dateinamen |
179 |
|
- |
180 |
|
- |
181 |
|
- |
182 |
182 |
== Ansprechpartner für Fragen == |
183 |
183 |
|
184 |
184 |
Für weitere Fragen zur Anbindung und der nötigen Konfiguration für den Import in ALVA9 steht folgender Ansprechpartner auf Seiten der Ascherslebener Computer GmbH zur Verfügung: |