Code Fix: An error occurs when you create an advanced SmartObject
KB003614
PRODUCT
Issue Description
When you create an advanced SmartObject that maps to a Service Object with input parameters, and instead of mapping a SmartObject parameter to the Service Object parameter you map a SmartObject property to the Service Object parameter, the property is not created against the SmartObject when the SmartObject method is created. When trying to finish the SmartObject creation, an error then occurs.
Error Message
The following error occurs: “The TProperty Name] property does not exist”.
Resolution
The fix is available in the following K2 versions:
K2 4.7 December 2019 Cumulative Update | K2 Five (5.0) December 2019 Cumulative Update | K2 Five (5.1) November 2018 Cumulative Update | K2 Five (5.2) May 2019 Cumulative Update | K2 Five (5.3) April 2020 Cumulative Update | K2 Platform Classic(5.4) |
---|---|---|---|---|---|
X | X | X | X | Fix Pack 23 | Fix Pack 15 |
- Ensure you have the correct K2 version and/or Cumulative Update installed. See KB001893 to see what Fix Pack level you have installed.
- Download the latest Fix Pack using the links in the table above for the version you require.
- Install the Fix Pack to apply the fix.
Considerations
It is best practice to map SmartObject parameters to Service Object input parameters instead of SmartObject properties.