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.
<tomcat>/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/upload/flash-upload.get.js <tomcat>/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/upload/flash-upload.get.html.ftl
http://localhost:8080/share/page/site/name-site/documentlibrary#filter=path|%2FFolder1|&page=1
new Alfresco.getFileUploadInstance()
{ siteId: siteId, containerId: doclibContainerId, path: docLibUploadPath, filter: [], mode: fileUpload.MODE_MULTI_UPLOAD, }
… model.contentTypes = getContentTypes(); model.currentFolder = getNameCurrentFolder(); /* This method should be able to get the name of the current folder of document Library where user upload a document receiving a param from flash-upload.js*/
<select class="fileupload-contentType-select" tabindex="0"> <#if (contentTypes?size > 0)> <#list contentTypes as contentType> <option value="${contentType.id}" <#if (("${msg(contentType.value)}" == "${currentFolder!}"))> selected="selected"</#if>>${msg(contentType.value)}</option> </#list> </#if> </select>