This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.
On Designer, when editing a SmartObject method, the return property's "bound to" mapping will disappear. No matter how many times you configure it, the next time you edit the SmartObject method again, it will disappear.
If you saved your SmartObject after that, you will notice that the method no longer returns that property when you attempt to execute it.
- This seems to affect the method that is referenced from the stored procedure.
- The stored procedure uses parameters with the same name as one of its return properties. For example, your stored procedure returns a property called ID, and you have a parameter named @ID.
To resolve this, you have to avoid using the same name for property and parameter in the stored procedure. Update your stored procedure with a different parameter name, refresh your SQL service instance, delete, then recreate the method in your SmartObject.