File Upload API (workflow)
When the user wants file upload functionality in a React UI bundle, follow this workflow. This feature provides
APIs only
— you must build the UI components yourself using the provided APIs.
CRITICAL: This is an API-only package
The package exports
programmatic APIs
, not React components or hooks. You will:
Use the
upload()
function to handle file uploads with progress tracking
Build your own custom UI (file input, dropzone, progress bars, etc.)
Track upload progress through the
onProgress
callback
Do NOT:
Expect pre-built components like
implementing-ui-bundle-file-upload
安装
npx skills add https://github.com/forcedotcom/sf-skills --skill implementing-ui-bundle-file-upload