cancel
Showing results for 
Search instead for 
Did you mean: 

How to Restrict Multi file Selctions in AIKAU alfresco FileSelector?

jayachender
Confirmed Champ
Confirmed Champ

Hi,

In AIkau "FileSelect" widget how to restrict multi file section.

Thanks,

Jay

2 REPLIES 2

ddraper
World-Class Innovator
World-Class Innovator

Just to clarify... are you saying that you only want to configure the FileSelect widget so that it only allows single file seletion?

The short answer is that this is not currently possible. However you have a number of options on how to address this.

The reason that it is not possible is that the FileSelect form control wraps the FileInput widget. The HTML template for the FileInput widget currently has "multiple" hardcoded in it to support multiple file selection.

It would make sense for Aikau to make this configurable, so your options are:

  1. Raise a pull request with the proposed change
  2. Raise a feature request issue in GitHub and wait for it to be fixed
  3. Extend the widgets and create a custom solution

This would make a very valuable contribution so it would be great to see you contribute a pull request to solve it. However, if you'd rather just wait for it to be fixed then I suggest you raise an issue. However, as this is a feature request there is no guarantee on when it will be resolved.

Yes Dave i want to restrict user to be select single file.

I saw current  FileInput.html support multiple.

Thanks for your replay Dave.

Thanks,

Jay

Getting started

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.