Symptoms
A memo column was added to a sharepoint 2010 list but the property has not been added to the smartobject methods for that sharepoint list. Whenever this attempted to be manually added in K2 designer for the smartobject we get the following error:
error: failed to initialize, an error has occurred
And the property will not be added. We also have an email pulling this memo field from the sharepoint list xml into an email event. However, this always renders as a blank space in the email itself.
Diagnoses
Most likely the sharepoint smartobject was not properly refreshed. We learned that it was refreshed via the smartobject service tester tool. After that we attempted to use the SharePoint UI to refresh the smartobject. This meant we went to view smartobjects for lists and libraries and clicked create again for the already existing smartobjects made from lists/libraries. This is a proper refresh.
Resolution
After refreshing the smartobjects from the SharePoint UI we now saw the new column in the SmartObject methods for this list. The xml we pull from the SharePoint_Item xml field will still only show as a blank space if we pull the column xml into the body of an email event though.
We pulled in this value instead by utilizing the SmartObject load method for the sharepoint list and provided the ID of the current sharepoint list item being used in the workflow process instance. This would properly bring in the correct information from the list and we did not see it have any issue with getting this information in this design.