Webcast: Integration of Silverlight applications in Dynamics CRM 2011

Related to my webcast (Spanish), I would like to share the resources (slides and code) I used for the demo. Download the resources and you will find:

  • Slides (PPTX)
  • CRM Solution
  • VS2011 Solution with Dashboard and Form integration demo

Basically, demo shows a dashboard and form integration using the two communication models between Silverlight and CRM:

  • JavaScript bridge:
    • System.Windows.Browser.HtmlPage
    • System.Windows.Browser.ScriptObject
    • Xrm.Page
  • CRM WCF Services:
    • REST endpoint (used in demo)
    • SOAP endpoint

To try the demo, assuming you have a CRM 2011 deployment, you will need to follow the next steps:

1) Import the CRM solution into your organisation

2) Create an additional website for the picture service. As you can see in CRMForm.Web project, there is a web handler (Receiver.ashx) that will be in charge of upload the pictures. Below, you can see that web site next to the CRM one. From VS you can publish the website directly over there.

image

image

3) Fix the Picture service url in the CRM resource properties. For the dashboard application:

image

 

image

And for the Cheese entity form:

image

image

4) Try it!

If you get errors and you don’t know where they are coming from , probably you will need to debug the Silverlight application integrated in CRM. Only you will need to attach VS debugger to the Internet Explorer process and refresh the page:

image

image

I hope you like it and let me know if you have any problem.

Advertisements

Posted on March 27, 2011, in CRM, Silverlight and tagged . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: