I have excel stored in Google Drive as my data Scource. In my excel I have (TINumber, CustomerName, SupportDepartment, From, To,Details, Category, Employee, Manager, and UniqueId). In the app I have a DataForm which only includes: TINumber, CustomerName, SupportDepartment, Category, From, To, and Details to ask the user to fill these fields. However, When I want to store them I want to add the Employee , Manager and UniqueId to the same record as well. I tried :
SubmitForm(NewEntry);
Patch(SubmissionForm, Defaults(SubmissionForm),
{
TINumber: DataCardValue2,
Details: DataCardValue6,
CustomerName: DataCardValue5,
From: DateAdd(FromDate, TimeZoneOffset(FromDate), Minutes),
To: DateAdd(ToDate, TimeZoneOffset(ToDate), Minutes),
SupportDepartment: DataCardValue7.Selected.Value,
Category: DataCardValue8.Selected.Value,
Employee: MyEmail,
Manager: DefaultManagerEmail,
UniqueID: NewUniqueID+1
}
);
Which is creating 2 seperate rows. (attached screenshot)
I tried to use only either Patch or SubmitForm but nothing.
I will be more than happy if anyone could help me out regarding this issue.