Fields Are Blank in User Export CSV
Last Updated:
Overview
Specific columns appear empty when exporting user data to a CSV file. This occurs even when the User Profile contains data for those fields. This issue specifically affects fields stored as arrays, such as the multifactor attribute.
Applies To
- User Management
- User Import / Export Extension
Cause
The CSV export format does not support the direct rendering of array data types into a single cell. When a field stored as an array is requested without specifying an index, the export generates a blank value for that column.
Solution
Use one of the following methods to retrieve data stored in array fields. The multifactor field is used in these examples to illustrate the process.
Method 1: Export using JSON Format (Recommended)
This method retrieves the complete list of values for an array field.
- Navigate to User Management > Users.
- Click the Import / Export button.
- Select Export Users.
- Select JSON in the Format dropdown.
- Add
multifactorin the Fields section. - Click Export.
Method 2: Export using CSV Format
This method retrieves a specific value from the array by targeting its index.
- Navigate to User Management > Users.
- Click the Import / Export button.
- Select Export Users.
- Select CSV in the Format dropdown.
- Enter
multifactor[0]in the Fields section.- NOTE: Using brackets allows the retrieval of the specific item at that index in the array.
- Click Export.