Hi everyone,
I am trying to store 2 types of photos. From Camera control and from Add Media control.
If user is online, then the submit form sends the photos to attachment column.
Camera Control On select:
Collect(
ColImages,
{
DisplayName: Label6_4.Text & ".jpg",
Id: Label6_4.Text,
Value: Camera1_4.Photo
}
);
Add Media control On Select:
Collect(
ColImages,
{
DisplayName: "Uploaded" & Label6_4.Text & ".jpg",
Id: "Uploaded" & Label6_4.Text & ".jpg",
Value: UploadedImage3_4.Image
}
);
If user is offline, pictures from both control are stored in a collection and then sent to a library.
The Camera control images are working fine, the images are created in the library (via Flows).
However, the images from the Add Media control are failing (Convert to Binary image):
InvalidTemplate. Unable to process template language expressions in action 'Convert_to_binary_image' inputs at line '1' and column '16011': 'The template language function 'dataUriToBinary' expects its parameter to be formatted as a valid data URI. The provided value 'appres://blobmanager/bf69506ef8284392921febb1982d43d5/1' was not formatted correctly. Please see https://aka.ms/logicexpressions#dataUriToBinary for usage details.'.

Any idea if there is a difference between these 2 controls?