Can anyone help me hack through the following. I tried it and got a bunch of red. Any thoughts about where I'm off?
I have List and a Library. I tried to mimic what I've 'successfully' done for up such applications. This one I can't seem to figure out.
Patch('Fire and Life Safety System Annual Inspection List', Defaults('Fire and Life Safety System Annual Inspection List'),
{AssetID:FLSAssetIDDataCardValue.Text,
AssetDescription:FLSAssetDescriptionDataCardValue30.Text,
LocationID:FLSLocationIDDataCardValue27.Text,
LocationDescription:FLSLocationDescriptionDataCardValue28.Text,
Comments:FLSDefCommentsDataCardValue29.Text,
QuestionNo:QuestionNoDataCardValue26.Text,
DateofInspection:FLSLastInsepctionDataCardValue.SelectedDate});
Set(varDemoFromAttachControl, JSON(UploadAssistImageControl.Image, IgnoreBinaryData));
Set(varBase64Only, Mid(varDemoFromAttachControl, Find(",", varDemoFromAttachControl+1, Len(varDemoFromAttachControl) - Find(",", varDemoFromAttachControl)-1));
Set(
varFileLink,
FireandLifeSafetySystemAnnualInspectionUploaderFlow.Run(
FandLSITMUploadFormGallery.Updates.Park &
FandLSITMUploadFormGallery.Updates.AssetID &
FandLSITMUploadFormGallery.Updates.DateofInspection,
varBase64Only).sharepointfilelink);