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()
{
var Id=Xrm.Page.data.entity.getId();
window.open('https://crm.mycrm.com//WebResources/new_/MyCRMQuoteTestPage.html',null,500,600);
}
EDIT:
I tried using QueryString but it produces an Internal Server Error.
This is my link: https://crm.mycrm.com//WebResources/new_/mycrmOpportunityQuoteTestPage.html?oppid={7A594863-1C1F-E511-80C8-02E7484A2B2F}
both give "500 - Internal server error"