
Implementing Ui Bundle File Upload
This handles file uploads in Salesforce UI bundles through a programmatic API rather than pre-built components. You get an upload() function with progress tracking and three patterns: basic upload for just getting a contentBodyId, immediate record linking when you already have a record ID, and deferred linking for create-record-with-attachments flows. The API-only approach means you build your own file inputs and progress bars using the callbacks, which gives you flexibility but requires more UI work upfront. Good fit if you need custom upload UX or multi-step forms where the record doesn't exist yet. Supports cancellation via AbortController and integrates with Salesforce ContentVersion records.
- skills.sh installs
- 3.5K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add forcedotcom/sf-skills --skill implementing-ui-bundle-file-upload --agent claude-codeInstalls into .claude/skills of the current project.
Files
This handles file uploads in Salesforce UI bundles through a programmatic API rather than pre-built components. You get an upload() function with progress tracking and three patterns: basic upload for just getting a contentBodyId, immediate record linking when you already have a record ID, and deferred linking for create-record-with-attachments flows. The API-only approach means you build your own file inputs and progress bars using the callbacks, which gives you flexibility but requires more UI work upfront. Good fit if you need custom upload UX or multi-step forms where the record doesn't exist yet. Supports cancellation via AbortController and integrates with Salesforce ContentVersion records.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- Frontend Development, Backend & APIs, DevOps & CI/CD, Sales & Marketing
- First seen
- Jun 3, 2026
More from forcedotcom/sf-skills
All 158- Implementing Ui Bundle Agentforce Conversation Client3.5K
- Creating B2b Commerce Store3.3K
- Generating Lwc Components3.1K
- Querying Soql3K
- Debugging Apex Logs3K
- Deploying Metadata3K
- Fetching Salesforce Docs3K
- Running Apex Tests3K
- Handling Sf Data2.9K
- Building Sf Integrations2.9K
- Generating Mermaid Diagrams2.8K
- Configuring Connected Apps2.8K
- Generating Visual Diagrams2.8K
- Getting Datacloud Schema2.6K
- Developing Datacloud Code Extension2.5K
- Retrieving Datacloud2.5K
- Connecting Datacloud2.5K
- Activating Datacloud2.5K
- Harmonizing Datacloud2.5K
- Orchestrating Datacloud2.5K
- Preparing Datacloud2.5K
- Segmenting Datacloud2.5K
- Deploying Omnistudio Datapacks2.4K
- Building Omnistudio Integration Procedure2.4K