11-23-2007 07:46 AM
// create document in folder for uploaded file
upload = uploadFolder.createFile(filename) ;
upload.properties.content.write(content);
//set correct mimetype and encoding
upload.properties.content.mimetype = uploadMimeType;
upload.properties.content.encoding = "UTF-8";
upload.properties.title = title;
upload.properties.description = description;
upload.save();
Failed to execute script 'workspace://SpacesStore//Company Home/Data Dictionary/Web Scripts/klm/klmupload.post.js': Failed to execute script 'workspace://SpacesStore//Company Home/Data Dictionary/Web Scripts/klm/klmupload.post.js': Java class "org.alfresco.repo.jscript.ScriptNode$ScriptContentData" has no public instance field or method named "encoding". (AlfrescoScript#50)
11-27-2007 07:30 AM
11-27-2007 06:36 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.