| ... |
... |
@@ -98,7 +98,7 @@ |
| 98 |
98 |
|
| 99 |
99 |
Bei Zugriff aus dem {{designer case="dat"/}} verwenden Sie immer das globale Variablen-Objekt //XFC_METADATA//, siehe hierzu auch [[Globale Designer Variablen>>https://jsdocs.formcycle.eu/jsdocs/de/modules/_formcycle_v6_de_d_.html#xfc_metadata||target="_blank"]]. Beispielsweise kann wie folgt darauf zugegriffen werden: {{code language="none"}}XFC_METADATA.urls.datasource_csv{{/code}}. |
| 100 |
100 |
|
| 101 |
|
-Always use the global variables object {{code language="none"}}XFC_METADATA{{/code}} when accessing data sources from the {{designer/}}, see also [[global designer variables>>doc:Formcycle.Designer.Form.CodingPanel.ScriptTab.FormMetadata]]. The servlet URK can be accessed as follows: {{code language="none"}}XFC_METADATA.urls.datasource_csv{{/code}}. |
|
101 |
+Always use the global variables object {{code language="none"}}XFC_METADATA{{/code}} when accessing data sources from the {{designer/}}, see also [[global designer variables>>doc:Formcycle.FormDesigner.CodingPanel.ScriptTab.FormMetadata]]. The servlet URK can be accessed as follows: {{code language="none"}}XFC_METADATA.urls.datasource_csv{{/code}}. |
| 102 |
102 |
|
| 103 |
103 |
The following parameters are possible: |
| 104 |
104 |
|
| ... |
... |
@@ -123,7 +123,7 @@ |
| 123 |
123 |
|
| 124 |
124 |
{{/code}} |
| 125 |
125 |
|
| 126 |
|
-In the {{designer/}} the following script is used in the [[script area>>doc:Formcycle.Designer.Form.CodingPanel.ScriptTab.WebHome]] for pre-filling form fields: |
|
126 |
+In the {{designer/}} the following script is used in the [[script area>>doc:Formcycle.FormDesigner.CodingPanel.ScriptTab.WebHome]] for pre-filling form fields: |
| 127 |
127 |
|
| 128 |
128 |
{{code language="javascript"}} |
| 129 |
129 |
$.getJSON( XFC_METADATA.urls.datasource_csv + "?name=Demo&mandantName=xima.de", function(json) { |
| ... |
... |
@@ -147,15 +147,15 @@ |
| 147 |
147 |
The connection of a data source to a selection element takes place directly in the {{designer/}} |
| 148 |
148 |
{{/figure}} |
| 149 |
149 |
|
| 150 |
|
-If the //CSV// data source has to be loaded directly in a [[selection element>>doc:Formcycle.Designer.Form.FormElements.Selection]], this happens via through the properties of the selection element in the {{designer/}}. |
|
150 |
+If the //CSV// data source has to be loaded directly in a [[selection element>>doc:Formcycle.FormDesigner.FormElements.Selection]], this happens via through the properties of the selection element in the {{designer/}}. |
| 151 |
151 |
|
| 152 |
|
-The content of the CSV data source is processed in a [[selection element>>doc:Formcycle.Designer.Form.FormElements.Selection]]. |
|
152 |
+The content of the CSV data source is processed in a [[selection element>>doc:Formcycle.FormDesigner.FormElements.Selection]]. |
| 153 |
153 |
|
| 154 |
154 |
{{code language="none"}} |
| 155 |
155 |
visible value, assigned value, optional value, optional value, ... |
| 156 |
156 |
{{/code}} |
| 157 |
157 |
|
| 158 |
|
-Columns of the data source are use as follows for [[selection elements>>doc:Formcycle.Designer.Form.FormElements.Selection]]: |
|
158 |
+Columns of the data source are use as follows for [[selection elements>>doc:Formcycle.FormDesigner.FormElements.Selection]]: |
| 159 |
159 |
{{code language="none"}}col + column index{{/code}}. |
| 160 |
160 |
|
| 161 |
161 |
If a data source has more than two columns than it contains optional values. These optional values can be accessed with JavaScript via the following jQuery selector: |
| ... |
... |
@@ -169,7 +169,7 @@ |
| 169 |
169 |
|
| 170 |
170 |
== XML == |
| 171 |
171 |
|
| 172 |
|
-The XML data source acts analogously to the //CSV// data source, but cannot be bound to a [[selection element>>doc:Formcycle.Designer.Form.FormElements.Selection]]. |
|
172 |
+The XML data source acts analogously to the //CSV// data source, but cannot be bound to a [[selection element>>doc:Formcycle.FormDesigner.FormElements.Selection]]. |
| 173 |
173 |
|
| 174 |
174 |
{{figure image="data_source_xml_servlet_json.png" width="300"}} |
| 175 |
175 |
The JSON structure of the XML data source. To this JSON structure can than be accessed to {{code language="none"}}XFC_METADATA.urls.datasource_xml{{/code}} via Javascript. |
| ... |
... |
@@ -212,7 +212,7 @@ |
| 212 |
212 |
http(s):~/~/<server>/formcycle/datenquellexml?mandantName=<Mandant-Name>&name=<Datenquellen-Name> |
| 213 |
213 |
{{/info}} |
| 214 |
214 |
|
| 215 |
|
-If you access from the {{designer/}}, always use the global variable object //XFC_METADATA//, see also [[global designer variables>>doc:Formcycle.Designer.Form.CodingPanel.ScriptTab.FormMetadata]]. For example it can be accessed as follows: {{code language="javascript"}}XFC_METADATA.urls.datasource_xml{{/code}}. |
|
215 |
+If you access from the {{designer/}}, always use the global variable object //XFC_METADATA//, see also [[global designer variables>>doc:Formcycle.FormDesigner.CodingPanel.ScriptTab.FormMetadata]]. For example it can be accessed as follows: {{code language="javascript"}}XFC_METADATA.urls.datasource_xml{{/code}}. |
| 216 |
216 |
|
| 217 |
217 |
The following parameter are possible: |
| 218 |
218 |
|
| ... |
... |
@@ -222,7 +222,7 @@ |
| 222 |
222 |
|
| 223 |
223 |
== JSON == |
| 224 |
224 |
|
| 225 |
|
-The //JSON// data source acts analogously to the //CSV// data source, but cannot be bound to a [[selection element>>doc:Formcycle.Designer.Form.FormElements.Selection]] directly. |
|
225 |
+The //JSON// data source acts analogously to the //CSV// data source, but cannot be bound to a [[selection element>>doc:Formcycle.FormDesigner.FormElements.Selection]] directly. |
| 226 |
226 |
|
| 227 |
227 |
{{figure image="data_source_json_servlet_json.png"}} |
| 228 |
228 |
The JSON structure of the JSON data source. It is identically equal to the JSON data source. This JSON structure can be accessed via Javascript through {{code language="none"}}XFC_METADATA.urls.datasource_json{{/code}}. |
| ... |
... |
@@ -252,7 +252,7 @@ |
| 252 |
252 |
http(s):~/~/<server>/formcycle/datenquellejson?mandantName=<Mandant-Name>&name=<Datenquellen-Name> |
| 253 |
253 |
{{/info}} |
| 254 |
254 |
|
| 255 |
|
-At an access from the {{designer/}} always use the global variable object //XFC_METADATA//, see also [[global designer variables>>doc:Formcycle.Designer.Form.CodingPanel.ScriptTab.FormMetadata]]. For example you can access as follows: {{code language="javascript"}}XFC_METADATA.urls.datasource_json{{/code}}. |
|
255 |
+At an access from the {{designer/}} always use the global variable object //XFC_METADATA//, see also [[global designer variables>>doc:Formcycle.FormDesigner.CodingPanel.ScriptTab.FormMetadata]]. For example you can access as follows: {{code language="javascript"}}XFC_METADATA.urls.datasource_json{{/code}}. |
| 256 |
256 |
|
| 257 |
257 |
The following parameter are possible: |
| 258 |
258 |
|