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?
Solved! Go to Solution.
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.
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.
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
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.