Hi,
I have alfresco community 5.2f
Actually i have files uploaded with custom models.
I want with a javascript rename it with metadata value.
Is someone can tell me how i can do this ?
My exemple is this :
var docObjet = get value of custom model;
var docName = document.name;
document.name = "BC" + "_" + docObjet + ".pdf";
document.save()
In red what i need.
Exemple i have metadata on test:BDC-propertie
I need the javascript get the value of the test:BDC-propertie to rename with that value the file.
Can you help me plz ?
I can give more details if needed.