Creates the view of participants with custom data. This action drops the custom_participants view if it already exists, then re-creates it.
The view will behave like analytics_participant table, but with additional columns (those listed in the fields parameters).
Parameters
| Parameter | Description | |
|---|---|---|
| fields | Optional | The comma-seperated list of custom fields to include |
Tables Affected
- custom_participant
Variables Set
No variables set.
Permissions needed
No permissions needed.
Examples
- update_participants_view()
- update_participants_view( fields='participant_data1,participant_data2' )
