Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

cURL command to update multivalue property.

Avatar

Level 2

Hi 

I'm new to cURL commands use, can anyone help me please.

  • Is it possible copy one node property to another node.
  • how to add new value in existing multivalue property node.
  • is it possible to update multiple nodes at a time.

Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Level 2

Thanks all,

 

working curl command.

curl -u admin:admin  -Ftest@Patch=true -Ftest=+test3 http://localhost:4502/content/geometrixx/en/jcr:content

View solution in original post

4 Replies

Avatar

Level 10

Here is a good community article on CURL: 

http://www.aemcq5tutorials.com/tutorials/adobe-cq5-aem-curl-commands/

Sounds like you want to do a lot of Node manipulate. YOu should look at writing JCR API code and deploy to AEM as a Sling servlet. Then you can interact with it via GET requests. 

Avatar

Administrator

Hi Please have a look at these community articles:-

Link:- https://gist.github.com/sergeimuller/2916697

Link:- https://hashimkhan.in/2015/05/27/aem-with-curl/

This will help you.

~kautuk



Kautuk Sahni

Avatar

Level 2

I need to add new value in multivalue property without overriding existing values.

is it possible ?

Avatar

Correct answer by
Level 2

Thanks all,

 

working curl command.

curl -u admin:admin  -Ftest@Patch=true -Ftest=+test3 http://localhost:4502/content/geometrixx/en/jcr:content