Update Multi-Value Node JCR properties in AEM with CURL

This is a simple way to update or write multi-value Node JCR properties inside of AEM using curl.

curl command:

1
2
3
4
5
curl -v "http://localhost:4502/crx/server/crx.default/jcr%3aroot" \
  -u admin:admin \
  -H 'Content-Type: multipart/form-data; boundary=crxde' \
  --data-raw $'--crxde\r\nContent-Disposition: form-data; name=":diff"\r\nContent-Type: text/plain; charset=utf-8\r\n\r\n^/content/sourcedcodeaem/jcr:content/stringArray : ["one","two","three"]\r\n--crxde-- ' \
  --compressed

Result:
result of the curl command

If you wish to learn how to Update a Node JCR property in AEM with CURL, click here.

Hello, I am an enthusiastic Adobe Community Advisor and a seasoned Lead AEM Developer. I am currently serving as an AEM Technical Lead at MNPDigital.ca, bringing over a decade of extensive web engineering experience and more than eight years of practical AEM experience to the table. My goal is to give back to the AEM Full Stack Development community by sharing my wealth of knowledge with others. You can connect with me on LinkedIn.

One thought on “Update Multi-Value Node JCR properties in AEM with CURL

Leave a Reply

Your email address will not be published. Required fields are marked *


Back To Top