I'm trying to create a basic lead intake form where I capture the First Name, Last Name, Email, Phone, Address1, City, State, Zip, Brand, Class, and Model of an item.
The lookup fields on the lead are tied to custom entities. There are three of them...
Brand
Class
Model
...For this particular app I would like to force the values for these three since they will always be the same. I can grab the id's easily enough but I can't seem to get it to allow me to write to these three fields. I tried using patch to just directly set the values but it throws a similar error, something to the effect of "the type of this argument does not match the expected type DataEntity." If I leave the threee lookup fields out of the equation everything works fine. If I add them in I get one of the aforementioned errors.