Hello there,
I'm working on a Power App for interventions and delivery activities so that my technicians can have clients sign a receipt. This app is designed to be filled out by the technician and signed by the client. After hitting the "Submit" button, we aim to create a service activity in Dynamics, populating the required fields (two of which are custom).
However, there is an issue, everything works except for the signature field. This field in the app requests an image upload, so I made changes to replace the uploaded image with the image from the PenInput. I even created two separate buttons to observe the results. But when I submit the form, I encounter the following error message: "Network error during the use of the function Patch: invalid operation." I assume the submitForm function is using the patch to update the information in Dataverse, but I don't quite understand why the image field would generate an error.
For context: I have multiple fields that are presets for service activities in Dynamics. Then, I created an image field that serves as my signature. This field requires an image upload, so I added a PenInput alongside that sends the input to the previous field when I click on this button:
UpdateContext({currentSignature:PenInput1.Image}) &&
UpdateContext({clearPenInputFlag:true}) &&
UpdateContext({clearPenInputFlag:false})
I ensured it is updating by displaying the signature in the field. However, when I try to submit, I encounter the error I mentioned with the patch function.
Has anyone else experienced this problem?
Thanks in advance for your answers.
Flavien.

Report
All responses (
Answers (