Anyone that knows me knows that I'm a big Silverlight fan. The idea of rich client side web applications built with easy to use C# code just works for me. This is one way of inserting a Silverlight control onto the new Saleslogix Dashboards.
After spending sometime with the new dashboard for Saleslogix I quickly learned that I have a lot to learn about javascript. I can get by, but in no way am I going to be building some killer new widget soon (with javascript that is). So rather then getting upset I just found another way to get my beloved Silverlight controls into the product.
As with all parts of Saleslogix the dashboard is incredibly flexible. You pretty much can do anything you want with it and I plan to take full advantage of that. Rather then creating my UI for my widget in html and javascript I simply just inserted an object tag that would display my Silverlight control! You can pretty much put any standard html code in the dashboard builder.
What you see below is a Silverlight control being placed on the screen by simply using an object tag and nothing more.
Another cool thing is that this control can work nicely with the existing code. The items that you see displayed are actually stored inside of Saleslogix and are passed to the control as parameters when it loads. Yet another cool tidbit is that you can create multiple instances of these controls and save independent data for each one.
You can expect some cool new widgets coming soon from me using this method. Try this out with Flash as well.
Here is where you can download the code for this project..
Code for project: https://sites.google.com/site/genesprojects/Home/saleslogix-example/silverlight-on-dashboard