I have a form for recording new entries on a Petty Case Sharepoint list. The form contains a few datacards (which work fine) and I am trying to include a camera option to take a photo of the receipt (which isn't working).
I had been using SubmitForm with just the text and number datacards, but have hit a bit of wall when trying to include an ImageData dadatcard or using the attachment facility.
I've experimented with a few options I have found online and have managed to get the camera on its own to work on a test screen using: Patch(BH_PettyCash,Defaults(BH_PettyCash),{'Description (Title)':TextInput2.Text,ImageData:First(cmrImg).Url}) **This employs a text box which is not required in my form, but again I'm not sure how to remove this from the formula.
I have also adjusted the Sharepoint list so that clicking on Title brings up the photo as well in the edit screen, so any soultion hopefully won't change this.
So my question is: how do I include the image taken by the camera in the SubmitForm (or Patch)?