I'm having an issue with trying to use the Collect function to pass an image to my dataverse table.
This is my original collect statement:
Collect('Inspection Records', {Result:DefectMode.Selected.'Defect Mode', Serial:SN.Text, 'Inspection Type':inspectArea.SelectedText.Value, WO:'Work Order'.Text, InspectorID:Employee.Selected.ID,Inspector:Employee.Selected.Name,Ref_Des:Concat(RefDes.SelectedItems, RefID, ", "),BC:BoardC})
I expected that I could add in DefectPicture:'UploadedImage' but it doesn't expect Image type. After searching I saw that the standard practice would be to use PowerAutomate to add the image to the table, however I'm not sure as to how to get the autogenerated rowID from the collect statement just made.
Is it possible to return a Autonumber from a collect function, or is there a better way to upload the image to the row that the data is collected for?
My thought is with the same pushbutton I collect and call function eg.
Collect;
Call Powerautomate function with Image data & RecordID;
Then reset all fields
Is there a way to do this?