Skip to content
Kitbay

experience-ui-bundle-file-upload-generate

Apache-2.0Updated on Nov 6, 20261,156GitHub stars

A Salesforce skill for adding file uploads to a UI bundle app using a Salesforce npm package.

What the skill teaches

A Salesforce skill for adding file uploads to a UI bundle app using a Salesforce npm package. The package provides only an API, so the agent installs it and then builds the app's own upload interface around its upload() function. The skill describes three patterns: uploading without linking to a record, uploading and linking straight away to a record, and uploading first and linking once a new record is created. It also covers progress tracking, cancelling uploads, linking files to the current user, and creating Salesforce ContentVersion records. It tells the agent not to hand-roll uploads with FormData or XHR.

Capabilities

  • Install the UI bundle file upload package
  • Upload files with or without linking to a record
  • Track upload progress and cancel uploads
  • Create ContentVersion records for uploaded files