Hi All,
i have one app which is connected to 2 sharepoint list, one has data and one is empty.
i create one form to update first sharepoint list
it works perfectly and is updating records in first sharepoint list
Now i want to put those edited record in second sharepoint
like whenever i update in first and it will be added as records in second sharepoint list.
here is my powerapps code that i put in submit button"
UpdateContext({varupdatedby:User().Email});UpdateContext({varupdateddatetime:Now()});
Patch(
'MappingUI-UpdateMapPlanParent',
Defaults('MappingUI-UpdateMapPlanParent'),
{Title:DataCardValue58.Text,
PlanCodeExt:DataCardValue59.Text,
PlanNameExt:DataCardValue67.Text,
PayerCodeExt:DataCardValue68.Text,
PayerNameExt:DataCardValue69.Text,
ARGroup:DataCardValue71.Text,
FinancialClassNameExt:DataCardValue70.Text,
UpdatedBy:varupdatedby,
UpdateDate:varupdateddatetime} );
SubmitForm(Form6_6)&&(Notify("New Mapping is succesfully updated",NotificationType.Success,2000))&& Navigate(MapInsuranceMain);
here is my sharepoint list details:

any advice, suggestion will be helpful
Thanks