Hi -
Stupid question here but I can't seem to figure it out. I have a SmO that accepts a data type of file. When using the SmartObject services tester I am able to browse and select a file and it will upload to the SmartObject successfully.
However, from a worfklow, I am having some trouble understanding how to do this. Basically, I want to retrieve a file from SharePoint or from a file system and upload that to the SmartObject. When I use those inline functions, the smartobject triggers an invalid base-64 string error. Can someone talk me through the best way to accomplish this using K2 Studio?
I also tried retreiving the file to a datafield, and then converting that resulting string to a bytes file using the ToBytes function. While this will allow me to upload the file to the smartobject, it uploads it as a binary file. I need it uploaded as the original file and format.