Skip to main content

i4w_getfile

Usage

This shortcode will generate an API-based download link for a file located in a user's Keap "file box".

[ELSE_getfile] conditional branching is NOT supported.

Shortcode nesting is NOT supported.

Parameters

ParameterDescriptionDefaultRequired
cidThe contact ID from whose record the files will be fetched.Current, logged in userNo
fileidSpecifies the file ID of the file to download.NoneNo (if filename is specified)
filenameSpecifies the file name of the file to download.NoneNo (if fileid is specified)
linktextThe anchor text to use in the download anchor.The queried file nameNo

Example

Shortcode
[i4w_getfile filename='certificate.pdf']
Shortcode
[i4w_getfile fileid='3456']
Shortcode
[i4w_getfile filename='certificate.pdf' linktext='Click here to download']