# CmisQuery

A query to run to retrieve documents from the repository. By default, the CMIS Connector crawls the repository to extract data. If you would prefer to run a query to identify the documents to ingest, use this parameter to specify the query.

NOTE: The query must return the following fields:

- `cmis:objectId`
- `cmis:objectTypeId`
- `cmis:baseTypeId`
- any field specified by CmisQueryPageField

Ingested documents contain all available fields. The query is used to identify the documents to ingest.

Type: | String
Default: |
Required: | No
Configuration Section: | TaskName or FetchTasks or Default
Example: | `CmisQuery=SELECT * FROM cmis:document` or `CmisQuery=SELECT cmis:objectId, cmis:objectTypeId, cmis:baseTypeId, cmis:creationDate FROM cmis:document`
See Also: | CmisQueryPageField

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm