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 / image or photo in CDM ...
Power Apps
Answered

image or photo in CDM Common Data Model

(0) ShareShare
ReportReport
Posted on by 78

Hi all.

 

Trying to figure if i can add image or photo into a CDM field rather than through an excel file like in site locator template.

I managed to save a photo fields (id, photoid, ...) but seems like nothing goes into the image field.

Categories:
  • Verified answer
    Vijeta Profile Picture
    Microsoft Employee on at

    Hello Julien,

    Thank you for your feedback. In CDM you can create a field of type Image in the entity and then upload an image through an app. You could try app from data to upload an image to the entity. In future you will be able to bulk import images through the data import functionality. What is the size of image you are trying to upload?

  • Julien Profile Picture
    78 on at

    For the size, no idea. It depend of the mobile camera i think so no idea at all.

    Will check app from data to see if i got a solution or an alternative. Basicaly i'm trying to do the same as in the site locator template but on a CDM and not on an excel file.

  • Julien Profile Picture
    78 on at

    Any ideas?

  • Julien Profile Picture
    78 on at

    Ok achieved with your solution.

    Just put a form and select your image datacard. Don't forget the requiered fields.

     

    But it looks in fact i can't use patch fonction on CDM's entities. Maybe i got something wrong about patch and updatecontext commands because they work on excel files as supposed. Is that a normal behavior or something that will be patched later?

     

    By the way does someone know how to get back the image files that get stored in entities? Should i put a savedata with the submit form.

     

     

     

  • hpkeong Profile Picture
    2,944 on at

    Hi

     

    Patch for text and images are the same.

    Patch(Table1, Defaults(Table1), {Field1: TextInput1.Text, Field2: image1.image})

    and for getting the the image in your gallery or image, as long as you include in the item, the required field, it will appear automatically.

    Nothing special you need to do.

  • Julien Profile Picture
    78 on at

    Well tried two days to adapt SiteLocator CameraPhotos multipatch from an excel file to a CDM, it never worked.

     

    The other question that doesn't get answered is when i record an image into a CDM entitie where or how can i get a jpg/png (wathever) image file. When i open database in excel i just get the non image fields. How can i extract image from such a database?

  • hpkeong Profile Picture
    2,944 on at

    Hi

     

    As far as I know (and experience), we can view the images in our gallery / image.

    However, you can find any path (even in exported Excel file from CDM).

    This is different from using Excel in Cloud as Database as you can have the path of the images and images are stored in Image Folder automatically.

     

    Hopefully PG has the idea on how to batch download images whenever you wish to.

    I get to know that Images Batch upload is on the roadmap.

     

    Hope this helps.

  • Vijeta Profile Picture
    Microsoft Employee on at

    Batch import/export of images is in the roadmap.

  • Yahya Manasrah Profile Picture
    515 on at

    After CDM upgrade few weeks ago, i am jnable to find Image datatype when creating a new record in a CDM Entity. what has happened?

  • CU04031523-0 Profile Picture
    51 on at

    Same here. I do not see type Image as an option 😞

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard