Hi all,
I want to make one entry at jcr:system level on cms/console either through cms ui or through any api/code, this is our requirements.
We can see it’s in disable mode, I am getting javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected when do export/import or any post call(refering existing data and replaced with new name). Below data I am trying to upload
1. By post call(json data)
{
“name”: “myproject:testone”,
“primaryType”: “nt:nodeType”,
“path”: “/jcr:system/jcr:nodeTypes/myproject:testone”,
“identifier”: “e6e2e692-6466-2955-6e4d-e5059d1b972c”,
“mixinTypes”: ,
“properties”: [
{
“name”: “jcr:hasOrderableChildNodes”,
“type”: “Boolean”,
“multiple”: false,
“values”: [
“true”
]
},
{
“name”: “jcr:supertypes”,
“type”: “Name”,
“multiple”: true,
“values”: [
“myproject:basedocument”,
“hippostd:relaxed”,
“hippotranslation:translated”
]
},
{
“name”: “jcr:isMixin”,
“type”: “Boolean”,
“multiple”: false,
“values”: [
“false”
]
},
{
“name”: “jcr:nodeTypeName”,
“type”: “Name”,
“multiple”: false,
“values”: [
“myproject:testone”
]
}
],
“nodes”:
}
2. By export/import(yaml)
/hclplatformx:testone:
jcr:primaryType: nt:nodeType
testone is already available, I want to create similar testtwo or other one. So get Node is protected.
@jeroen.hoffman , @jasper.floor , @machak and others too, I need your help.
Thanks,
Manish Kumar