Changes for page Quellen


From version 3.1
edited by gru
on 29.06.2021, 14:19
Change comment: Renamed back-links.
To version 6.1
edited by Release Notes
on 19.01.2023, 17:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.gru
1 +XWiki.ReleaseNotes
Content
... ... @@ -110,6 +110,7 @@
110 110  |spaltenNamen|Indicates a comma seperated list of the column, which columns are redelivered of the //servlet// with the corresponding value. At this, according to using, the names of the columns of the parameter //headline// or the name of the first line of the //CSV// databaseHierbei are expected.|No
111 111  |csvTrennzeichen|Indicates the seperator between the single data cells. If this is not set, a comma {{code language="none"}},{{/code}} is used by default.|No
112 112  |csvQuote|The seperator with which the values of the lines are seperated. If this is not set, a inverted comma {{code language="none"}}"{{/code}} is used by default.| No
113 +|jsonPath {{version major="7" minor="3"/}}|This parameter allows specifying a JSON path expression which will be applied to the returned result of the query on the server side. The example //$.returnValue[0]// returns the values of the first result of the query.|No
113 113  
114 114  === Application example ===
115 115  
... ... @@ -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.FormDesigner.FormElements.Selection]], this happens via through the properties of the selection element in the {{designer/}}.
151 +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/}}.
151 151  
152 -The content of the CSV data source is processed in a [[selection element>>doc:Formcycle.FormDesigner.FormElements.Selection]].
153 +The content of the CSV data source is processed in a [[selection element>>doc:Formcycle.Designer.Form.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.FormDesigner.FormElements.Selection]]:
159 +Columns of the data source are use as follows for [[selection elements>>doc:Formcycle.Designer.Form.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.FormDesigner.FormElements.Selection]].
173 +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]].
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.
... ... @@ -219,10 +219,11 @@
219 219  |=Parameter name|=Description|=Neccessary
220 220  |mandantName|Must match the name of the client under which this data source was created.|Yes
221 221  |name|Must match the name of the CSV data source.|Yes
223 +|jsonPath {{version major="7" minor="3"/}}|This parameter allows specifying a JSON path expression which will be applied to the returned result of the query on the server side. The example //$.returnValue[0]// returns the values of the first result of the query.|No
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.FormDesigner.FormElements.Selection]] directly.
227 +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.
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}}.
... ... @@ -259,3 +259,4 @@
259 259  |=Parametername|=Description|=Neccessary
260 260  |mandantName| Must match the name of the client under which this data source was created.|Yes
261 261  |name| Must match the name of the CSV data source.|Yes
264 +|jsonPath {{version major="7" minor="3"/}}|This parameter allows specifying a JSON path expression which will be applied to the returned result of the query on the server side. The example //$.returnValue[0]// returns the values of the first result of the query.|No