implementing-ui-bundle-file-upload

Automate Salesforce UI bundle file uploads with ContentVersion linking and progress tracking.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/cchrisv/professorFlowVisualPicker --skill implementing-ui-bundle-file-upload
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implementing-ui-bundle-file-upload
Source: https://github.com/cchrisv/professorFlowVisualPicker/tree/main/.agents/skills/implementing-ui-bundle-file-upload
Command: npx skills add https://github.com/cchrisv/professorFlowVisualPicker --skill implementing-ui-bundle-file-upload

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides API-only file upload capabilities for Salesforce UI bundles, enabling developers to implement their own UI and progress tracking without building from scratch.

Core Features & Use Cases

  • Pattern A: Basic upload (no record linking) to obtain contentBodyId.
  • Pattern B: Upload with immediate ContentVersion linking by supplying a recordId.
  • Pattern C: Deferred linking of uploaded files after the target record is created.

Quick Start

Create a minimal UI and call upload() with a files array to begin uploading.

Frequently Asked Questions about implementing-ui-bundle-file-upload

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement API-based file uploads in a Salesforce UI bundle?

You can implement API-based file uploads by calling the upload() function with a files array, utilizing API-only patterns like upload and createContentVersion to handle the process while you build a custom UI for progress tracking.

How do I link an uploaded file to a Salesforce record using ContentVersion?

You link an uploaded file to a Salesforce record using ContentVersion by supplying a recordId during the upload for immediate linking, or by using a deferred linking workflow after the target record is created.

Can I track upload progress and cancel file uploads in a React Salesforce component?

Yes, you can track upload progress and cancel file uploads in a React Salesforce component using enforced progress callbacks for tracking and AbortController for cancellation.

What is deferred linking for file uploads in Salesforce?

Deferred linking is a workflow where files are uploaded initially without a target to obtain a contentBodyId, and then linked to a Salesforce record via ContentVersion once the target record is eventually created.

Do I need Apex to handle file uploads in a Salesforce UI bundle?

No, you do not need Apex because this approach implements API-only patterns like getCurrentUserId and createContentVersion directly, enabling file uploads entirely through the API.