# Shopware 6.5 : Using category tree in the customfields

**URL:** <https://forum.shopware.com/t/shopware-6-5-using-category-tree-in-the-customfields/103133>\
**Category:** Shopware 6 (English)\
**Tags:** general, administration, programming\
**Created:** [27. Februar 2024 um 09:29 UTC](https://forum.shopware.com/t/shopware-6-5-using-category-tree-in-the-customfields/103133 "2024-02-27T09:29:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![radhu](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@radhu](https://forum.shopware.com/u/radhu)\
**Post date:** [27. Februar 2024 um 09:29 UTC](https://forum.shopware.com/t/shopware-6-5-using-category-tree-in-the-customfields/103133/1 "2024-02-27T09:29:17Z")

</div>

I am developing a plugin in Shopware 6.5 that enables the store owner to choose categories on the customer edit screen. I have included a `CustomFieldTypes::ENTITY` custom field in the customer entity and utilized `'componentName' => 'sw-entity-multi-id-select'` to show the multi-select in the customer edit. However, I want to display the category tree instead of the multi-select. How can I accomplish this?

Any assistance would be greatly appreciated.
