thanks for the help, am getting this error message,
This the code for my button:
Set(varJson,JSON(PenInput1.Image,JSONFormat.IncludeBinaryData));Set(varJson,Mid(varJson,24,Len(varJson)-24));Patch(Consents,Defaults(Consents),{Title:DataCardValue41.Text,MacAddress:DataCardValue43.Text,SerialNumber:DataCardValue44.Text,EmployeeID:DataCardValue45.Text,ReportDate:DateValue1.SelectedDate,ScannedBy:DataCardValue51.Text});Signature.Run(varJson);
Because you are not using the SubmitForm function, therefore you cannot use the form1.LastSubmit.ID. Basically you have not submitted your form, so there is nothing in LastSubmit.
1- Instead of the Patch function, simply use SumbitForm(Form1). When you have simple forms like this, always use SubmitForm instead of the Patch function.
2- The second mistake is where you are passing the PenInput1 to your flow. you Created the JSON variable, you need to pass that variable as your File Content. In my example, I named my variable as glbMyPenInput
got big red message from my phone: the requested operation is invalid.
server response invalid URL:
then long random texts
your Flow is not correct. You create the file within the Add Attachment action. you do not need a separate action of Create File.
it should look like this
thanks alot for your time and help
User | Count |
---|---|
136 | |
126 | |
73 | |
70 | |
69 |
User | Count |
---|---|
204 | |
201 | |
64 | |
63 | |
52 |