// config/packages/oka-lists.yaml
oka-lists:
default_export_type: xlsx
lists_config:
person_list:
export_type: xlsx
{% endverbatim %}{% endapply %}
$list = $this->listsFactory->createListFromRequest(ListsBundle\Wrapper\ArrayList::class, $request, 'person_list', $data)
->withExportType("xlsx")
->build();
{% endverbatim %}{% endapply %}