Just as I expected might turn out to be the case, during the recent Sharing the Point (STP) tour of Asia, I learned a few more SharePoint 2010 lessons while working on my blog posts from the tour. Today I’d like to share the lesson that was the most painful, and it involves editing a post that’s in Save as Draft form.
INT. Manila hotel room. The time is close to midnight, and the need for sleep is becoming near-desperate (there hasn’t been much sleep in the preceding days/nights, and most of the sleep that did occur took place on planes) as I struggle to get one last post published. My roommate Mark Miller is working on uploading some of his tour photos to Facebook. Having finished writing my copy, I paste it from Word into the blog on the (SharePoint 2010) STP site for a final edit and the addition of photos. Once I’d completed the edit and had added pictures, I decided that since one of the photos struck me as extraneous, I would delete it.
Now, I can’t swear that this was the first time I’d deleted a photo from a SharePoint 2010 blog, though I’m pretty sure that’s the case, but what I can swear to is that I (foolishly) didn’t save my edits prior to deleting the photo.
You get one guess what happened when I deleted the photo from my post.
If you guessed, as I’m sure you all did, that I lost all of my painstaking edits, congratulations on your perspicacity.
Specifically, what happened was this: Instead of simply removing the selected photo from the post and leaving everything else untouched (as one might reasonably expect), the page refreshed and took me to the Photos library instead. I think I apologized to Mark at the time for what I suspect was quite a colorful bout of cursing on my part in response to this unexpected SharePoint behavior, but if my manners escaped me while I was in the midst of Hulking out, sorry, Mark.
Of course, now that I’m trying to make the same thing happen again with a deleted photo for the sake of this post, I can’t reproduce the behavior. I’ve tried deleting a photo added to a blog post from my computer and from a Web address (though it was the former case that caused the problem in Manila), and in every case, the Delete function works as expected … which is to say that the selected photos get deleted and everything else within the blog post being edited remains untouched.
Maybe it only happens when you’re seriously in need of sleep and the witching hour fast approaches on a Friday night in Manila, but I can’t help but wonder if anybody else out there has been bitten this behavior? Naturally, I’m also writing this post as a warning to any SharePoint 2010 bloggers out there that before you delete a photo from a post you’re editing, you might want to take a moment to save your edits first.
Especially when one considers the alternative…
Read the entire SharePoint 2010 Lessons Learned series:
- Part 1: Wrestling with Images & Links
- Part 2: How to Create a Blog
- Part 3: How to Create a New Page (and Delete a Page)
- Part 4: How to Grant Permissions
- Part 5: An Image-uploading Caveat Regarding Anonymous Access, and Frustration Involving Modifying Font Styles
- Part 6: A Cautionary Tale Involving Deleting Photos While Editing a Blog Post
- Part 7: What’s Up with Out-of-the-Box Web Analytics for Blogs?
- Part 8: ‘What? I Can’t Embed Video in a Blog Post? You’re Kidding, Right?’
SharePoint Kaffeetasse 235
SharePoint 2010 Planning and Configuring Extranets in SharePoint 2010–Part 1 Planning and Configuring