Add a Content node or ContentType at the root using the API
The constructors and factory functions for Content and ContentType all require a reference to a parent or parent Id. An exception is thrown if I try to pass null as a parameter. How can I add a content node - or a ContentType - at the root (which has no Id)?
Add a Content node or ContentType at the root using the API
The constructors and factory functions for Content and ContentType all require a reference to a parent or parent Id. An exception is thrown if I try to pass null as a parameter. How can I add a content node - or a ContentType - at the root (which has no Id)?
you should beble to create at the root by passing -1 as the parent id.
using the content Service
That worked perfectly, thanks
is working on a reply...