Hi all,
I have a issue with my expense report, I am trying to use the camera to save picture of receipt to SharePoint list as attachment but it does not work for me, please help.
I have added the camera and a button.
Button Onselect is
Set(varName,GUID());Collect(colImages,{DisplayName: varName & ".jpg",Id: varName & ".jpg",Value:Camera1.Photo});
Then the attachment datacard, Default and Update is set to colImages.
But when i click save and submit the attachment is not updating into sharepoint list.
Save: SubmitForm(NewLineItemForm);SubmitForm(NewLineItemExpenseStatusForm);Set(SelectedReport,LookUp(Expenses,ID=SelectedReport.ID));Navigate(ViewReport,None)
Submit: SubmitForm(ViewReportEditForm); ApproveExpense.Run(SelectedReport.ID);Navigate('My Expenses',ScreenTransition.None)
Should i do anything here so that the attachment is saved to SharePoint list.