SharePoint 2010 Lessons Learned, Part 6: A Cautionary Tale Involving Deleting Photos While Editing a Blog Post

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 with 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 gets 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:


Michael Greth [SharePoint MVP]
wrote
SharePoint Kaffeetasse 235
on Fri, Apr 29 2011 7:51 AM

SharePoint 2010 Planning and Configuring Extranets in SharePoint 2010–Part 1 Planning and Configuring

All SharePoint Versions

The web parts are functional components that extend your SharePoint environment whether it’s hosted, on-premises, or part of Microsoft® Office 365.

SharePoint 2013, 2016, 2019, Online (Office 365)

On-Premises Only

These web parts extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of SharePoint Web Parts.

SharePoint 2013, 2016, 2019

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Essentials Suite


Essentials Plus Suite


Bamboo Premier Suite


Project Management Suite


Knowledge Management Suite


External User Manager


 

For more information on our product suites, contact us.

Featured Services

SharePoint Health Check

A SharePoint Health Check will identify the causes of issues and risks associated with your specific environment, and is custom tailored to provide you with the best recommendations to optimize your SharePoint environment.

SQL Health Check

Document recommendations relating to performance, stability, availability, or a specific focus you request of your SQL Server database instances.

My SharePointXperts

The truth is that each SharePoint skill may not be a full time job for many organizations, and it is nearly impossible for one person to do everything you need – so augment your team with SharePointXperts; providing the skill sets you need when you need them!