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:
Any Help/Comment will be appriciated.
Solved! Go to Solution.
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,
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,
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
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.