Thursday, November 11, 2010

Add Web Resource -Silverlight in Microsoft Dynamics CRM 2011

Hi,
Here is an example to view Silverlight control in Dashboard and upload Silverlight XAP to CRM 2011.

If this the first time running Silverlight application you will ask to download Silverlight
In This example I upload XAP file and View the silverlight application in Dashbloard + contain only silverlight XAP without definition in web config for WCF etc...


1. Open solution and go to Web resource to load the silverlight XAP:






















2. Upload the XAP file...






















3.  Define the types of Web resource  ( as silverlight recource version 4).

  a. Version of Silverlight
  b. Type of resource
  c. Upload from path




















4. Define dashboard ( Create a new dashboard).
    add to the default dashboard.



















5. Define layout ( i created only one frame  - only for Web resource)
   



































6. Select the silverlight control to the layout.
    allow to define to view the title or without..



















\
































7. Publish the new Dashbpard + View



















































I hope this example helped to see how easy is to add Silverlight controls to CRM 2011.

Enjoy,
Rami Heleg

Monday, November 8, 2010

Build Fetch based advanced find (download Fetch Xml)

In CRM 4 to build fetch via advanced find windows we worked  like this example:
( using Java script – alert).
In CRM 2011 Microsoft added a sample button to advanced find which help developer to import the FETCH XML.





















Export the Fetch using button download Fetch Xml.















Thanks,
Rami Heleg.

Create Dashborad in CRM 2011

Here is an example of Creating Dashboard in CRM 2011.
I created this example in CRM 2011- online

Step1:
Select Dashboard and press new...




















2.
Dashboard wizard appear and select the required layout.
CRM gives 6 types of layout but any way after select layout user can delete some cube inside











3.
Delete non required component from the layout.   
Select components types
The types can be:
1.       Chart
2.       IFRAME
3.       Grid, Select  record type (Contact, Account etc…),View types ( Active, InActive)
4.       Web Resource ( Like Silverlight XAP and more)


 















































4. Dashboard is ready, Select the new dashboard from the list to view the result






















6. Dashboard can be shared to Team, Users..
   Share dashboard is a very sample way. only open dialog , select the Team or users and submit.






























































Enjoy,
Rami Heleg.