Question

Currently, I have a connected web part that consumes a SharePoint list and uses the data to add locations to a Google Map control.

What I'd like to do is use the Bing Maps Silverlight control and use the same data to render pushpins on the map. I can create an unconnected web part and use the SharePoint web services to access the list data, loop through the rows and add the pins to the map. In terms of configuration this will mean the user will need to enter the list name (or Guid) in the properties of the web part, whereas before they could select from the available lists on the site, this seems like a step in the wrong direction.

So, is there a way to use the data that is provided by the connected web part and make it available to the Silverlight control?

Cheers, Stuart.

Was it helpful?

Solution

Can you modify your existing Google web part to produce the appropriate javascript code for your Silverlight web part? You can see an example of the Bing javascript produced through a data view web part in my maps series.

OTHER TIPS

The list view web part is just a connection consumer and not a provider. You could sub-class the ListViewWebPart and add a custom connection provider to it with the current list id.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top