Introduction

A change in behavior relating to SmartObject Method parameters has been introduced in K2 smartforms 1.0.4 (4.12165.1595.0).  SmartObject Method parameters were incorrectly added as controls to a View when a View was auto-generated from the SmartObject.

Previous Behavior

In K2 smartforms 1.0.3, when auto-generating a View from a SmartObject by right clicking on the SmartObject and selecting Generate View, the SmartObject Method parameters would be added as controls on the View.  This occurs when creating Views from an Advanced SmartObject where ServiceObject Method parameters were configured.

Example

  • Create an Advanced SmartObject from the K2 Designer and configure a ServiceObject Method parameter


Image

  • Finish the SmartObject
  • From the landing page select Generate a View and select Item View
  • Note that the ServiceObject Method parameter was added as a control on the Item View

Image

New Behavior

In K2 smartforms 1.0.4, when auto-generating a View from a SmartObject where a ServiceObject Method parameter exists, the parameter will not be added as a View control.

 

Considerations 

If these SmartObject Method parameters were previously used on a View, the View will continue to function as expected after upgrading to K2 smartforms 1.0.4.  Any new Views auto generated after the upgrade will not contain the parameters.