cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ArpG
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
v-bacao-msft
Community Support
Community Support

 

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
v-bacao-msft
Community Support
Community Support

 

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

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 Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Kudoed Authors
Users online (1,386)