... |
... |
@@ -104,13
+104,13 @@ |
104 |
104 |
{{id name="fig_prefill_user_variables"/}} |
105 |
105 |
{{figure image="prefill_user_variables_en.png"}}Using user variables to prefill form fields with data of the logged in user.{{/figure}} |
106 |
106 |
|
107 |
|
-User variables may be used [[actions>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.WebHome]], [[templates>>doc:Formcycle.UserInterface.FilesAndTemplates.WebHome]], [[data base queries>>Formcycle.UserInterface.Data.DBQueries.WebHome]] or directly in [[form elements>>Formcycle.FormDesigner.FormElements.WebHome]] for prefilling the form (see [[figure>>||anchor="fig_prefill_user_variables"]]). |
|
107 |
+User variables may be used in [[actions>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.Actions.WebHome]], [[templates>>doc:Formcycle.UserInterface.FilesAndTemplates.WebHome]], [[data base queries>>Formcycle.UserInterface.Data.DBQueries.WebHome]] or directly in [[form elements>>Formcycle.FormDesigner.FormElements.WebHome]] for prefilling the form (see [[figure>>||anchor="fig_prefill_user_variables"]]). |
108 |
108 |
|
109 |
109 |
{{panel monospace="true" title="Syntax"}} |
110 |
110 |
[%$<user object>.<attribute>%] |
111 |
111 |
{{/panel}} |
112 |
112 |
|
113 |
|
-There are three user objects available which can be used to access information about the user. If a user variable is being used without any attributes, all user information will be returned in [[JSON>>https://de.wikipedia.org/wiki/JavaScript_Object_Notation]] format. |
|
113 |
+There are three user objects available which can be used to access information about the user (user profile). If a user variable is being used without any attributes, all user information will be returned in [[JSON>>https://de.wikipedia.org/wiki/JavaScript_Object_Notation]] format. |
114 |
114 |
|
115 |
115 |
For sensible use of the user variables it is necessary to enable [[form login>>doc:Formcycle.UserInterface.MyForms.Access.WebHome||anchor="form_login"]]. If this is not configured the user object will be set to an anonymous user. |
116 |
116 |
|
... |
... |
@@ -147,7
+147,7 @@ |
147 |
147 |
; id |
148 |
148 |
: ID of the user. (system ID for FORMCYCLE users) |
149 |
149 |
; linkedId |
150 |
|
-: |
|
150 |
+: A user profile may have a linked identifier, which is the identifier of another user profile. |
151 |
151 |
; locale |
152 |
152 |
: Language of the user |
153 |
153 |
; location |
... |
... |
@@ -171,6
+171,20 @@ |
171 |
171 |
; userName |
172 |
172 |
: user name |
173 |
173 |
|
|
174 |
+{{id name="sec_appointment_variables" /}} |
|
175 |
+=== Appointment variables {{version major="6" minor="5" patch="0"/}} === |
|
176 |
+ |
|
177 |
+Appointment variables can be used when [[appointments>>doc:Formcycle.FormDesigner.FormElements.Appointment.WebHome]] are booked with the form. |
|
178 |
+ |
|
179 |
+{{panel monospace="true" title="Syntax"}} |
|
180 |
+[%$<Name>%] |
|
181 |
+{{/panel}} |
|
182 |
+ |
|
183 |
+; [%$APPOINTMENT_LIST%] |
|
184 |
+: Creates a summary of the dates booked with the form record in the form of a //ul// HTML list. For each appointment a button is also created, with which the booked appointment can be added to a calendar. This variable is intended for use in HTML templates. |
|
185 |
+; [%$APPOINTMENT_LINK%] |
|
186 |
+: Creates a link to an iCal file that contains all the dates of the form record. |
|
187 |
+ |
174 |
174 |
=== System variables for HTML templates === |
175 |
175 |
|
176 |
176 |
{{panel monospace="true" title="Syntax"}} |