Solved
How to add a property to a node?
CQ.HTTP.post("/content/corp/en_us/test/jcr:content", null, {
"jcr:primaryType" : "cq:PageContent",
"propertykey" : "propertyvalue"
});
How can I give property type to it ?
CQ.HTTP.post("/content/corp/en_us/test/jcr:content", null, {
"jcr:primaryType" : "cq:PageContent",
"propertykey" : "propertyvalue"
});
How can I give property type to it ?
If you want to provide type information, you can check the documentation at [1].
CQ.HTTP.post("/content/corp/en_us/test/jcr:content", null, { "jcr:primaryType" : "cq:PageContent", "propertykey" : "propertyvalue", "isboolean@Boolean" : "true" });
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.