You need to sign in to do that
Don't have an account?
Web form - create Idea record but can't upload attachment
We are trying to create a form on our Intranet for people to submit Ideas, which creates an Idea record in Salesforce. It works great until we try to add the upload attachment functionality.
This is the problem line in the script
<label for="upload_file">Choose a file to upload: </label><input name="upload_file" id="upload_file" type="file" /><label class="error">Maximum 5MB</label><br />
The record gets created, but there's no attachment and the error in the logs is
"ERROR uploading attachment to SFDC, file only saved locally"
Any ideas????
This is the problem line in the script
<label for="upload_file">Choose a file to upload: </label><input name="upload_file" id="upload_file" type="file" /><label class="error">Maximum 5MB</label><br />
The record gets created, but there's no attachment and the error in the logs is
"ERROR uploading attachment to SFDC, file only saved locally"
Any ideas????
Also, check that the Notes and Attachments related list is added to the Idea page layout, and that the proper permissions (Object CRUD and FLS) are set.