cancel
Showing results for 
Search instead for 
Did you mean: 

Create Custom Metadata

francoist
Champ in-the-making
Champ in-the-making
Hi,

How do one create Custom Metadata when uploading a file using a webscript. We need aditional info that will be used in a lucene search at a later stage.
1 REPLY 1

bramthielemans
Champ in-the-making
Champ in-the-making
node.properties["my:metadata"] = "value";
node.save();

Assuming that you have already defined your custom metadata in one of your models, of course. If you haven't, read up on http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Step_by_Step_Model_Definition