0
votes

Something weird is happening.

My Silverlight applications for CRM 2011 are missing their default loading splash-screens.

I can create a simple Silverlight app without setting the RooVisual element...

        //this.RootVisual = new MainPage();

which will create an "endlessly loading" effect. Normally, if I run it via the debugger or host it in an IIS, it's as you'd expect: I get the typical SL loading indicator. However, if I place it in CRM 2011 web resource (doesn't seem to matter if it's a local CRM installation or online) and use that as part of a form, I just get a white rectangle.

Now, so far, all my SL controls are used in local installations, so loading times are non-existent. However, I'm creating a solution which might end up being used on-line, and leaving it as it is, a client could think the application has hung-up or crashed while in fact it is still downloading.

I've also tried using a custom splash-screen, with the same results.

What could possibly be wrong? Is this some documented (or undocumented :P) CRM feature that I missed?

2

2 Answers

1
votes

Well in our CRM 2011 environments they always show the Silverlight loading screen, so I'm not sure why they aren't displaying for you.

Have you tried just a generic 3rd party silverlight application?

One thing you could do is have an HTML web resource that has a loading screen on it and then using your silverlight application hide the loading screen (which it will do only after it's loaded).

0
votes

I've solved it!

The issue, as it turns out, is naming the CRM resources with a .xap on the end, for example new_mySL.xap.

I could swear that we didn't do it in our older projects and that the splash screens worked correctly... as such, I don't know if there was some CRM update that changed this or perhaps my mind is simply playing tricks on my (quite possibly the latter).