Hi Guys,
i am using the Camera control to capture a picture that i want to upload to sharepoint via power automate flow.
I am stuck at converting the format to binary so the flow works...
I have:
ClearCollect(colPhoto, Camera1.Photo)
when I print First(colPhoto).Value
on the ipad air 5 i get:
/SessionStorage/841ED2CA-E651-402F-972F-4F81B8DC0F4B.jpeg
for the browser (edge) capture i get:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAHgCAYAAAA10dzkAAAAAXNSR0IArs4c6QAAIABJREFUeF6kvWmzZcl1HZb3vfvmGl5NXVU9sEdMBAnQGmxJNElZZtikbOmrZcp2hKwIO/wnFPoi2vpkfXDYDjuCsmQrLFshWUFRks0IwiQBAgQBEkADaICNHtCoHqqrqmt+83Ada629MvfJe241ZL2I7vfqDufkydy599prDzn563/tP5+dnp6W6fK0r [...] (like a million characters long)
so there is definitely a mismatch in formats here.. i tried the dataUriToBinary function and base64ToBinary but none of them work, i always get
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/5C573612-E4EE-4C0E-830C-9703DDB10BD3.jpeg' was not formatted correctly.
It works on browser, just not on the ipad
Any help would be much apprechiated, thank you!