Want to restrict multiple uploads of same file in Alfresco 7.0.1

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2023 01:07 PM
We are using Alfresco 7.0.1, when we upload same file multiple times under document library of any site , it gets uploaded and name got updated with a counter like example-1.png.
We want to restrict the multiple upload of same file with a message like "document already exists".
Is there any simple way to implement this?
Please suggest if any.
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2023 10:54 PM
You can restrict by writing rule or policy.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2023 09:08 AM
I am creating a rule for documentlibrary of the site.
I am executing the script when a document is created or enter,
Script is :

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2023 05:36 PM
Hello, the Rule in this case not prevent the creation of the document with the same name, you most implement a NodeServicePolicies.
