File Name

It contains the validations for the file name.

Possible Locations

Attributes


Name Type Description
regex
required
String The regex pattern of the file name.
length Integer (CSV) The minimum and maximum possible length of the file name like length="5,10".
You can also opt to configure only the maximum length.

Example

Consider that you want to add the following validations for a file <property>.

    
copy
- File name should not contain integers and double quotes. - File name should have minimum 5 and maximum 10 characters.

This should be written in the file name as shown here,

    
copy
<file-meta size="5000" import-url="false" continue-on-error="true"> <file-name regex="^[^\"0-9]+$" length="5,10"/> </file-meta>

Last Updated 2025-05-30 16:54:59 +0530 +0530