Quantcast
Channel: Forum CRM Development
Viewing all articles
Browse latest Browse all 1000

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 1000

Trending Articles