Wiki source code of Hook pour l'envoi de fichiers

Last modified by Aurelie Bertrand on 2025/11/14 11:59

Show last authors
1 It is possible to check the files added via the dashboards (additional content [[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**button**>>path:/xwiki/wiki/dev/view/Digdash/user_guide/dashboard/dashboard_editor_guide/create_dashboard/#Contenu_add_bouton]](%%) or [[(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**Documents**>>path:/xwiki/wiki/dev/view/Digdash/user_guide/dashboard/dashboard_editor_guide/create_dashboard/#Contenu_add_documents]](%%)) or the Studio to make sure they meet certain criteria: name, extension, content, etc. See the page [[Checking file validity on upload>>doc:Digdash.deployment.configuration.File_upload_sanitycheck.WebHome]] page for more details.
2
3 Here you can enter a script (Python, Shell or other) that will be executed each time a file is added.