FlexFileUpload::mediaStudio(). This factory selects UseFlex\MediaStudio\Integrations\FlexFields\StudioFileUpload.
Verify the installed packages
Prepare an authorized workspace
Resolve the workspace ID from the current server-side tenant or host record. For a create form, use a resolver that works before the record exists. The selected workspace must allow the current user to view the library. New uploads additionally require upload permission. See permissions and tenant integration.Serve the Studio assets
Serve the matching Studio JavaScript module and stylesheet and pass their URLs tostudio(). FLEX’s component assets use its asset manager. Studio’s module and CSS are loaded when its picker mounts. Serve rich-editor-extension.js alongside the module when using the rich editor integration.
For example, this field allows choosing existing PDF files only.