Posts Tagged ‘webresource’
Silverlight no longer works in Chrome 42
In Google’s continuing effort to annoy me, starting with Chrome version 42, the Silverlight plugin no longer works. This is due to Google no longer supporting NPAPI plugins (see here).
To get around it until September 2015, you can use the below fix to re-enable NPAPI.
1. Type the below into the Chrome address bar and press enter: –
chrome://flags/#enable-npapi
2. Click on ‘Enable’ under ‘Enable NPAPI’
3. Click on ‘Relaunch Now’ when it appears towards the bottom of the screen
You’ve now got until September to re-write your Silverlight controls in a compatible technology. Good luck!
Login Prompt When Opening Web Resource From Outlook
I’ve been experiencing an issue since the launch of CRM 2011 (online and IFD). Opening a Silverlight web resource in a new window from the Outlook client causes the user to see a login prompt rather than the web resource.
Other people have been reporting the same problem in the CRM forums both here and here, but none of the proposed solutions seemed to work for me. I had to advise users to log into CRM from Internet Explorer and leave it minimised to get around the problem.
When Microsoft introduced CRM 2011 Update Rollup 8, they also introduced a number of new Xrm.Utility JavaScript functions. Xrm.Utility.openWebResource jumped out at me as a possible fix to the login prompt issue. You can read more about the new functions on the Microsoft Dynamics CRM blog.
The JavaScript I had been using to launch my web resource from the ribbon button was: –
window.open("/WebResources/cnova_XRM_CV_SearchPage.html#/VacancyID/" + idString);
Note: idString is the guid of the record I am clicking the button from. Read the rest of this entry »
Add a CRM Calendar to a dashboard
Dashboards in Dynamics CRM 2011 are a great way to visualize data. Did you know that they can also be used to view pretty much any other web content?
I’ve recently had a requirement to add the CRM Calendar to a dashboard. I could have simply added a list of appointment activities to the dashboard, but the actual calendar control looks a lot nicer.
To do this, first we need to get the URL of the Calendar page. Load up the IE developer tools (F12 in IE9) and start a profiler. Now navigate to the calendar in CRM and click on ‘Month’, ‘Week’ and ‘Day’ (we want the URL for each page).
Stop the profiler and take a look at the results
As you can see, we’ve got the URLs of the 3 calendar views needed for the dashboard. The URL seems to contain a parameter for the current date in ISO8601 format (YYYY-MM-DDThh:mm:ss). We’ll have to deal with that inside of our web resource.