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.
-
Creating Office add-ins with VSTO with Add-in Express
Back in 2005 I wrote several posts addressing challenges related to building and packaging Office add-ins with VSTO. We managed to complete a few very cool add-ins for customers, but I have to admit that we did have our share of problems.
-
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.
-
Complete set of Custom Prerequisites available
UPDATE: See this post.
-
VSTO Outlook: The complete deplyment solution
This week has been all about the pain of client deployment of our VSTO solution. I've written a summary which I hope will be the start of the complete solution for idiot-proof installs of Outlook plugins. I'm not quite there yet but I feel I'm pretty close.
-
Recycle Bin / Undelete for Document Libraries finally solved
Last week I met Todd from Mindsharp in Seattle and he told me that he'd just created a purely client side solution to the whole undelete / recycle bin problem with Sharepoint document libraries. Several solutions have been posted to address this issue in the past, amongst others Max and Erics article in MSDN Mag.
-
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.
-
Error using VSTO 2005 Outlook Addin with VS2005 RC1
Just installed Visual Studio 2005 RC1 and reinstalled Visual Studio Tools for Office 2005 Outlook on top to continue working on my Outlook Add-in. When trying to cast a MailItem object i recieved the following error: