cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic custom content model

ucf
Champ on-the-rise
Champ on-the-rise
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,
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
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.

ucf
Champ on-the-rise
Champ on-the-rise
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,

kaynezhang
World-Class Innovator
World-Class Innovator
Content model's node type name should be "cm:dictionaryModel"
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.