I have created a custom widget using ext js and using that I am saving some properties in a node in jcr.
but it saves it as jcr:primaryType sling folder however I want to change that jcr:primaryType to my custom node type.
i tried writing like " jcr:primaryType" :"customNodeType" or "nodeType":"customNodeType" but its not working?
please help
Solved! Go to Solution.
Views
Replies
Total Likes
Hi
Please note that
A protected property is one which cannot be modified (i.e. have child nodes or properties added or removed) or removed from its parent through the JCR API.
Link:- http://jackrabbit.apache.org/jcr/node-types.html
Also have a look at this old forum thread:-
Link:- https://forums.adobe.com/thread/1147843
And agreeing with Scott that "Ext JS is for controls on a dialog in Classic UI - not to modify JCR Nodes and Props. "
I hope this helps you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
What API are you using to modify the JCR? Ext JS is for controls on a dialog in Classic UI - not to modify JCR Nodes and Props.
Views
Replies
Total Likes
Hi
Please note that
A protected property is one which cannot be modified (i.e. have child nodes or properties added or removed) or removed from its parent through the JCR API.
Link:- http://jackrabbit.apache.org/jcr/node-types.html
Also have a look at this old forum thread:-
Link:- https://forums.adobe.com/thread/1147843
And agreeing with Scott that "Ext JS is for controls on a dialog in Classic UI - not to modify JCR Nodes and Props. "
I hope this helps you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies