Reputation: 29
I need to add a new property to a existing node in JCR:content from javascript(ExtJS).
Upvotes: 1
Views: 3434
Reputation: 9304
Use HTTP POST method (via AJAX) and Sling POST servlet, like:
CQ.HTTP.post('/content/path/to/my/page/jcr:content', null, { newProperty: '123' });
Upvotes: 8