Wiki source code of Base64 dekodieren


Show last authors
1 {{version major="7" minor="2" patch="1" /}} This action is available from {{formcycle/}} version 7.2.1 onwards.
2
3 {{figure image="decodeBase64_en.png" width="400" clear="h1"}}
4 Configuration interface of the action //Decode Base64//
5 {{/figure}}
6
7 The action //Decode Base64// allows you to decode a base64 string or a data URI to into a file.
8
9 == Parameters ==
10
11 === Decoding settings ===
12 ; Base64
13 : The base64 string or data URI to be decoded.
14
15 === Storage options for the created files ===
16
17 ; Export name
18 : Name of the output file. If no export name is supplied, a the default name //content//, with a predicted file extension is used.
19 ; Attach file to form record
20 : If this option is selected, files created in this action will be attached to the form record. Otherwise, they are only available for other actions within the workflow processing in the same processing chain.
21
22 == Action variables ==
23
24 Actions of type //Decode Base64// provide [[Action variables>>Formcycle.UserInterface.Variables||anchor="HActionvariables"]] which can be used in subsequent actions.
25
26 === Standard action variables ===
27
28 ; [%$<action name>.SUCCESS%]
29 : Return whether action was successfully executed. Returns Boolean (true/false).
30 ; [%$<action name>.RESULT%]
31 : Return all results provided by the action in structured form.
32
33 ; [%$<action name>.ERROR_CODE%]
34 : The error code thrown in case of an error in the action. Empty if no error occurred.
35 ; [%$<action name>.ERROR_MESSAGE%]
36 : The thrown error message in the action's error case. Empty if no error occurred.
37
38 === Action specific action variables ===
39
40 ; [%$<action name>.RESULT.fileSize%]
41 : Size of the created file, in bytes.