When an attachment control is used on a view to upload a document, and the control is configured to run the execute method of a SQL Stored Procedure ServiceObject; and the input property is mapped with a file parameter an error occurs at runtime when the file is attached. The error is displayed as the control is expecting a SmartObject property with the type file and not bound to a file parameter type.
SmartObject property file is a required property for selected method Execute. Value must be set
The steps below show you how to resolve this issue by changing the mapping from a file parameter type to a SmartObject property type.
Test the view by uploading a file to the control