i4w_getfile

Usage:

This shortcode will generate an API-based download link for a file located in a user’s Infusionsoft “file box”.

This shortcode does NOT supports conditional branching with [ELSE_getfile].

Shortcode nesting is NOT supported.

Parameters:

cid The contact ID from whose record the files will be fetched.
Default: Current, logged in user.
Required: no.
fileid Specifies the file ID of the file to download.
Default: none.
Required: no, if “filename” is specified.
filename Specifies the file name of the file to download.
Default: none.
Required: no, if “fileid” is specified.
linktext The anchor text to use in the download anchor.
Default: he queried file name.
Required: no.

Example:

[i4w_getfile filename='certificate.pdf']

[i4w_getfile fileid='3456']

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

API:

There is no API function equivalent for this shortcode.