Configuring automatic retention using file plan descriptors
The configuration of a retention policy using file plan descriptors is more advanced than using any of the other available methods, thus it is more customizable than the others but has its limitations as it is more complex to administer. The query language used is Keyword Query Language (KQL) in Microsoft SharePoint; for more information on the query language itself, please refer to the following URL: https://docs.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference.
The steps outlined in this section will help us construct a query using file plan descriptors for automatic retention:
- Select the label you wish to use for this scenario and select the Auto-apply a label option: