Office 365 – Technical Observations from a first project

Recently I’ve been working on an Office 365 based SharePoint solution. It’s a system to allow a company to create sites to collaborate with their customers, and I learnt some interesting things on the way. In part 1 I’ll deal with the technical side of things, and in part 2 I’ll look at more ‘project’ level observations. Continue reading

RSS Feed in Office 365

This is just a quick note – that annoyingly, there isn’t an RSS feed web part (that functions) in Office 365. Even more frustratingly, the RSS Viewer Web Part is available, it just doesn’t work. When you add it to a page, you get the warning:

Web Part or Web Form Control on this Page cannot be displayed or imported. The type is not registered as safe

This is discussed in KB2535012, the main thrust of it being:

This issue occurs because the RSS Viewer Web Part is not available in Office 365. This issue is scheduled to be resolved in a future version of Office 365.

In fairness, this restriction is mentioned in the SharePoint Online Release notes.

Alternatives? Continue reading

TFS, Versioning and Office 365 SharePoint

So, I am a big fan of putting build numbers or SVN revisions into the AssemblyFileVersion of my assemblies. I can then use a little bit of the System.Reflection API to get the AssemblyFileVersion, and display it to the user, write it to logs, etc..

However, I ran into a hitch when working with Office 365. Although reflection worked fine on my local machine’s sandbox, I got an error when I tried to run the same code on Office 365′s SharePoint system. It was pretty obviously and emphatically using System.Reflection that was the problem.

This was a shame, as my build process is (as usual) putting the AssemblyFileVersion in. Sadly, I don’t see any easy way to get the AssemblyFileVersion value from within Office 365 code. So, alternatives? Continue reading