Skip to main content


 

Symptoms

 


When adding a ResultType="SmartObject" attribute to a K2TextBox control in SmartWizards, the PandD tool (MMC) fails to create a package due to missing reference that points to a non-existed SmartObject in the environment.

Here is a subset of the errors:
'PROCESS NAME' Process is referencing the 'SmartObject_name' SmartObject that could not be found.
 

 

Diagnoses

 


This issue here is the ResultType attribute being used in 'K2TextBox' control (K2text box is used for user input). The Smartwizards compatibility matrix needs to be corrected. In this case, the 'k2TextBox' control does not support attribute 'ResultType' SmartObject, and this has been logged.
http://help.k2.com/onlinehelp/K2blackpearl/DevRef/current/default.htm_Creating_Custom_SmartWizards.html
 

 

Resolution

A suggestion is to set ResultType to ‘None’ in the Smartwizards XML file and this should resolve PandD issue. See sample below.
 

 

<K2TextBox Name="txtSurname" ResultType="None" Required="True" Top="35" Left="205" Width="300" Height="24" altTop="35" altLeft="205" altWidth="300" altHeight="24" /



 
Be the first to reply!

Reply