Show customer custom attribute in company admin grid

Using magento enterprise on cloud I have created a customer attribute external_id. When a customer account is converted to a company account how do I show a column in the grid for this custom attribute?

My first thought was to create Magento_Company\adminhtml\ui_component\company_listing.xml in a custom module and add my custom column attribute using the Magento\Company\Model\Company\Source\Provider\CustomerAttributeOptions as a datasource, but looking at the code I think I might be barking up the wrong tree.



from Active questions tagged magento-enterprise - Magento Stack Exchange

Click link to view all answer https://magento.stackexchange.com/questions/336353/show-customer-custom-attribute-in-company-admin-grid