Hi Guys,
I am working on an app that is connected to a sharepoint library.
I capture a photo with the camera component and fill out additional data, then i put everything in my sharepoint library via a power automate flow. i basically followed this tutorial: https://www.youtube.com/watch?v=P6xMLprDTjU
I have to do it with a flow because the attachment option isnt working offline.
After i entered all information i use the collect function, so that when i have internet again i can loop through all elements and upload them with my flow.
This works when i test my app in browser, however when i try it on my ipad air5 i get this error in power automate:
Unable to process template language expressions in action 'Compose' inputs at line '0' and column '0': 'The template language function 'dataUriToBinary' expects its parameter to be formatted as a valid data URI. The provided value '/SessionStorage/11ED8ADA-4D47-4FE9-A8FB-1ABF1236E7C2.jpeg' was not formatted correctly. Please see https://aka.ms/logicexpressions#dataUriToBinary for usage details.'
So it seems that the format of the picture is different on the ipad? can i convert the ipad photo format to the expected data uri? because the ipad would be the use case i have...
I tried turning "optimize images for upload" on but it didnt seem to change anything...
also on that note - does it even work for multiple users to use the app, when they didnt create the flow? do they have access?
here is the flow:
thats my collect function to collect all data:
In addition to that:
when I print First(colPhoto).Value
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAHgCAYAAAA10dzkAAAAAXNSR0IArs4c6QAAIABJREFUeF6kvWmzZcl1HZb3vfvmGl5NXVU9sEdMBAnQGmxJNElZZtikbOmrZcp2hKwIO/wnFPoi2vpkfXDYDjuCsmQrLFshWUFRks0IwiQBAgQBEkADaICNHtCoHqqrqmt+83Ada629MvfJe241ZL2I7vfqDufkydy599prDzn563/tP5+dnp6W6fK0r [...] (like a million characters long)
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional