Showing results for 
Search instead for 
Do you mean 

Plugging Silverlight into the new Saleslogix Dashboards

by on ‎11-16-2010 07:37 AM

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.

Silverlight Control

 

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

 

Comments
by Copper Elite Contributor
on ‎02-08-2011 01:35 PM

This is really cool, and while I've been able to use a silverlight plugin in SLX, I'm unable to deploy a RIA service into SLX Web. Is this something you've figured out how to do?

 

Thanks!

~ Henry

by
on ‎03-21-2011 12:07 PM

Actually to make this work I just created my own new webservice that the Silverlight controls would speak to. Basically I would create a webservice inside of the SLX website so that when run it would work with the current logged in user and also give me access to all the SalesLogix services.

by
on ‎09-09-2011 04:56 AM

Thanks for this method it is realy great.

And I am using a differnt website for my .Net 4 WCF webservice.

 

Any idea how i could get the currentuser id in my Silverlight app?

 

withe best Regards

Roman

by
on ‎09-09-2011 05:35 AM

How I would get the current user id into a SilverLight app.

 

Check out the code I have on this site..

http://sites.google.com/site/genesprojects/code/clientsidejavascripttogetcurrentloggedinuser

 

Then I would pass the return of this code into the SilverLight app via a param.

Register Read Guidelines Request Partner or Employee Access

What's New in 8.1

Labels