thx, I, once again, tried to make two steps at once ;-) Had jcr:primaryType in the POST but provided a yet unknown type...
Tried to "register" my own nodeType, but unfortunately /jcr:system/jcr/nodeTypes seems to be protected. Can I register my own nodeTypes using the SlingPostServlet at all? > -----Original Message----- > From: Bertrand Delacretaz [mailto:[email protected]] > Sent: Wednesday, September 29, 2010 10:23 AM > To: [email protected] > Subject: Re: SlingPostServletClient, helper class? > > > On Wed, Sep 29, 2010 at 9:46 AM, Clemens Wyss > <[email protected]> wrote: > > I am importing my legacy data using the SlingPostServlet > and I would like to enforce the node's > > primary type I import (now all nodes end up as sling:Folder) > > Adding a jcr:primaryType parameter to the POST should do it. > > -Bertrand >
