When I use patch , try to write the value of the dropdown “result “ into Item List , that doesn’t work , no value was written into the list , no error message. But other fields can be successfully write into Item List.
The dropdown is "Result"
I can write the selected value into a collection: Cltn_Item
But when I use patch to try and write the value of the "Result" dropdown into the list item, it doesnt work. No value was written and no error message but other fields can be successfully written into the list item.
Solved! Go to Solution.
In last screenshot, of the Patch, the arrow is pointing to Reason.
However, Result is missing entirely in the screenshot.
If you modify your Patch to include Result too, does it work then?
In last screenshot, of the Patch, the arrow is pointing to Reason.
However, Result is missing entirely in the screenshot.
If you modify your Patch to include Result too, does it work then?
Hi @golfnutt82 ,
Can you confirm the column type of Result is Choice?
If so, you can either set the Items property of the dropdown to:
Choices(ReturnComponentsItem.Result)
or change the Result part of the Patch function to:
Result: {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id: 1,
Value: txt_result.Selected.Value
}
Your absolutely correct and missed adding Result.
Also, the choice value "Scap" is missing the "R" so the values were not matching.
Updated the patch and everything works.
This is what happens when one puts in 12+ hours staring at a PC, ugh
Thank you