Adding Silverlight to SharePoint (with no coding)

Adding Silverlight to SharePoint (with no coding)

  • Comments 7

I just got an email from Ben Williams and he mentioned the Add Silverlight to SharePoint 2007 article on LiveSide where you create a custom JS file, create a custom web part (code it up) and BAM! Silverlight in SharePoint).

Another option for this (if the content is public I.e. can use security through obscurity)  which doesn't require development is to use Silverlight Streaming and just IFrame in the content.

Here are directions:

  • get the content into Silverlight Streaming by Windows Live (see http://dev.live.com/silverlight for more information)
  • add a Content Editor Web Part to the SharePoint site
    • Set the source of the content Editor Web Part (in the browser)  to contain an IFrame

<iframe src=http://silverlight.services.live.com/invoke/6579/WLTVSEMEAREHEARSAL/iframe.html" frameborder="0" />

  • View the page and the iframe will instantiate a Silverlight application inline.
Leave a Comment
  • Please add 2 and 6 and type the answer here:
  • Post
  • PingBack from http://msdnrss.thecoderblogs.com/2007/12/10/adding-silverlight-to-sharepoint-with-no-coding/

  • There is a very simple way to add Silverlight to SharePoint if you use the Silverlight Streaming service...

  • There is a very simple way to add Silverlight to SharePoint if you use the Silverlight Streaming service...

  • Do you have any suggestions on how to get this working within a blog posting on SharePoint? SP seems to strip the iframe tag out of the blog posting.

  • Just use the contnet editor web part and edit it in source code mode.

  • There is a very simple way to add Silverlight to SharePoint if you use the Silverlight Streaming service...

  • I'm building a .wsp for sharepoint that consists of a c# class library that inherits from webpart, and in the wp createchildcontrols method, I'm instantiating a silverlight object that points to a xap file. The problem that I'm having is that the SL control loads, but some kind of permission issue arises b/c the SL control is not able to connect to a datasource. If I deploy the project to its own virtual web (i.e., not in SP) it works great. Why isn't the SL control connecting to SQL Server in SP?

Page 1 of 1 (7 items)