OneDrive Connector 25.1
OneDrive Connector Help

# FileMetadataMustHaveRegex

A list of regular expressions. The connector checks the value of a field specified by FileMetadataMustHaveName against the corresponding regular expression specified by this parameter. The entire value of at least one of the specified fields must match its corresponding regular expression, otherwise the document is not downloaded and ingested.

You can specify a comma-separated list of regular expressions, or use numbered parameters (`FileMetadataMustHaveRegex0`, `FileMetadataMustHaveRegex1` 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 unless the field "FirstField" has the value "ELEPHANT", or the field "SecondField" includes the word "TIGER". `FileMetadataMustHaveName0=FirstField FileMetadataMustHaveName1=SecondField FileMetadataMustHaveRegex0=ELEPHANT FileMetadataMustHaveRegex1=.*TIGER.*`
See Also: | FileMetadataMustHaveName

Copyright 2024 Open Text
Version 25.1 | Last updated January 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.1

Topic Title: FileMetadataMustHaveRegex