Hello everybody, I'm working on seeting a dynamic custom content model by creating the xml file containing my model and putting it to company_home/dictionnary/models, the question is how can I set the new model I've created to active using java. ps: the model .xml building and it creation in models is also done using java. regards,
Its just a boolean property (cm:modelActive) that you have to set to true. You should be able to do it via Share or Explorer. On programatially by calling the node service.
thank you sir, in fact I'm used to do it manually but now I did it programmatically using nodeService as you mentioned, but the problem is that the properties and aspects defined in the are not recognized, but when I do it manually with the same xml file, they are, seems strange but there must be a reason. regards,