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
| Parameter | Description | Default | Required |
|---|---|---|---|
| cid | The contact ID from whose record the files will be fetched. | Current, logged in user | No |
| fileid | Specifies the file ID of the file to download. | None | No (if filename is specified) |
| filename | Specifies the file name of the file to download. | None | No (if fileid is specified) |
| linktext | The anchor text to use in the download anchor. | The queried file name | No |
Example
Shortcode
[i4w_getfile filename='certificate.pdf']
Shortcode
[i4w_getfile fileid='3456']
Shortcode
[i4w_getfile filename='certificate.pdf' linktext='Click here to download']