No description, website, or topics provided.
JavaScript FreeMarker CSS Java Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
repo
share
.gitignore
.travis.yml
README.md

README.md

Build Status

Alvex Uploader

Attach files from local drive or select existing files in the repository on any Alfresco Share form:

  • packageItems on workflow forms
  • cm:content associations on any custom form

Uploader

Compatible with Alfresco 5.1 and 5.2.

This component requires:

Using this project

Recommended way to use Alvex components is to include them as dependencies to your Maven project. Follow this guide to include this component to your project.

Build from source

To build Alvex follow this guide.

Quick Start

Using Files uploader on workflow forms

Add PackageItems field to the form and use the following field configuration in Appearance section of your type Share configuration:

<field id="packageItems">
  <control template="/alvex-uploader.ftl">
    <control-param name="uploadDirectory">uploads</control-param>
    <control-param name="createUploadDirectory">true</control-param>
  </control>
</field>

All uploaded documents will be saved to the folder named in parameter uploadDirectory.

Using Files uploader on other forms

Use the following field configuration in Appearance section of your type Share configuration:

<field id="prefix:files">
  <control template="/alvex-uploader.ftl">
    <control-param name="uploadDirectory">uploads</control-param>
    <control-param name="createUploadDirectory">true</control-param>
    <control-param name="viewType">mini</control-param>
  </control>
</field>

prefix:files should be an association with cm:content element or its child.