| ... |
... |
@@ -31,7 +31,10 @@ |
| 31 |
31 |
|name|The name of the LDAP request.|Yes |
| 32 |
32 |
|mandantName|The name of the client who owns this LDAP query.|Yes, when //projektId// was not specified. |
| 33 |
33 |
|projektId|The ID of the form. The form ID can be accessed via the JavaScript object {{code language="none"}}window.XFC_METADATA.currentProject.id{{/code}}.|Yes, when //mandantName// was not specified. |
| 34 |
|
-|queryParameterValues|//queryParameterValues// is only required if placeholders in the form of a question mark {{code language="none"}}?{{/code}} are used within the LDAP query. If this is the case, the individual query parameters are passed one after the other as a separate parameter //queryParameterValues//, which also eliminates the use of the parameter //delimiter//.|No |
|
34 |
+|queryParameter|When the LDAP query contains placeholders (question marks, {{code language="none"}}?{{/code}}), a list of parameters must be supplied for each placeholder. The items are separated with the delimiter as defined by the URL parameter //delimiter//. |
|
35 |
+ |
|
36 |
+If possible the parameter //queryParameterValues// should be used for new projects instead of //queryParameter// because //queryParameter// will not be supported in a future version of {{formcycle/}}.|No |
|
37 |
+|queryParameterValues|{{version major="6" minor="6" patch="3"/}}Starting with {{formcycle/}} Version 6.6.3 this parameter can be used as an alternative to the parameters //queryParameter// and //delimiter//. Like these parameters, //queryParameterValues// is only required if placeholders in the form of a question mark {{code language="none"}}?{{/code}} are used within the LDAP query. If this is the case, the individual query parameters are passed one after the other as a separate parameter //queryParameterValues//, which also eliminates the use of the parameter //delimiter//.|No |
| 35 |
35 |
|delimiter|The delimiter for the placeholder values, see //queryParameter//. Defaults to a comma {{code language="none"}},{{/code}} |
| 36 |
36 |
|
| 37 |
37 |
If possible the parameter //queryParameterValues// should be used for new projects instead of //delimiter// and //queryParameter// because //delimiter// will not be supported in a future version of {{formcycle/}}.|No |
| ... |
... |
@@ -74,6 +74,12 @@ |
| 74 |
74 |
You need to provide two values for the the two placeholders (question marks). Send a GET request to the following URL to perform the LDAP query: |
| 75 |
75 |
|
| 76 |
76 |
{{code language="none"}} |
|
80 |
+http://<server>/formcycle/datenabfrageldap?name=MyQuery&mandantName=MyClient&queryParameterValues=Value,1&queryParameterValues=Value,2 |
|
81 |
+{{/code}} |
|
82 |
+ |
|
83 |
+{{version major="6" minor="6" patch="3"/}}Starting with {{formcycle/}} Version 6.6.3, the same LDAP query can also be perform with the following URL, which is recommended for new projects: |
|
84 |
+ |
|
85 |
+{{code language="none"}} |
| 77 |
77 |
http://<server>/formcycle/datenabfrageldap?name=MeineAbfrage&mandantName=MeinMandant&queryParameterValues=Wert,1&queryParameterValues=Wert,2 |
| 78 |
78 |
{{/code}} |
| 79 |
79 |
|