
Announcements
I am working with AI Builder within a canvas app and I am patching the field data into my Dataverse form. I would like to also save the file that is uploaded into my AI model on the Dataverse record.
I know I need to leverage Power Automate but am stuck on what that flow would look like when I am already using the Patch function. Here is my current PowerFX formula before adding the {powerautomateflow.Run} code.
If(
!IsBlank(FirstName.Text),
Patch(
'License Plate Requests',
Defaults('License Plate Requests'),
{
'Requestor First Name': FirstName.Text,
'Requestor Last Name': LastName.Text,
'Vehicle Make': Make.Text,
'Vehicle Year': Value(Year.Text),
'VIN Number': Value(Vin.Text),
Signature: penSignature.Image,
'License Plate Type': ddPlateType.Selected.Value
}
);
Reset(penSignature);
Notify(
"Your request has been submitted!",
NotificationType.Success
),
Notify(
"Your form is missing fields",
NotificationType.Error
)
)