cancel
Showing results for 
Search instead for 
Did you mean: 

UPLOAD expression undefined

duhannig
Champ in-the-making
Champ in-the-making
Using the example from
http://wiki.alfresco.com/wiki/Web_Scripts_Examples#File_Upload

After I click 'Upload' I get the error

Message:   05010042 Wrapped Exception (with status template): 050116561 Error during processing of the template 'Expression upload is undefined on line 14, column 69 in upload.post.html.ftl.'. Please contact your system administrator.
   
Exception:   freemarker.core.InvalidReferenceException - Expression upload is undefined on line 14, column 69 in upload.post.html.ftl.

I have copied upload.get.desc.xml, upload.get.html.ftl, upload.post.desc.xml, upload.post.js and upload.post.html.ftl exactly.

Help!
1 REPLY 1

duhannig
Champ in-the-making
Champ in-the-making
The problem was that I created the upload.post.js in the 'Scripts' section when it should have been created in the 'Web Scripts Extension' area.