Pow
1 TopicPatch in save function of SharePoint Integration
Hello, I am facing some issues in power app in save function. I used customize form with power app in SharePoint online. In save function , I need to use Patch() instead of submitform(SharePointform1). Sometimes it is saved data and sometimes it is not. How can I do it? Please help me! What's wrong in it? I used the following code. If(SharePointForm1.Mode=New, (Patch('Details',Defaults('Details'),{'IGT Site Code':{'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference", Value: DataCardValue163.Selected.Title},'Project Number':DataCardValue1.Text})), Patch(' Details',First(Filter('Details','Project Number'=DataCardValue1.Text)),{'IGT Site Code':{'@odata.type': "https://www.facebook.com/hashtag/microsoft?__eep__=6&__cft__[0]=AZUxfjJNxsGmOzPr2ofdzzZI94KWfmLaOp3HwEP2EYKe_sW7RIoAIO9j4XLNiEcLEOCaqyK5qAoBCwW6sFaYxGD-SLpdeh52Zm_mT9AWyubCXXxnEuge-VvBAyMKBkJrHfk&__tn__=R]-R.Azure.Connectors.SharePoint.SPListExpandedReference", Value: DataCardValue163.Selected.Title},'Project Number':DataCardValue1.Text}));