web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / VIBE CODE APP with DAT...
Power Apps
Answered

VIBE CODE APP with DATAVERSE table how to upload file to dataverse table

(1) ShareShare
ReportReport
Posted on by 121
Hello, I am currently using Power Apps Vibe Code to build an app, but I’ve encountered an issue: it doesn’t appear to support uploading files to a Dataverse table in the same way as Canvas Apps. How have you all managed to work around this?
Categories:
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    2,487 on at
    Yes — this is one of the current gaps/limitations many people are hitting with Power Apps “Vibe Code” / Code Apps right now. The experience is still much less
     
    mature than traditional Canvas Apps for file handling and attachment controls.
     
    Use Dataverse File columns for storage
    • Implement upload functionality using:
      • Power Automate
      • Azure Functions
      • Dataverse Web API
      • Custom React/PCF components
  • Henryzhou Profile Picture
    121 on at
    Hopefully it coming soon, and additionally, the sharepoint list looks like has the issue to add to Vibe code as well. 
  • Verified answer
    Valantis Profile Picture
    5,581 on at
     
    file upload to Dataverse is actually supported in Code Apps, it's just in preview and requires a specific setup.

    Microsoft docs confirm: "Image and file upload and download (preview). When you add Dataverse as a data source by using the npm-based cli, the generated functions are part of src/generated/services."

    To enable it:

    1. Use the PAC CLI to add Dataverse as a data source: pac code add-data-source -a dataverse -t your_table_logical_name

    2. This generates service files in /src/generated/services/ that include the file upload/download functions for File columns in your Dataverse table.

    3. Use the generated service to upload files in your React code. The Dataverse demo sample app on GitHub (PowerAppsCodeApps/samples/Dataverse) demonstrates the full pattern including file upload.

    Important: your Dataverse table needs a File column (not an Attachment), and the upload uses a three-step chunked upload pattern: InitializeFileBlocksUpload, UploadBlock, CommitFileBlocksUpload.

    This is specifically for Code Apps (the developer-focused path). If you're using the Vibe AI-generated experience rather than writing code directly, file upload isn't supported through that UI path yet and you'd need to switch to the code editor to implement it.
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

    💼 LinkedIn

    ▶️ YouTube

  • Henryzhou Profile Picture
    121 on at
    @Valantis I'm currently using the Vibe AI experience—just going through it. It seems like I might need to wait a bit for the functionality to be fully ready or perhaps request more licenses through MS options.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 430

#2
timl Profile Picture

timl 318 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard