Integrating LinkedIn into Dynamics CRM

Thursday, June 16, 2011

clip_image002

I often get asked about pulling in information from external social networks into Dynamics CRM. And some tools like InsideView and Sonoma Partners provide a much more than just LinkedIn.

I wanted something quick and easy to show customers and how partners the power of Dynamics CRM in conjunction with LinkedIn.

So using the LinkedIn Widgets, I created a Web Resource in CRM 2011 using HTML.

<html>
  <head>
  <script src="http://www.linkedin.com/companyInsider?script&useBorder=no" type="text/javascript">
</script>
<span id="account"></span>
  </head>
  <body>

<script type="text/javascript">
  var LIaccountname = parent.window.Xrm.Page.getAttribute("name").getValue();
  new LinkedIn.CompanyInsiderBox("account",LIaccountname);
</script>

</body>
</html>

parent.window.Xrm.Page.getAttribute("name").getValue(); is what is responsible for getting the company name into the LinkedIn Widget. You could also point this to the Parent Account or any other field in the main form you wanted.

Here is the link to the solution file or you can download it from SkyDrive.

I am working on making the JScript work under HTTPS. In the mean time, allow IE to display Mixed Content will make it all look pretty. Smile

Add comment




  Country flag
biuquote
  • Comment
  • Preview
Loading