getPDFDocumentFromBase64

Uploads the contents of a file encoded using the Base64 scheme to the file upload location using a specified file name.

Syntax

function getPDFDocumentFromBase64(fileName: string, base64Contents: string): string
 
Parameter Description
fileName Name of the saved file, including the file extension.
NOTE  
Supported file extensions are defined in the FileUploadWhiteList key in the Configuration Manager.
base64Contents File contents encoded using the Base64 scheme.

Return Value

Returns a string containing the saved file's real name.

Examples