Hi Guys,
this is UI face I submit the record in every field then I am using patch function in Onchange property into textfield
then I saw the SharePoint list it's showing like multiple record.. you can see the screenshot I shared below..
then How to save a single record change or update the data in text I want to store single record in SP list...
so could you please help How to sortout this issues......
ForAll(
col_Benefitlist,
If(
ThisRecord.ID = Blank() ,//And
//!IsBlank(benefitdescriptionlist),
//Notify("Patching");
Patch(
listBenefitDrafts,
Defaults(listBenefitDrafts),
{
'Project Name': DataCardValue39_3.Text,
benefitdescriptionlist: ThisRecord.benefitdescriptionlist,
Metrics: ThisRecord.Metrics,
Impactstakeholderlist: ThisRecord.Impactstakeholderlist
}
),
//Notify("Updating"),
//I am using with condcondition Update the data when change in previous data
With(
{
_id: ThisRecord.ID,
BenefitDescription: ThisRecord.benefitdescriptionlist,
Metric: ThisRecord.Metrics,
ImpactedStakeholders: ThisRecord.Impactstakeholderlist
},
//Notify("Patching");
Patch(
listBenefitDrafts,
LookUp(
listBenefitDrafts,
ID = _id
),
{
'Project Name': DataCardValue39_3.Text,
benefitdescriptionlist:ThisRecord.BenefitDescription,
Metrics:ThisRecord.Metric,
Impactstakeholderlist:ThisRecord.ImpactedStakeholders
}
)
)
)
);
above code are written every field....like 3 text field I have.....How to update and save in single record...

Report
All responses (
Answers (