cancel
Showing results for 
Search instead for 
Did you mean: 

change the type of content via java api

shay
Champ in-the-making
Champ in-the-making
Hi,

I add a new contenet type into the custom.xml, i can see it in the list in the web client when i update a content.
how can set the type of the content (not the content type!) via the java api?


Thanks in advance,
Shay.
1 REPLY 1

derek
Star Contributor
Star Contributor
Hi,

Using the foundation APIs, you'd get hold of the NodeService and call setType.  Is that what you mean?

Regards