Experience Ui Bundle File Upload Generate
Programmatic upload API for UI bundles with progress tracking and optional Salesforce ContentVersion linking.
- CCM score
- 73 of 100
- skills.sh installs
- 5.2K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers three upload patterns: basic upload, immediate record linking, and deferred linking after record creation
- Exposes
upload()withonProgresscallbacks across pending, uploading, processing, success, and error states, plusAbortControllercancellation - Provides
createContentVersionandgetCurrentUserIdfor linking files to a new record or the current user's library - Designed for custom UI builds in React UI bundle apps, since no prebuilt components or hooks are exported
Install
$ npx -y skills add forcedotcom/sf-skills --skill experience-ui-bundle-file-upload-generate -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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
onProgresscallback
Do NOT:
- Expect pre-built components like
<FileUpload />— they are not exported - Try to import React hooks like
useFileUpload— they are not exported - Look for dropzone components — they are not exported
The source code contains reference components for demonstration, but they are not available as imports. Use them as examples to build your own UI.
1. Install the package
npm install @salesforce/ui-bundle-template-feature-react-file-upload
Dependencies are automatically installed:
Details
- Repository
- github.com/forcedotcom/sf-skills
- Category
- Frontend & UI Code
- First seen
- Jul 14, 2026
Questions
What does the experience-ui-bundle-file-upload-generate skill do?
It adds file upload functionality to a React UI bundle app, with progress tracking and Salesforce ContentVersion integration. The package exports programmatic upload APIs only, so you build your own file input and progress UI around the upload() function.
How do I install the experience-ui-bundle-file-upload-generate skill?
Run npx -y skills add forcedotcom/sf-skills --skill experience-ui-bundle-file-upload-generate -y in your project. The skill then guides the agent to use the upload() API for files in a uiBundles project instead of building uploads from scratch with FormData or XHR.
Does this skill provide pre-built upload components like a dropzone?
No, the package exports no React components or hooks such as FileUpload or useFileUpload. You build the file input, dropzone and progress bars yourself, using the upload() API and its onProgress callback.
Which Frontend and UI Code skills are the other top skills in this category?
Other top skills in the Frontend and UI Code category include vercel-react-best-practices, web-design-guidelines and design-taste-frontend. This skill differs by focusing on Salesforce file upload with ContentVersion record linking in UI bundle apps.
More from forcedotcom/sf-skills
All 78- Experience Ui Bundle Features Generate5.2K
- Dx Devops Test Failures Analyze5.2K
- Dx Devops Test Pipeline Configure5.1K
- Experience Ui Bundle Site Generate5.1K
- Dx Devops Test Suite Assignments Configure5.1K
- Dx Devops Test Suite Run5.1K
- Experience Cms Brand Apply5K
- Experience Ui Bundle Agentforce Client Generate5K
- Platform Agentexchange Partner Offers Configure5K
- Data360 Code Extension Generate5K
- Dx Code Analyzer Custom Rule Create5K
- Omnistudio Datamapper Generate4.9K
- Omnistudio Omniscript Generate4.9K
- Omnistudio Dependencies Analyze4.9K
- Omnistudio Integration Procedure Generate4.9K
- Omnistudio Callable Apex Generate4.9K
- Omnistudio Flexcard Generate4.9K
- Omnistudio Datapacks Deploy4.9K
- Omnistudio Epc Catalog Generate4.9K
- Mobile Apps Create4.8K
- Mobile Platform Native Capabilities Integrate4.8K
- Mobile Platform Offline Validate4.7K
- Commerce B2b Store Create4.7K
- Commerce B2b Open Code Components Integrate4.7K
Similar to Experience Ui Bundle File Upload Generate
More Frontend & UI Codeexperience-ui-bundle-custom-app-generateforcedotcom/sf-skills5.3K installsHosts a React UI bundle as a Salesforce Custom Application visible in the Lightning App Launcher.
syncfusion-react-file-managersyncfusion/react-ui-components-skills777 installsSyncfusion React File Manager component for browsing, uploading, and managing local or remote file systems.
cloudinary-reactcloudinary-devs/skills724 installsOpinionated React SDK patterns for Cloudinary configuration, integration scenarios, and common error fixes.
shadcn-uinexu-io/open-design3.2K installsBuild accessible UI components with shadcn/ui that pair with the Stitch design loop for fast delivery.