I am using a SharePoint list as my datasource (Onboarding) for my canvas powerapp. I have researched the field disappearing since Tuesday and cannot seem to get it to work properly. Once I set up the Update property on the Director field, it worked to save it to the form but would throw a Bad Gateway error. It is not saving to the form anymore, though, either. The director field is filtered by the value in the division field. PLEASE HELP! I have been messing with this for days and did not have a bad gateway error until Tuesday after months of testing. It was after I added the function to the Update and DefaultSelectedItems that it started throwing the error when editing an existing item but when I create a new item, it sends the data to SharePoint except for the Director values (Result) and loses the data in the LUDirectorDataCardValue11 dropdown box. IT IS NOT A COMBO BOX. Any help will be very, very appreciated.
Division (Choice column)
LUDirector (LU Column with the mulitple choices checked to another SharePoint list called DivisionDirector )
LUDirectorDataCardValue.Item:
Distinct(Filter(Choices([@Onboarding].LUDirector),Value in Filter(DivisionDirector, LUDivisionsDivDir.Value = DivisionDataCardValue11.Selected.Value).txtDirector),Value).Result
LUDirectorCard.Update:
ForAll(
DirDataCardValue11.SelectedItems,
{
Id: ID,
Value: LUDirector
}
)
LUDirectordDataCardValue11.DefaultSelectedItems:
ForAll(
ThisItem.LUDirector,
{
LUDirector: Value,
ID: Id
}
)