Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Update a Component's property value without authoring through dialog, or directly editing it on CRX

aemAmateur
Level 2
Level 2

Hi all,

Is there any other way to directly edit a property of a component other than that of directly editing through the component's dialog or editing it from the CRX, or even have a sling script modifying it.

I have /content/project/page/jcr:content/root/parsys/component1/property1: "value1". I want this property changed to "value2". I am in my author environment.

I am expecting something like a JavaScript Ajax request. Is it possible?

authoring ClientLibs granite
1 Accepted Solution
Bhuwan_B
Correct answer by
Community Advisor
Community Advisor

@aemAmateur Check for below article to update Node JCR property using curl command if you dont want to do it Programmatically.

https://sourcedcode.com/blog/aem/update-a-node-jcr-property-in-aem-with-curl

View solution in original post

1 Reply
Bhuwan_B
Correct answer by
Community Advisor
Community Advisor

@aemAmateur Check for below article to update Node JCR property using curl command if you dont want to do it Programmatically.

https://sourcedcode.com/blog/aem/update-a-node-jcr-property-in-aem-with-curl

View solution in original post