Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  


Copies pages from one PDF to append other PDF.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PDFKit 3.1 Yes No Yes, macOS only No Yes

MBS( "PDFKit.AppendPages"; PDFRef; OtherPDFs )


Parameter Description Example value
PDFRef The PDF Reference where pages are added. $ref
OtherPDFs Several PDF references. A container value with the PDF content from a media field. Or a text with an URL. Or a PDF reference from PDFKit.Open. $PDF


Returns OK on success or error on failure.


Copies pages from one PDF to append other PDF.

Your changes are only done in memory, so please remember to write modified pdf back to disk, e.g. by using PDFKit.WriteToPath. Or use PDFKit.GetPDFDocument to get a PDF for storing in a container.


Merge two PDFs:

Set Variable [ $pdf ; Value: MBS("PDFKit.OpenContainer"; MyTable::InputPDF) ]
Set Variable [ $r ; Value: MBS( "PDFKit.AppendPages"; $pdf; MyTable::OtherPDF ) ]
Set Field [ MyTable::OutputPDF ; MBS( "PDFKit.GetPDFDocument"; $PDF) ]
Set Variable [ $r ; Value: MBS( "PDFKit.Release"; $pdf) ]

See also

PDFKit.AddImagePage   -   PDFKit.Combine

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos