08-29-2013 04:18 AM
<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
08-29-2013 06:00 AM
new Alfresco.getFileUploadInstance()
thing, and there is the setup of th instance. In that setup, you can set the container, or directly the nodeRef of the folder you're uplodaing to.
{
siteId: siteId,
containerId: doclibContainerId,
path: docLibUploadPath,
filter: [],
mode: fileUpload.MODE_MULTI_UPLOAD,
}
08-30-2013 03:38 AM
…
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>
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.