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

MS CRM 2011 ONLINE - default lookup issue

$
0
0

I debugged these values from lookup:

id: 03D34054-8209-E311-89B1-FE5DF65E5123 name: Remember add customer, entityType: account

How I should enter those values to this correctly if I want to set a default lookup:

Xrm.Page.getAttribute("attributename").setValue([{ id: recorid, name: recordname, entityType: entityname}]);

If I use this:

Xrm.Page.getAttribute('customerid').setValue([{id: 03D34054-8209-E311-89B1-FE5DF65E5123, name: Remember add customer, entityType: account}]);

I only get an error.

I am setting up default lookup for order's customer field. The customer's name is Remember add customer.


Viewing all articles
Browse latest Browse all 1000

Trending Articles



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