cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tekele
Regular Visitor

Picture attatchment to entity form.

Hey,

 

I'm using a portal with an entity form for employees to input their daily capacity. Is there any way I could add a possibility to take a picture as an attachment to the form. Actually any way to add a picture from phone camera that somehow binds to the form submission would be great. 

 

Is there any to achieve this?

1 ACCEPTED SOLUTION

Accepted Solutions
OOlashyn
MVP

Hi @Tekele,

 

You just need to enable the possibility to attach a file on an entity form (check this official docs  - Entity Form -> Additional Settings ->Attach File). After you will enable it "attach file" button will appear on a form which basically will be a standard HTML file input. Because of this when you will try to use it on mobile it will allow you to take a picture via camera app and attach that photo.

 

Hope this will help.

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.

View solution in original post

2 REPLIES 2
Satish-Reddy
Kudo Kingpin
Kudo Kingpin

You can write custom HTML/JS to take a photo and upload it to CDS using a Web API call.  

 

Native support for Web API connection is coming soon. Unfortunately, it's not available for early access.

https://docs.microsoft.com/en-us/power-platform-release-plan/2020wave1/microsoft-powerapps/web-apis-...

 

For now, you can make your own Web API authentication, but it needs a lot of work such as registering the application in Azure AD. 

 

Please mark it as answer if my post helps.

 

Thanks

Satish

https://pascalcase.com

 

OOlashyn
MVP

Hi @Tekele,

 

You just need to enable the possibility to attach a file on an entity form (check this official docs  - Entity Form -> Additional Settings ->Attach File). After you will enable it "attach file" button will appear on a form which basically will be a standard HTML file input. Because of this when you will try to use it on mobile it will allow you to take a picture via camera app and attach that photo.

 

Hope this will help.

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Top Solution Authors
Users online (5,647)