You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to set the value of a Lookup field in the onbeforesubmit method invoked by a DynamicForm control. When I try to create a new list item from the dynamic form the onbeforesubmit is intended to set the value of a lookup field to a specific Id.
The "Case" field is a simple lookup to another list in the same web and was created with default Title option. Works fine in sharepoint online out of the box forms.
When I use the DynamicForm to create a new list item I get the following error when clicking [Save]: Error making HttpClient request in queryable [400] ::> {"error":{"code":"-1, Microsoft.SharePoint.Client.InvalidClientQueryException","message":{"lang":"en-US","value":"Incompatible type kinds were found. The type 'SP.FieldLookupValue' was found to be of kind 'Complex' instead of the expected kind 'Entity'."}}}
The text was updated successfully, but these errors were encountered:
[x] Question using release 3.19.0
I am attempting to set the value of a Lookup field in the onbeforesubmit method invoked by a DynamicForm control. When I try to create a new list item from the dynamic form the onbeforesubmit is intended to set the value of a lookup field to a specific Id.
component from render:
method I am testing:
The "Case" field is a simple lookup to another list in the same web and was created with default Title option. Works fine in sharepoint online out of the box forms.
When I use the DynamicForm to create a new list item I get the following error when clicking [Save]:
Error making HttpClient request in queryable [400] ::> {"error":{"code":"-1, Microsoft.SharePoint.Client.InvalidClientQueryException","message":{"lang":"en-US","value":"Incompatible type kinds were found. The type 'SP.FieldLookupValue' was found to be of kind 'Complex' instead of the expected kind 'Entity'."}}}
The text was updated successfully, but these errors were encountered: