Re: Setting sling:resourceType on a node as part of repo initialization?

2017-12-16 Thread Bertrand Delacretaz
Hi John, On Fri, Dec 15, 2017 at 8:00 PM, John Logan wrote: > It wouldn't work if I had any other required properties that needed to be > mapped from the node... > For that, the repoinit language would need to support general property > initialization, and I'm not >

Re: Setting sling:resourceType on a node as part of repo initialization?

2017-12-15 Thread Bertrand Delacretaz
Hi John, On Fri, Dec 15, 2017 at 1:44 AM, John Logan wrote: >... I'm creating a node at repository initialization time using a "create >path" statement in my repoinit > block, and wondering what the best practice would be for also setting the > sling:resourceType on >

Setting sling:resourceType on a node as part of repo initialization?

2017-12-14 Thread John Logan
Hi, I'm creating a node at repository initialization time using a "create path" statement in my repoinit block, and wondering what the best practice would be for also setting the sling:resourceType on that node. It looks like the repoinit language only allows setting of jcr:primaryType and