On 6/14/10 12:37 PM, Tony Giaccone wrote:
> 
> 
> I notice when I use curl to insert a new record, it always ends up with 
> jcr:primaryType="nt:unstructured".
> 
> 
> Is it possible to set that value when using curl?
> 
> 
> 
> Tony Giaccone
-Fjcr:primaryType=[your primary type]

i.e.
curl -Fjcr:primaryType=sling:Folder
http://admin:ad...@localhost:8888/test/content

mixins are the same:

curl -Fjcr:primaryType=sling:Folder -Fjcr:mixinTypes=mix:referenceable
http://admin:ad...@localhost:8888/test/content2

Justin

Reply via email to