Wiki source code of Base64 dekodieren


Hide last authors
awa 3.3 1 {{version major="7" minor="2" patch="1" /}} This action is available from {{formcycle/}} version 7.2.1 onwards.
Nils Schweigert 1.1 2
awa 3.3 3 {{figure image="decodeBase64_en.png" width="400" clear="h1"}}
4 Configuration interface of the action //Decode Base64//
Nils Schweigert 1.2 5 {{/figure}}
6
awa 3.3 7 The action //Decode Base64// allows you to decode a base64 string or a data URI to into a file.
Nils Schweigert 1.2 8
awa 3.3 9 == Parameters ==
Nils Schweigert 1.1 10
awa 3.3 11 === Decoding settings ===
12 ; Base64
13 : The base64 string or data URI to be decoded.
Nils Schweigert 1.1 14
awa 3.3 15 === Storage options for the created files ===
Nils Schweigert 1.1 16
awa 3.3 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.
Nils Schweigert 1.1 21
awa 3.3 22 == Action variables ==
Nils Schweigert 1.1 23
awa 3.3 24 Actions of type //Decode Base64// provide [[Action variables>>Formcycle.UserInterface.Variables||anchor="HActionvariables"]] which can be used in subsequent actions.
Nils Schweigert 1.1 25
awa 3.3 26 === Standard action variables ===
Nils Schweigert 1.1 27
awa 3.3 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.
Nils Schweigert 1.1 32
awa 3.3 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.
Nils Schweigert 1.1 37
awa 3.3 38 === Action specific action variables ===
Nils Schweigert 1.1 39
awa 3.3 40 ; [%$<action name>.RESULT.fileSize%]
41 : Size of the created file, in bytes.
Nils Schweigert 1.1 42