Saving File to SQL Database results in <collection> instead of <file>
Saving File to SQL Database results in instead of
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.
I have a SQL SmartObject that has a File Property on it. I refreshed the Service Instance and regenerated the SmartObject. Now the records are being saved to the DB as a <collection> instead of a <file> type.
The SmartObject property has changed to be a Memo type, not a File type.
When looking at the DB, you will see the column is filled with <collection> typed items.
Edit the SmartObject and change the property to be a File type. This will change how the record is saved and save it as a <file> type.