As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
http://www.ixxus.com/blog/2011/09/customising-upload-files-dialog-alfresco-share
//code to redirect user to edit metadata after upload if(this.state === this.STATE_FINISHED) { // update noderef from response var nodeRefURL = "edit-metadata?nodeRef=" + f.nodeRef; //redirect Alfresco.util.navigateTo(nodeRefURL); }
var ctx = Packages.org.springframework.web.context.ContextLoader.getCurrentWebApplicationContext(); var model = Packages.org.alfresco.model.ContentModel; var dictionaryService = ctx.getBean("DictionaryService"); types = dictionaryService.getSubTypes(model.TYPE_CONTENT, true).toArray(); for each(var type in types){ print(type); }
The Web Script /alfresco/s/api/upload.html has responded with a status of 405 - Method Not Allowed. 405 Description: The method specified in the Request-Line is not allowed for the resource identified by the Request-URI. Message: 09150870 Script url /api/upload.html does not support the method GET Exception: org.springframework.extensions.webscripts.WebScriptException - 09150870 Script url /api/upload.html does not support the method GET