GuideReference
TrainingSupportCommunity
Reference

filename

  • Property Manager name: Filename
  • Criteria version: The v2024-01-09 rule format supports the filename criteria v1.1.
  • Rule format status: GA, stable
  • Access: Read/Write
  • Allowed in includes: Yes

Matches the requested filename, or test whether it is present.

OptionTypeDescriptionRequires
match_​operatorenum

If set to IS_​ONE_​OF or IS_​NOT_​ONE_​OF, matches whether the filename matches one of the values. If set to IS_​EMPTY or IS_​NOT_​EMPTY, matches whether the specified filename is part of the path.

{"displayType":"enum","options":["IS_ONE_OF","IS_NOT_ONE_OF","IS_EMPTY","IS_NOT_EMPTY"],"tag":"select"}
IS_​ONE_​OF

The filename matches one of the values.

IS_​NOT_​ONE_​OF

The filename does not match one of the values.

IS_​EMPTY

The filename is not part of the path.

IS_​NOT_​EMPTY

The filename is part of the path.

valuesstring array

Matches the filename component of the request URL. Allows wildcards, where ? matches a single character and * matches zero or more characters. For example, specify filename.* to accept any extension.

match_​operator is either: IS_​ONE_​OF, IS_​NOT_​ONE_​OF
{"displayType":"string array","tag":"input","todo":true}
{"if":{"attribute":"matchOperator","op":"in","value":["IS_ONE_OF","IS_NOT_ONE_OF"]}}
match_​case_​sensitiveboolean

Sets a case-sensitive match for the values field.

match_​operator is either: IS_​ONE_​OF, IS_​NOT_​ONE_​OF
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"matchOperator","op":"in","value":["IS_ONE_OF","IS_NOT_ONE_OF"]}}