<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Adding LinkedIn Contact Searches</title><link>http://blogs.msdn.com/dynamicscrmonline/archive/2009/04/07/adding-linkedin-contact-searches.aspx</link><description>LinkedIn is fairly popular business networking tool that allows you make connections and take advantage of relationships based on those connections. You can send messages and request to many connections. Since these relationships exist across multiple</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Adding LinkedIn Contact Searches | ASP NET Hosting</title><link>http://blogs.msdn.com/dynamicscrmonline/archive/2009/04/07/adding-linkedin-contact-searches.aspx#9537006</link><pubDate>Wed, 08 Apr 2009 02:34:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9537006</guid><dc:creator>Adding LinkedIn Contact Searches | ASP NET Hosting</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://asp-net-hosting.simplynetdev.com/adding-linkedin-contact-searches/"&gt;http://asp-net-hosting.simplynetdev.com/adding-linkedin-contact-searches/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Adding LinkedIn Contact Searches</title><link>http://blogs.msdn.com/dynamicscrmonline/archive/2009/04/07/adding-linkedin-contact-searches.aspx#9537520</link><pubDate>Wed, 08 Apr 2009 09:11:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9537520</guid><dc:creator>Microsoft Dynamics CRM Online Team Blog</dc:creator><description>&lt;p&gt;LinkedIn is fairly popular business networking tool that allows you make connections and take advantage&lt;/p&gt;
</description></item><item><title>re: Adding LinkedIn Contact Searches</title><link>http://blogs.msdn.com/dynamicscrmonline/archive/2009/04/07/adding-linkedin-contact-searches.aspx#9567098</link><pubDate>Fri, 24 Apr 2009 20:54:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9567098</guid><dc:creator>fadam</dc:creator><description>&lt;p&gt;Exported the ISV config but there is no Contact Element. &amp;nbsp;We are vanilla at this point so I have little context as to where to place your script. &lt;/p&gt;
</description></item><item><title>re: Adding LinkedIn Contact Searches</title><link>http://blogs.msdn.com/dynamicscrmonline/archive/2009/04/07/adding-linkedin-contact-searches.aspx#9605219</link><pubDate>Tue, 12 May 2009 03:24:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9605219</guid><dc:creator>dbenton</dc:creator><description>&lt;p&gt;Hi, Thanks for a great start!&lt;/p&gt;
&lt;p&gt;I'm trying to narrow the result set by search current and past companies. I have the below working except for the crmForm.parentcustomerid.DataValue. The result appears to be the ID (not surprised) instead of the actual name. How do I get the company name so I can insert it into the search string?&lt;/p&gt;
&lt;p&gt;Any help is greatly appreciated!&lt;/p&gt;
&lt;p&gt;var last='&amp;amp;amp;lname=';&lt;/p&gt;
&lt;p&gt;var first='&amp;amp;amp;fname=';&lt;/p&gt;
&lt;p&gt;var cpsearchtype='&amp;amp;amp;currentCompany=cp';&lt;/p&gt;
&lt;p&gt;var company='&amp;amp;amp;company=';&lt;/p&gt;
&lt;p&gt;var FName= crmForm.firstname.DataValue;&lt;/p&gt;
&lt;p&gt;var LName = crmForm.lastname.DataValue;&lt;/p&gt;
&lt;p&gt;var Employer = crmForm.parentcustomerid.DataValue;&lt;/p&gt;
&lt;p&gt;var LinkUrl='&lt;a rel="nofollow" target="_new" href="http://www.linkedin.com/search?search="&gt;http://www.linkedin.com/search?search=&lt;/a&gt;';&lt;/p&gt;
&lt;p&gt;LinkUrl+=last;&lt;/p&gt;
&lt;p&gt;LinkUrl+=LName;&lt;/p&gt;
&lt;p&gt;LinkUrl+=first;&lt;/p&gt;
&lt;p&gt;LinkUrl+=FName;&lt;/p&gt;
&lt;p&gt;LinkUrl+=cpsearchtype;&lt;/p&gt;
&lt;p&gt;LinkUrl+=company;&lt;/p&gt;
&lt;p&gt;LinkUrl+=Employer;&lt;/p&gt;
&lt;p&gt;window.open(LinkUrl);&lt;/p&gt;
</description></item><item><title>re: Adding LinkedIn Contact Searches</title><link>http://blogs.msdn.com/dynamicscrmonline/archive/2009/04/07/adding-linkedin-contact-searches.aspx#9644717</link><pubDate>Wed, 27 May 2009 20:41:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9644717</guid><dc:creator>dbenton</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I found this works better in the OnLoad event of the form.&lt;/p&gt;
&lt;p&gt;linkedinUrl = function ()&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;var ParentAccountValue = new Array();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;var url = &amp;quot;&lt;a rel="nofollow" target="_new" href="http://www.linkedin.com/search?search=&amp;quot;;"&gt;http://www.linkedin.com/search?search=&amp;quot;;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;ParentAccountValue = crmForm.all.parentcustomerid.DataValue; &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;if (ParentAccountValue != undefined) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//Treat the lookup object as an array with the following properties: id, name, type, typename &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;url = url + &amp;quot;&amp;amp;amp;lname=&amp;quot; + crmForm.all.lastname.DataValue;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;url = url + &amp;quot;&amp;amp;amp;fname=&amp;quot; + crmForm.all.firstname.DataValue;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;url = url + &amp;quot;&amp;amp;amp;currentCompany=cp&amp;amp;amp;company=&amp;quot; + ParentAccountValue[0].name&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;else {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//This won't prevent the user from accessing the site, but let's them know that the search will be more&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//meaningful with a Parent Account specified&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;alert('You should have a Parent Account selected before performing this search!');&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;url = url + &amp;quot;&amp;amp;amp;lname=&amp;quot; + crmForm.all.lastname.DataValue;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;url = url + &amp;quot;&amp;amp;amp;fname=&amp;quot; + crmForm.all.firstname.DataValue; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;// &amp;nbsp; &amp;nbsp; 'width=450px,height=500px,menubar=no,status=no,toolbar=no'&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;window.open(url); &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;return;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
</description></item></channel></rss>