mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[MNT-22641] Upload versioning improvements (#7300)
* support "versioningEnabled" for uploads * documentation updates * remove app config and extend the api docs
This commit is contained in:
@@ -89,7 +89,7 @@ node module.
|
||||
}
|
||||
```
|
||||
|
||||
From vesion 3.8.0 It's possible filter also for the folder whilst uploading a whole folder.
|
||||
From version `3.8.0` it is also possible to filter out the folders:
|
||||
|
||||
**app.config.json**
|
||||
|
||||
@@ -110,4 +110,11 @@ From vesion 3.8.0 It's possible filter also for the folder whilst uploading a w
|
||||
```
|
||||
|
||||
In this way all the files present in the .git folder won't be uploaded.
|
||||
Please note that the filtering options available for the folders is the same as the one for the files.
|
||||
> Please note that the filtering options available for the folders is the same as the one for the files.
|
||||
|
||||
### Toggling Versioning Support
|
||||
|
||||
It is also possible to provide the `versioningEnabled` value as part of the `FileUploadOptions` when using upload service from the code.
|
||||
|
||||
> Note: When creating a new node using multipart/form-data by default versioning is enabled and set to MAJOR Version.
|
||||
> Since Alfresco 6.2.3 versioningEnabled flag was introduced offering better control over the new node Versioning.
|
||||
|
Reference in New Issue
Block a user