Hi, I have managed to update the ListA with values. However, list B is not getting updated with lookup. This needs to be updated with Lookup to list A. what could be wrong here? Also is it possible to bind these values back to controls when the items are updated.
Set(
AllActionsPlanString,
Concat(
galActionPlan.AllItems,
Concatenate(
txtTargetVal.Text,
"; ",
txtWhatTodo.Text,
"; ",
dtWhenReady.SelectedDate,
"; ",
comboResponsible.Selected.DisplayName,
"; ",
" | "
)
)
);
If(
IsBlank(lookupActionRecord),
Patch(
'ListB',
Defaults('ListB'),
{
Title: ProjectID,
RepeatedSection: AllActionsPlanString,
SLARiskAssessments:{
'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id:ProjectID,
Value:ProjectID
}
}
),
!IsBlank(lookupActionRecord),
Patch(
'ListB',
First(Filter('ListB', Title = Text(ProjectID))),
{
RepeatedSection: AllActionsPlanString
}
)
);