Hi all,
I'm try to find a way to add a custom aspect dynamically.
I read that in Alfresco I can create a custom aspect adding in the customModel.xml file a tag <aspect name="custom:detail"> …
When Alfresco start I can set a new aspect directly via my java application
as content.setProperty("custom:key", "value");.
In this case I assume that I have to know the custom aspects in advance.
My problem is that I don't know the aspect associated to the document and I can not create in the customModel.xml with cutom aspects.
For each typology of documents I have different aspects and so I have to create them dynamically.
Can I do that with SDK?
Many thanks.
Andrea