cancel
Showing results for 
Search instead for 
Did you mean: 

Require content description on upload

efe
Champ in-the-making
Champ in-the-making
I am currently in the middle of an Alfresco Community 3.2r2 implementation and am looking for a way to force users to provide a content description when adding content and a version note when updating content. Is anyone aware of any configuration changes that would make this possible? Any and all help is greatly appreciated.
2 REPLIES 2

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
I thing that you need to program a bit for this, there is no setting to set in order to do it.

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
but I gues easyest way is to edit javascript in jsp file /jsp/content/add_content_dialog.jsp

on the end

function checkButtonState()
{
if (document.getElementById("dialog:dialog-body:description").value.length == 0 )
{
document.getElementById("dialog:finish-button").disabled = true;
}
else
{
document.getElementById("dialog:finish-button").disabled = false;
}
}

this should do it. and put required image next to the desc.