i4w_userfiles

Usage:

This shortcode will return a table row for each file available in a given user’s Infusionsoft filebox.

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

Shortcode nesting is NOT supported.

Parameters:

action he action to perform on the returned data. Options are: “list” and “dl_links”. Specifying “dl_links” automatically generates download links through the API.
Default: list.
Required: no.
cid The contact ID from whose record the files will be fetched.
Default: Current, logged in user.
Required: No.
filtername Sets a filter on the file names to query and return. Use the standard API/MySQL ‘%’ where needed.
Default: none.
Required: no.
filterext Sets a filter on the file extension to query and return. Use the standard API/MySQL ‘%’ where needed.
Default: none.
Required: no.
fieldlist he fields to return. Available fields are: FileName, Extension, FileSize.
Default: FileName.
Required: no.

Example:

[i4w_userfiles]
[i4w_userfiles filtername='files%']
[i4w_userfiles filterext='pdf']
[i4w_userfiles cid='1234′ filtername='files%']
[i4w_userfiles fieldlist='FileName,FileSize']
[i4w_userfiles action='dl_links']

Notes:

To function properly, this shortcode must be wrapped inside HTML <table> tags, such as:
<table>
[i4w_userfiles] </table>

API:

There is no API function equivalent for this shortcode.