OneDrive Connector 25.4
OneDrive Connector Help

# FileMetadataCantHaveRegex

A list of regular expressions. The connector checks the value of a field specified by FileMetadataCantHaveName against the corresponding regular expression specified by this parameter. If the entire value of any specified field matches its corresponding regular expression, the document is not downloaded and ingested.

You can specify a comma-separated list of regular expressions, or use numbered parameters (`FileMetadataCantHaveRegex0`, `FileMetadataCantHaveRegex1` and so on).

To configure whether regular expressions are case-sensitive, set RegexCaseInsensitive.

Type: | List of regular expressions
Default: |
Required: | No
Configuration Section: | TaskName or FetchTasks
Example: | In the following example, a document is not ingested if the field "FirstField" has the value "ELEPHANT", or if the field "SecondField" includes the word "TIGER". `FileMetadataCantHaveName0=FirstField FileMetadataCantHaveName1=SecondField FileMetadataCantHaveRegex0=ELEPHANT FileMetadataCantHaveRegex1=.*TIGER.*`
See Also: | FileMetadataCantHaveName

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery OneDrive Connector 25.4

Topic Title: FileMetadataCantHaveRegex