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

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

 

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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Users online (1,465)