OneDrive Connector 12.11

# PathMustHaveRegex

A list of regular expressions to limit the files that are retrieved by the connector. The connector only retrieves files from folders where:

- the full path of the folder matches one of the regular expressions.
- the full path of all parent folders (up to the root folder) match one of the regular expressions.

(If a folder does not match at least one of the regular expressions, all of its subfolders are ignored, even if those folders do match a regular expression).

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

Type: | String (regular expression)
Default: |
Required: | No
Configuration Section: | TaskName or FetchTasks or Default
Example: | `PathMustHaveRegex0=.*IndexThis.* PathMustHaveRegex1=/IndexThis/` (where the root directory contains a folder named `IndexThis` or `***IndexThis***`)
See Also: | FileNameCantHaveRegex FileNameMustHaveRegex PathCantHaveRegex

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.11 | Last updated February 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL OneDrive Connector 12.11

Topic Title: PathMustHaveRegex