<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Lookup a lookup on another entity using JScript</title>
	<atom:link href="http://mscrmblogger.com/2009/10/15/lookup-a-lookup-on-another-entity-using-jscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://mscrmblogger.com/2009/10/15/lookup-a-lookup-on-another-entity-using-jscript/</link>
	<description>Achieving it all with Microsoft Dynamics CRM™</description>
	<lastBuildDate>Wed, 11 Aug 2010 16:57:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Carlton Colter</title>
		<link>http://mscrmblogger.com/2009/10/15/lookup-a-lookup-on-another-entity-using-jscript/comment-page-1/#comment-457</link>
		<dc:creator>Carlton Colter</dc:creator>
		<pubDate>Sat, 12 Jun 2010 04:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://mscrmblogger.com/?p=188#comment-457</guid>
		<description>That is easier than what this actually does.  It looks up a lookup field on another entity, if you just want to lookup a field on a related entity, you could do that with this procedure now that I modified it.  I modified the script to take value as a returntype so that you can use it to do what you are trying to do.  You would call it with something like the line below.  If it doesn&#039;t work, let me know.

getEntityLookup(crmForm.all.contactlookup.DataValue[0].id, &#039;contact&#039;, &#039;contactid&#039;, &#039;phonefieldname&#039;,&#039;value&#039;);</description>
		<content:encoded><![CDATA[<p>That is easier than what this actually does.  It looks up a lookup field on another entity, if you just want to lookup a field on a related entity, you could do that with this procedure now that I modified it.  I modified the script to take value as a returntype so that you can use it to do what you are trying to do.  You would call it with something like the line below.  If it doesn&#8217;t work, let me know.</p>
<p>getEntityLookup(crmForm.all.contactlookup.DataValue[0].id, &#8216;contact&#8217;, &#8216;contactid&#8217;, &#8216;phonefieldname&#8217;,'value&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd</title>
		<link>http://mscrmblogger.com/2009/10/15/lookup-a-lookup-on-another-entity-using-jscript/comment-page-1/#comment-455</link>
		<dc:creator>Todd</dc:creator>
		<pubDate>Sat, 05 Jun 2010 01:18:28 +0000</pubDate>
		<guid isPermaLink="false">http://mscrmblogger.com/?p=188#comment-455</guid>
		<description>Thanks for the post. Perhaps I am &quot;thick&quot;...  but here is what I am trying to do. I an entity I created (called Goal) I have a lookup field for the Contact Name from the Contact entity. I want to put a Contact name in the Goal record. When the Contact name is selected, I want another field on the Goal entity (Contact phone) to automatically retrieve the Contact phone number from the Contact entity. Can your code do this?

Thanks</description>
		<content:encoded><![CDATA[<p>Thanks for the post. Perhaps I am &#8220;thick&#8221;&#8230;  but here is what I am trying to do. I an entity I created (called Goal) I have a lookup field for the Contact Name from the Contact entity. I want to put a Contact name in the Goal record. When the Contact name is selected, I want another field on the Goal entity (Contact phone) to automatically retrieve the Contact phone number from the Contact entity. Can your code do this?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
