cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Capture Photo in PowerApps with Camera Controll and Patch it in Dynamics "entityimage"

I want to capture a photo on a PowerApps Screen I followed below steps and it works perfectly.

However, in the Canvas App Editor it gives me an error 

Operation: On a Camara Click it will store the photo in the Dynamics Entity as primary image (Field Name entityimage, Display Name: PrimaryImage).

 

Code is as Below:

 

UpdateContext({lvarPic:cam_getWAB.Photo});

Patch(MyEnitty,Defaults(MyEntity),
{

Name:recordName,
PrimaryImage:lvarPic

});
Navigate(NextScreen);

 

After Pubishing it works absolutely as expteced but it still in the App Editor shows error and I cannot test it further in my Desktop.
Error is as below:

 

 

PatchError.jpgPatchError2.jpg

 

 

 

 

 

 

 Any Help/Comment will be appriciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Capture Photo in PowerApps with Camera Controll and Patch it in Dynamics "entityimage"

 

Hi @ArpG ,

 

Please consider submitting your question on the PowerApps forum, it seems this is a PowerApps related issue.

https://powerusers.microsoft.com/t5/Power-Apps-Community/ct-p/PowerApps1

 

I hope you can get detailed answers here.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Capture Photo in PowerApps with Camera Controll and Patch it in Dynamics "entityimage"

 

Hi @ArpG ,

 

Please consider submitting your question on the PowerApps forum, it seems this is a PowerApps related issue.

https://powerusers.microsoft.com/t5/Power-Apps-Community/ct-p/PowerApps1

 

I hope you can get detailed answers here.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Frequent Visitor

Re: Capture Photo in PowerApps with Camera Controll and Patch it in Dynamics "entityimage"

Hi @v-bacao-msft ,

 

Thanks for guiding me.

I have added my question to PowerApps Community.
https://powerusers.microsoft.com/t5/Building-Power-Apps/Capture-Photo-in-PowerApps-with-Camera-Contr...

 

KR,

Arpan

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Users online (4,413)