The following is an sample of code that would upload a file to a specified field using the [[API]]:
End If
'''Note:''' ''12345'' is the target [[Custom Fields|custom field]] ID and ''98765'' is the Level 1 Object ID(opportunityid, activityid, userid, companyid, etc.) The Custom Field in the uploadFileField function does not require the prefix of "cf_" as is normally required within [[SmartSimple]].
This [[API]] may not work for files larger than 64MB in size.