Opening a Content Picker modal from a Custom Property Editor

Hello @KevinJump . Thank you so much. Not sure how I missed that.

With regards to getting the details. I am having to use “UmbDocumentItemRepository”. to get the details of the item(s) that were selected. I assume this is an ok approach?

E.g

import { UMB_DOCUMENT_PICKER_MODAL, UmbDocumentItemRepository } from '@umbraco-cms/backoffice/document';
#itemRepository = new UmbDocumentItemRepository(this);
modal.onSubmit().then(async (response) => {
    if (!response) return;
    let { data } = await this.#itemRepository.requestItems(
        response.selection
    );
    console.log(data);
});

Thank you again for your help.