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 / How to capture an Imag...
Power Apps
Unanswered

How to capture an Image from Canvas PowerApps and save it in the "Record of entity"/'As attachment" in Dynamics365(CRM).

(0) ShareShare
ReportReport
Posted on by 10

Hi,
Case:
According to business requirement, we need to create a Canvas PowerApp in which, users/customer raised their request/problem/cases for any problem regarding our products/items. Our executive needs to analyze that and need to go on customers place and need to register and complain regarding same.
How to Executive Register complain

Executive will have an Canvas PowerApp through which he/she will select category of product, in a comment box he write comments related to same and a camera icon by clicking on which its opening camera(taken this from media) through which he/she will click picture of defective/problematic product.
PowerApps which is created for it:
I have created an Canvas PowerApp for it in which I am having two screens.
On screen1 I have populated case entity using common data service(entity taken from Dynamics365). By clicking on following case a Screen2 should be open on which, we are having a Drop Down list  to select product category, a text input field as comment box and a camera icon(taken from media) to capture image of product and a submit button to complete send following things in the record of entity in Dynamics365.

I have also Imported/added this PowerApp in a field(non empty field) of case entity.
I am able to store product type and comments in case entity of D365, for this I have used MS Flow in PowerApps.
Challenge/Problem: How to click image/picture from camera icon and how send it in record of entity in Dynamic365(CRM)? Do I need to store this image in somewhere in PowerApps or we can directly send it?

Note: For the better understanding of my scenario I am attaching picture of my PowerApp.

Screen1.png
screen2.png
Categories:
I have the same question (0)
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @rchavhanCAP11 ,

    Do you want to update D365 by using captured pictures in PowerApps?

    Firstly you need to create an image field in your entity.

    Please note that you need to have read and write permission to Note entity.

    Because all the attachments will be stored in Note entity.

     

    Then when you click the camera control, it will take one picture.

    You could use Camera1.Photo to represent the photos that you captured just now when updating.

     

    If you want to update with several images at the same time, you could save all the captured pictures in one collection.

    Please set the Camera's OnSelect:

    Collect(MyPix, MyCamera.Photo)

    Then when you click the camera once, one new captured picture will be saved in the collection.

    You could use this collection to update.

     

    Here's a doc about this control for your reference:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-camera

     

     

    Best regards,

  • rchavhanCAP11 Profile Picture
    10 on at

    Hi,
    I have previously I was working on a system entity(Case entity), so that was not allowing me create Image Field on a form. Now I have created a custom entity and created a custom field Picture(Image Type) on it but I can not able to add this field on the form. When I am checking all fields of the form I can visible but I am open form page to add Image field on form its not visible and even its not added somewhere.(I am attaching screenshot of it) 
    I have researched about it and got to know that we can only use one image field on one entity and that Image/picture can only be use as Profile Picture/Record Picture for that particular record. 
    Here I am attaching a link for the, which is describing that we can use image as a Profile Picture/Record Picture only.

    https://community.dynamics.com/crm/b/passiondynamics/posts/how-to-enable-image-for-an-entity-in-microsoft-dynamics-crm
    Please help me to move further, Thanks in advance.


    DemoCases form page.png
    Entity All Fields.png

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 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard