How to pass current entity Id to my Silverlight webresource?

I have a silverlight webresource in my CRM 2015 online, that I open using a javascript webresource. This web resource is through a ribbon button of the Opportunity entity. I need to pass the current opened opportunity to the silverlight web resource. I’ve managed to get the OpportunityId but still I can’t pass it to the Silverlight web resource.

My javascript webresource code:

function OpenSilverLightControl()

Source: javascript

Leave a Reply