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
Super User
Super User

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
Continued Contributor
Continued Contributor

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
Super User
Super User

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

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,180)