cancel
Showing results for 
Search instead for 
Did you mean: 

restrict content in space on mime-type

mmynsberghe
Champ on-the-rise
Champ on-the-rise
Hi,

I want to create spaces that can contain only pdf-documents.  It has to be impossible to add content with different mime-types, from windows explorer as well.
What would be the best way to achieve this?

Kind regards
Mieke
2 REPLIES 2

thestorm
Champ in-the-making
Champ in-the-making
Java Script or a Rule should work for you, i guess theres a Rule to handle it, cant check my Alfresco right now.

mmynsberghe
Champ on-the-rise
Champ on-the-rise
I could indeed create a content rule with script that removes any added content that is not pdf, but that way content could get lost, and it isn't very user friendly either
I'd want windows explorer to show an error, even if it's just the standard error saying that the file could not be moved or copied.
Is there a rule or scripts that prevents content that is not of a specified mimetype to be added to a space?

Kind regards
Mieke