cancel
Showing results for 
Search instead for 
Did you mean: 

custom properties/metadata?

lucille_arkenst
Champ in-the-making
Champ in-the-making
Hello,

I need to create a folder with custom metadata.  (There will be 14 properties.  Is there a limit?)
I am thinking all I need to do is modify scModel.xml, restart Alfresco, and then set the properties in my webscript.  Is this right?

Cheers, thanks a lot!
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Yes that's fine.

You may also like to consider putting your properties into an aspect or set of aspects.

lucille_arkenst
Champ in-the-making
Champ in-the-making
Thank you very much.
I put my properties into an aspect, and I am able to set them via the webscript.
I modified web-client-config-custom.xml so that the property sheet ("edit properties") knows to display them.
But… the properties do not get displayed unless I set a business rule on the parent folder that says to apply the aspect to everything in this folder.
Have I done something wrong in my web script? Or is this the way to do it?

Cheers, thanks a lot!