Validating Document Classification Labels Before Uploading to Mendix

0
I'm looking for a way to verify if a file's metadata has been updated before uploading in Mendix. We require files to have a classification label applied before they're uploaded or shared across our network. I'd like to know if Mendix provides a built-in feature to ensure users have added a classification label to a file before allowing the upload. In other words, can I confirm that a file has been marked with a classification label without needing to inspect the specific label itself?
asked
1 answers
0

Mendix has no built in features for this. I don't know the file type you are talking about, but I know of metadata of image files and pdf.

There are (at least) two ways to achieve what you ask:

  • After upload, inspect the meta data,  for example with a java-action (for pdf use pdfbox) and delete the file if it is not classified
  • Create a custom file upload widget and inspect the metadata in the browser.  This can be quite complex.
answered