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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Upload multiple images...
Power Apps
Answered

Upload multiple images to dataverse

(0) ShareShare
ReportReport
Posted on by 67

Hello, I have the following query, I have a folder with 1000 images and a table with the same number of rows in Dataverse.

Is there a way to upload all the images of each line, without uploading one by one.

I have the same question (0)
  • tomsaudrins Profile Picture
    74 on at

    Is there any relation between the images and the records? Suppose the filename, for example, contains the record ID. In that case, you can have a Power Automate flow that gets all of the images from a SharePoint folder, finds the corresponding records by looking at the file name, and uses an action called "Upload a file".

  • Gerard_Araq Profile Picture
    67 on at

    Thanks for answering.

    Each image has the same name as the table row in dataverse.

    All images are uploaded to OneDrive for business.

     

    Gerard_Araq_0-1659469457875.png

     

  • tomsaudrins Profile Picture
    74 on at

    Awesome! In your case, you can either iterate over the dataverse rows or iterate over the photos.

    1. Iterate over all of the images in the OneDrive folder.

    2. Get the name of the image (2100. png), and extract the SKU number.

    3. List Rows action in Dataverse with row count = 1 and filter rows "sku_column eq varImageDisplayName"

    4. Use the Upload a file action, select the record ID, and upload the image contents to the record.

     

     

  • Gerard_Araq Profile Picture
    67 on at

    Yes, I have a column listed in the table.
    Now I do all those steps in power automate?

     

    Gerard_Araq_2-1659471634876.png

     

    Gerard_Araq_3-1659471662235.png

     

     

  • tomsaudrins Profile Picture
    74 on at

    Yes 🙂

  • Gerard_Araq Profile Picture
    67 on at

    Can you help me with a tutorial? I got lost trying 😥

  • tomsaudrins Profile Picture
    74 on at

    Hi Gerard,

     

    Where did you get stuck? Could you please share your flow here?

    Otherwise, you can follow this short guide, and adapt it to your business case: https://www.powerplatformtalk.com/upload-files-and-images-to-dataverse-in-bulk/

  • Gerard_Araq Profile Picture
    67 on at

     

    Use this variable:

    first(split(triggerOutputs()?['headers/x-ms-file-name'], '.'))

     

    Gerard_Araq_0-1659532963140.png

    Gerard_Araq_1-1659533085513.png

    Gerard_Araq_2-1659533116339.png

     

    Message that appears after starting test

     

    Gerard_Araq_4-1659533362314.png

    Gerard_Araq_5-1659533414265.png

     

     

  • Verified answer
    Gerard_Araq Profile Picture
    67 on at

    After a while I decided to check calmly and if it works 😁, thank you very much for the help! 👍

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard