i4w_getfile
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
Section titled “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
Section titled “Example”[i4w_getfile filename='certificate.pdf'][i4w_getfile fileid='3456'][i4w_getfile filename='certificate.pdf' linktext='Click here to download']