Contents tagged with Office System

  • Display a PowerPoint deck in SharePoint 2010 using Office Web Apps

    During a SharePoint 2010 training class i was conducting this week we were implementing a case originally created for MOSS 2007, where the author of the case had added a requirement to show a PowerPoint deck in a SharePoint page. This threw me a bit off, as I couldn't remember seeing any direct functionality for this. I turned out that the author had intended the students to research 3rd party solutions for this.

  • More VSTO Deployment - AppCheck and PIACheck compiled

    A while ago Microsoft released a walkthrough for VSTO deployment to, as Misha puts it; "not remove the pain but help controlling it". The walkthrough covers all my (less structured) instructions, and improves on security aspects.

    However the article does provide you with a fair amount of work. The security part adds strong-name based evidence for assemblies which is absolutely required from a security perspective. However, the samples does not support multi-assembly deployments so you'll need to write this up yourself. I'll look into using Assembly.GetReferencedAssemblies() later on to see if that will solve this problem.

    Furthermore you get native checking utils for common prereqs. These are not compiled however and Aerodrome has posted a compiled version. Although these exe's (PIACheck.exe and AppCheck.exe) works nicely if you've got the .NET Framework preinstalled, they will fail if not. Probably because they're compiled in managed C++, and not the way instructed in the MSDN article. We've made a working set available here (courtesy of compilation genious Øystein Garshol).

    Finally I have to point out once more the weak design of the prerequisite package structure. The prerequisite definitions are fundamentally a part of any solution and should at least be copied into the solution or setup project filestructure when used to enable inclusion in sourcecontrol and automated builds. I would sure like to know how Microsoft approaches this problem using WiX or other tools.

    And to all of you who haven't deleted my blog from your blogroll: I'm back:-)

  • Validating Sharepoint filenames on upload

    Some characters are legal for FAT or NTFS files but illegal for files in Sharepoint documentlibraries. Using the regular upload UI for Sharepoint you'll encounter a rather unpleasant validation error when uploading a file with funky characters. Using the object model will give you a good ole' exception.

  • Refresh page after edit in InfoPath

    When using InfoPath for editing data in you webapplications you run into a couple of tricky situations when beeing used to plain webdevelopment. One of these scenarios is when you want your webpage to refresh after having edited a record in some datasource with InfoPath. Typically you've implemented a view webpage and edit with InfoPath.

  • InfoPath DropDown List doesn't match on items in list

    When populating InfoPath DropDown lists with values and then binding the dropdown to a field in your main datasource you'll sometimes see the bound value instead of its corresponding text value in the dropdown on load. It seems slightly confusing given that the entry containing your bound value is actually in the list, but it doesn't match.