--- title: QueryList component slug: '2978' canonical_url: https://docs.coveo.com/en/2978/ collection: coveo-for-salesforce source_format: adoc --- # QueryList component The `QueryList` component displays every query made by a user or the agent who opened the case in the [`UserActions` component](https://docs.coveo.com/en/2973/). ## Options ### `numberOfItems` Number of clicked document displayed. The default value is `4`. The minimal value is `1`. ```xml
``` ### `listLabel` Label of the list of the Clicked Documents. The default value is `Recent Clicked Documents`. ```xml ``` ### `transform` Function that transforms a query of the list into an HTMLElement representation. The default value is a span element, such as `My Query`. ```xml My Query ``` ### `userId` Identifies the user from which Clicked Documents are displayed. This option is required. ## Methods This component doesn't offer any method. ## Usage This component is included by default in the [UserActions component](https://docs.coveo.com/en/2973/). ```xml ```