cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ArpG
Level: Powered On

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
Community Support Team
Community Support Team

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
Community Support Team
Community Support Team

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

ArpG
Level: Powered On

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
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (5,278)