Hi everyone,
I hope you are all well.
I am having issues getting a lookup field and image to save from the canvas app to the corresponding table in dataverse. The expression I am using is :
Patch(Expenses, Defaults(Expenses), {Name: User().FullName, Types: LookUp('Expense Types', 'Expense Type Name'=ListBox1.Selected.'Expense Type Name'), amount: TextInput1.Text, 'Receipt Image': AddMediaWithImage3}); Reset(ListBox1); Reset(TextInput1);
If(IsEmpty(Errors(Expenses)),
Navigate(success),
Notify(First(Errors(Expenses)).Message));
However, when it saves it is saving all data as expected minus the uploaded image and the lookup field. With this in mind, I am hoping one of you can point me in the right direction, I have spent the day searching various posts but so far nothing has worked.