Microsoft Knowledge Base Email Alertz

KBAlertz.com: A workflow is canceled when you try to upload an item to a picture library in Microsoft Office SharePoint Server 2007

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 948728 - Last Review: March 3, 2008 - Revision: 1.1

A workflow is canceled when you try to upload an item to a picture library in Microsoft Office SharePoint Server 2007

SYMPTOMS

Consider the following scenario:
  • You use the out of the box approval workflow with the Microsoft Office SharePoint Server 2007 picture library or with another library, such as the document library.
  • You use the "Start this workflow when new item is created" rule.
  • You use the "Cancel this workflow when the: Document is changed" rule.
  • You upload a new image file by browsing to the file and clicking OK.
  • When you are automatically redirected to the metadata screen for the file, you provide the metadata and then click OK.
In this scenario, the workflow displays the following message:
Canceled

CAUSE

This problem occurs when you are redirected to the /Forms/EditForm.aspx metadata page while you are uploading to a picture library.

Note This metadata page problem is not exclusive to a picture library. This problem may also occur if you allow for management of content types on any other library, regardless of what content types are enabled. Additionally, adding certain columns to other library types, such as a document library, can cause this problem to occur.

When you click OK on the metadata entry page, the workflow sees this action as a change to the item. This unintended change to the item causes the workflow rule to cancel the workflow when the "Cancel this workflow when the: Document is changed" rule is enabled.

WORKAROUND

To work around this problem, follow these steps:
  1. From the picture library or another library, click Settings, and then click Picture Library Settings.
  2. Click Versioning Settings.
  3. Click Yes for the Require documents to be checked out before they can be edited? setting, and then click OK.
After you change these settings, a CheckIn button appears instead of an OK button on the metadata entry page when a picture item is uploaded. The CheckIn button does not cause the workflow to be canceled upon upload. This button still allows for successive change to the picture item to cancel the workflow as intended.

You can also work around this problem by clicking Cancel on the metadata page. By clicking Cancel, you receive the effect that you want on the workflow. However, this is not intuitive to the upload process and does not let the user add metadata during upload.

Another way to work around this problem is to click Upload or Upload Multiple Pictures. When you click one of these buttons, the metadata does not appear during the upload process.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

APPLIES TO
  • Microsoft Office SharePoint Server 2007
Keywords: 
kbtshoot kberrmsg kbpubtypekc kbprb KB948728
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please