Code Fix: Incorrect behavior in runtime when using the Create Site Event in a workflow

  • 16 February 2021
  • 0 replies
  • 3 views

Badge +5
 

Code Fix: Incorrect behavior experienced at runtime when using the Create Site Event in a workflow

KB001908

PRODUCT
K2 blackpearl 4.7
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

 

Issue Description

When designing a workflow using the Create Site Event, followed by the Create Library Event, an error occurs at runtime and the library is not created. This occurs when the Use existing library on site if found option is enabled and the name Documents is used for the library. When another name is entered for the library, the library will be created but will not display as it is created as a hidden library, which is incorrect.

 

 

Error Message

The following error message displays “The Library already exists.”

 

 

Cause

The name reference for the “Use Existing” control and “Hidden” control was incorrect in the layout.xml file in the create library SmartWizard.

 

 

Resolution

  1. Ensure you have K2 4.7 installed.
  2. Download and Install the K2 4.7 May 2017 Cumulative Update from K2 Partner and Customer Portal.
  3. Get the K2 4.7 May 2017 Cumulative Update FP2 from Regional Support.
  4. Install the K2 4.7 May 2017 Cumulative Update FP2 to apply the fix.

 


0 replies

Be the first to reply!

Reply