Answered by:
CRM 2011: Anyone help with retrieving an entity from a lookup using Javascript

Question
-
Trying to get my head around using javascript to retrieve an entity from a Lookup and then extract a specific field value.
HAd a look at the SDK but it seems to be based on something called the REST Endpoint (whatever that is).
Anyone seen a sample of how to do this which is actually clear?
Friday, June 17, 2011 2:18 PM
Answers
-
You can use a retrieve or retrievemultiple request.
http://mileyja.blogspot.com/2011/03/crm-2011-retrievemultiple-calls-in.html
http://mileyja.blogspot.com/2011/04/how-to-use-retrieve-messages-in-jscript.html
Jamie Miley
http://mileyja.blogspot.com
Linked-In Profile
Follow Me on Twitter!- Proposed as answer by Jamie MileyModerator Friday, June 17, 2011 2:56 PM
- Marked as answer by Gordon Johnston Friday, June 17, 2011 3:42 PM
Friday, June 17, 2011 2:56 PMModerator -
Hi,
As Jamie menioned you can use the Retrieve and Retrieve Multiple calls, you may also refer to the following example for further clearifications:
http://worldofdynamics.blogspot.com/2011/06/microsoft-dynamics-crm-2011-retrieve.html
Jehanzeb Javeed
http://worldofdynamics.blogspot.com
Linked-In Profile |CodePlex Profile
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".
- Proposed as answer by Jehanzeb.Javeed Friday, June 17, 2011 3:10 PM
- Marked as answer by Gordon Johnston Friday, June 17, 2011 3:42 PM
Friday, June 17, 2011 3:10 PM
All replies
-
You can use a retrieve or retrievemultiple request.
http://mileyja.blogspot.com/2011/03/crm-2011-retrievemultiple-calls-in.html
http://mileyja.blogspot.com/2011/04/how-to-use-retrieve-messages-in-jscript.html
Jamie Miley
http://mileyja.blogspot.com
Linked-In Profile
Follow Me on Twitter!- Proposed as answer by Jamie MileyModerator Friday, June 17, 2011 2:56 PM
- Marked as answer by Gordon Johnston Friday, June 17, 2011 3:42 PM
Friday, June 17, 2011 2:56 PMModerator -
Hi,
As Jamie menioned you can use the Retrieve and Retrieve Multiple calls, you may also refer to the following example for further clearifications:
http://worldofdynamics.blogspot.com/2011/06/microsoft-dynamics-crm-2011-retrieve.html
Jehanzeb Javeed
http://worldofdynamics.blogspot.com
Linked-In Profile |CodePlex Profile
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".
- Proposed as answer by Jehanzeb.Javeed Friday, June 17, 2011 3:10 PM
- Marked as answer by Gordon Johnston Friday, June 17, 2011 3:42 PM
Friday, June 17, 2011 3:10 PM