Data Table Validation
Overview
You can validate Table Data by mapping Commerce and/or Configuration attributes to a Data Table column. When you add this functionality, the validation will determine if the Table Data is valid or invalid. Column data must match one menu value in the linked attribute.
Administration
Setting Up Data Table Validation
Validating Against Both Menu Attributes
Troubleshooting
If you are adding a validation to a Data Table with existing data, and invalid data is present, use the Invalid Data button to:
- Delete all invalid data. When data is deleted, it will delete the entire row.
- Display which records are invalid OR export to a CSV. Using .CSV, you can update the data and import the correct .CSV file.
Import .CSV will not update existing record. but it will allow you to modify values.
To replace the table, you must clear the Data Table and upload the file. Alternatively, delete the table and upload a new one through .CSV.
To replace the table, you must clear the Data Table and upload the file. Alternatively, delete the table and upload a new one through .CSV.
Notes
Validations will run as part of bulk import. If there are records that do not meet the validation, then the invalid records will fail.
There is no validation of column data type with Parent Entity data type because in Commerce, there are only text type menu attributes.
There is no validation of column data type with Parent Entity data type because in Commerce, there are only text type menu attributes.