Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

CRM 2016 JS Set Lookup type mismatch error

$
0
0

When I set the lookup in java script I get a type mismatch error after all Java has run.

Here is the reults of a function I have to create the array and return it to the setvalue statement.

return

[{ id: entity.attributes[field].id, name: entity.attributes[field].name, entityType: entity.attributes[field].logicalName}]

The strange thing is the lookup works I can click the link and go to the record selected.

Any guidance would be appreciated.


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>