Do you SharePoint?

Let's talk about it.
posts - 19, comments - 8, trackbacks - 0

WSS 3.0

Windows Sharepoint Services v 3.0 (Not MOSS)
Dealing with SPListItemVersion and his cousin SPFileVersion during SPFile or SPListItem copying

Since I spent so many hours on this, I figured I'll post this to remember... When copying SPFiles from one doc library to another, a few things to keep in mind: SPFileVersion will not let you get a reference to the SPFile (per MSDN) so don't do this: SPWeb.GetFile(SPFileVersion.Url) because SPFile.Item will be null SPFileVersionCollection (SPFile.Versions) is not in sync with SPListItemVersionCollection. SPFile.Versions actually does NOT return the current version.  So, iterate through all SPFileVersions and use SPFile.Versions.GetVersionFromLabel(SPListItemVersion.VersionLabel) To keep the check in comments with each version, use the following method to add...

posted @ Saturday, October 03, 2009 11:23 AM | Feedback (0) | Filed Under [ Development WSS 3.0 MOSS 2007 ]

SharePoint Timer Service and custom jobs

When deploying custom SPOneTimeSchedule job definitions sometimes the timer service (OWSTIMER.EXE) just sorta sits there. Your job definition is created, but isn't executed. It will most likely eventually run, but I have better things to do than sit around wait for it. Setting the time for the job in the past seems to move things along faster. // Create new job CustomJob MyJob = new CustomJob(Constants.JOB_NAME, webApp, properties.Definition.DisplayName); MyJob.Title = Constants.JOB_TITLE; // Set up the job to run once MyJob.Schedule = new SPOneTimeSchedule(DateTime.Now.AddHours(-4)); MyJob.Update();

posted @ Wednesday, October 29, 2008 12:17 PM | Feedback (0) | Filed Under [ Development WSS 3.0 MOSS 2007 ]

New Theme for WSS 3.0

Themes are a good way to visually differentiate and/or brand SharePoint sites.  Here is how to install a new theme. 1. modify an existing theme 2. add preview image to 12\TEMPLATE\IMAGES 3. modify the SPTHEMES.XML file in 12\TEMPLATE\LAYOUTS\1033 folder.  4. IISRESET   References: http://msdn2.microsoft.com/en-us/library/aa979310.aspx

posted @ Friday, January 25, 2008 5:17 PM | Feedback (0) | Filed Under [ WSS 3.0 ]

DNN And SharePoint

About a year ago I've started to focus on two technologies to develop websites with. Dot Net Nuke and SharePoint. Both products are .Net based and Microsoft backed. At the end of this post are links to articles that do a good job comparing the two frameworks. Needless to say, as frameworks, these products vary greatly in the way you can accomplish your goals. Nevertheless, having the common thread of .Net makes them similiar in so many ways. I'm excited to continue to explore (and amazed at) some of the powerful tools that each product provides out of the box.  As...

posted @ Wednesday, January 02, 2008 5:34 AM | Feedback (1) | Filed Under [ Development WSS 3.0 MOSS 2007 ]

Powered by: