Hello eveybody !
There is no way to block extension file in sharepoint so I would like to create a workflow to delete all .rtf file when they are put in the document librairy by the user + an email " document .rtf are not allowed"
Thks y !
Solved! Go to Solution.
Hi @Godmaster ,
The method provided by Brad has basically solved your problem. It is recommended to replace contains with ends with. And replace current item in Delete file with Identifier.
Image reference:
Please take a try.
Best Regards,
Yes, this is a fairly easy Flow and would look something like this:
Please note, that I am using the condition to compare the File name with extension (red boxes) definition with "contains" rtf (green box).
Unfortunately, this extension definition is only available via the Get files (properties only) action, which creates a an Apply to each loop. Depending on the size of your Document Library, this may cause performance issues.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi @Godmaster ,
The method provided by Brad has basically solved your problem. It is recommended to replace contains with ends with. And replace current item in Delete file with Identifier.
Image reference:
Please take a try.
Best Regards,
Oh guys you are handsome !
I will write the workflow and make some test, I go back and let you know if its good or not.
The workflow works very well 🙂
Last question, can i apply this workflow on many librairies, site or subsite ?
The worflow pointed on a single single librairy only ?
Thks you !
User | Count |
---|---|
88 | |
40 | |
23 | |
20 | |
16 |
User | Count |
---|---|
129 | |
50 | |
48 | |
35 | |
26 |