Skip to main content

Dan Herzog

Blogs from this Author

Buttons in the SharePoint Form

I was recently having an IM discussion with a colleague that reminded me of something I discovered a while back. It’s pretty simple, but I thought I’d post it here in case it helps anyone. In a custom ASPX page in SharePoint, you can get the nifty Cancel button to show up (and actually be […]

Workaround to allow multiple instances of a Workflow on a single item

The constraint of only allowing a single instance of a given workflow to run at a time on a list item may run right up against a real-world scenario in which multiple concurrent instances may be required. The following workaround may help you resolve this problem. On the face of it, its really quite simple: […]

Challenges with updating SharePoint Content Type definition files

It’s pretty straightforward to update a site Content Type in SharePoint and have those changes cascade down to the lists that inherit from the Content Type using the SharePoint UI. The challenge comes in when your Content Type is created from a custom definition file, and you expect to use that definition file to create […]

SharePoint workflow: Activity validation failed – Can not find the condition

On a large SharePoint project with multiple custom components, we reached a point where we had to reorganize our projects and solutions to maintiain a tighter order on the project. In the process, the project files were moved – some were rebuilt, some replaced, some consolidated. One project was a custom SharePoint workflow that included […]

TechEd – Friday

A shorter day today – and the last day of a whirlwind week in Orlando. I caught sessions on SharePoint Designer, LINQ, and a great security presentation that was both fascinating and a bit scary. SharePoint Designer is one of those tools, like its predecessor FrontPage, that I think many developers may look down upon […]

TechEd – Thursday

I managed to cover quite a bit of material at TechEd on Thursday – a bit about upgrading custom sites from WSS 2.0 to 3.0, some good info on SharePoint features and templates, a nice intro to Team Foundation Server, some new ideas for SharePoint workflow, and more vendor tools. As a quick aside, I’m […]

TechEd – Wednesday

Advanced Web Parts and Custom SharePoint field types were on tap today at TechEd. Andrew Connell held a great session on Building Advanced Web Parts with ASP 2.0. He gave some examples of building advanced features in Web Parts… How to customize the Web Part ‘Verbs Menu.’ How to build an asynchronous Web Part in […]

TechEd – Tuesday

MOSS Search, InfoPath, and more SharePoint were on tap today. Here’s some highlights. Search is one of the most powerful features of MOSS, but as a developer -even one with a ton of MOSS experience, thank you very much – it isn’t something I’ve spent too much time working with. It was great to get […]

TechEd – Monday

A successful Monday. Aside from free t-shirts (ultra-stylish? you bet!) and other swag, there were some good sessions, and a fun Keynote by Bob Muglia. The Keynote started with a ‘Back to the Future’ thing – with Christoper Lloyd, the DeLorean, and everything. The joke was that MS’s "visions" of the future were getting a […]

TechEd – Sunday: Software Architecture seminar

I arrived at TechEd 2007 in Orlando last night, and today I has the privilige of attending a pre-conference seminar on Software Architecture given by Ron Jacobs. Ron is a very sharp guy with some great and unique insight into just what software architecture means. Check out his radio and TV shows to hear it […]

Accessing SharePoint objects within Elevated Privileges

When trying to use a SharePoint object (ie SPWeb) within a elevated privileges, you can’t just re-use an existing object you created outside the block – it will fail. You need to create a new instance of the object within the elevated block. In this example I’m assuming you are first getting the SPWeb object […]

SharePoint workflows – InfoPath 2007 form ‘code-behinds’

After taking a bit of a break from workflows to attend to other aspects of MOSS customization, I’m preparing to get back into it. In digging thru some old files, I found some notes I had made about embedding .NET code in your MOSS Workflow InfoPath forms. I thought I’d post it in case it […]

Load More