ftos.convert.base64.toPdf

IMPORTANT!  
Starting with v24.3.0, this is renamed from getPDFDocumentFromBase64 to ftos.convert.base64.toPdf.

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

This is a business logic method for business service components.

Syntax

function ftos.convert.base64.toPdf(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