I have a datacard on a form that has a dropdown box in the card. I can't resolve the 'Expected record value' error message in the card. My formula for default is thisitem.location. Any thoughts would be appreciated.
Thanks a lot! I got the same error and this fixed the issue!
I already did the same except setting the DefaultSelectedItems to {Value:Parent.Default} for the Combobox. This was the key part!
Hi @ahhollan ,
OK, I got you.
I just made a test based on your description and codes, but don't have any issue.
Could you please follow my steps and try again?
1. refresh your SharePoint connection, create a new EditForm
2. Unlock the Location Data Card, delete the original Text box and add a combobox
3. DataCard.Update: ComboboxName.Selected.Value , DataCard.Default: ThisItem.Location
4. ComboBox.Items: ["-","KOC","COC"], ComboBox.DefaultSelectedItems: {Value:Parent.Default}
5. ErrorMessage.Y: ComboboxName.Y + ComboboxName.Height
Please let me know the test result.
Sik
I misspoke on the field being fed by another SP list. The choices in the field are defined as shown in the screenshots previously loaded. I've attached a photo of the SP Location column property.
Hi @ahhollan ,
What does the sentence mean that the dropdown is fed by another SP list? I just found the Items property is not from sharepoint list.
If the Location is single line of Text, I don't think the Default property needs a record. Could you please share some screenshots of location column property in SharePoint list?
Sik
see attached for field properties.
see screenshot. It's actually with both Default and Update. Sorry for the confusion.
the problem is actually with the update property and not the default property.
still not working.