Skip to main content

Notifications

Community site session details

Community site session details

Session Id : lcnpD4MHP9VUD8hcVov9oc
Power Apps - Microsoft Dataverse
Answered

Adding Image to Dataverse and showing in PowerApp Canvas App.

Like (0) ShareShare
ReportReport
Posted on 21 Oct 2022 13:58:47 by

I am trying to add images to my Dataverse table (and then view them in each profile in PowerApps) and have attempted this: https://www.powerplatformtalk.com/upload-files-and-images-to-dataverse-in-bulk/ but it fails.

 

Being new to Dataverse and PowerAutomate, I'm not sure I did it correctly:

ceg_0-1666359976349.png

These are my Dataverse columns:

ceg_0-1666360341587.png

(I had to have two columns for the stunt numbers so I could search by text for the student numbers)

 

 

In my PowerApps, it doesn't show up either:

ceg_1-1666360520307.png

I need it showing in the form rather than a gallery, just how my app is constructed.  Though I'm guessing this bit isnt working as it's not uploading to Dataverse table yet.

  • Verified answer
    c-e-g Profile Picture
    on 25 Oct 2022 at 15:35:26
    Re: Adding Image to Dataverse and showing in PowerApp Canvas App.

    Thank you @EricRegnier for your help.
    I worked out the RowID from this article: https://learn.microsoft.com/en-gb/power-automate/dataverse/get-row-id, and created my flow within the PowerApp app - using the "add a image" media input.

    ceg_0-1666711977859.png

    I have no idea how it ended up working, but it works!! and saves nicely in my Dataverse table on the correct row, so thank you for your help!

  • EricRegnier Profile Picture
    8,714 Most Valuable Professional on 24 Oct 2022 at 20:51:31
    Re: Adding Image to Dataverse and showing in PowerApp Canvas App.

    Hi @c-e-g, You get the row ID from previous action(s) where you query Dataverse based on the logic to update the desired records' images. So in other words, the mapping logic from the images to database records/rows. You can use the List Rows (https://learn.microsoft.com/connectors/commondataserviceforapps/#list-rows) and loop through the results to get the Row ID.
    Hope this helps!

  • c-e-g Profile Picture
    on 24 Oct 2022 at 11:52:48
    Re: Adding Image to Dataverse and showing in PowerApp Canvas App.

    Thank you @EricRegnier, I saw this article but it doesnt tell you where to obtain the RowID.
    Would you be able to help me here?

  • Verified answer
    EricRegnier Profile Picture
    8,714 Most Valuable Professional on 22 Oct 2022 at 05:13:07
    Re: Adding Image to Dataverse and showing in PowerApp Canvas App.

    Hi @c-e-g,

    This MS document explains it better than me to set/update an image column from Power Automate: https://learn.microsoft.com/power-automate/dataverse/upload-download-file#upload-file-or-image-content

     

    Then to display an image is even simplier, simply reference that Dataverse Image column in a Image control:]. For example:

    Gallery1.Selected.'My Image'.Full

     Hope this helps!

  • c-e-g Profile Picture
    on 21 Oct 2022 at 14:00:22
    Re: Adding Image to Dataverse and showing in PowerApp Canvas App.

    I've also tried to upload the image in the PowerApp and Patch to the Dataverse table, but that doesn't seem to work either.

     

    Any help would be greatly appreciated!

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics