ftos.convert.docx.toPdf

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

Converts a stored .docx file to PDF format and saves it to the file upload location.

This is a business logic method for business service components.

Syntax

function ftos.convert.docx.toPdf(sourceRealName: string, destinationName: string): string
 
Parameter Description
sourceRealName Unique internal ID of the .docx file (real name).
destinationName File name of the saved .pdf file.

Return Value

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

Examples