Hi All,
I have a aem page(/content/xyz/page1) under page properties under advanced tab there is a searchable checkbox field, its unchecked, I want to make it as checked.
But in crxd I didnt see this property(searchable)
Actually I have so many pages and I need to update it to all page, I tried using curl command
curl -u admin:admin -Fsearchable="true" http://localhost:4502/content/xyz/page1
but its not updated, I didnt see that property in crxd.
Can anyone help me to fix this.
Views
Replies
Total Likes
Hi @Vani1012 ,
You can achieve this using groovy script as well.
Please check similar thread here - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/update-the-page-property-f...
Regards,
Shiv
Doesn’t you need to update at jcr:content node as page property is stored at that level.
curl -u admin:admin -Fsearchable="true" http://localhost:4502/content/xyz/page1/jcr:content
@DPrakashRaj
I want to add a new property for aem pages which uses a specific template.
Can you please share curl command for it
Hello @Vani1012
Please visit https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/curl-command-to-set-proper...
It contains few examples.
In the example you have shared, the path is only till page. We cannot add properties there. It should be the location of exact node like http://localhost:4502/content/xyz/page1/jcr:content
please have a look at curl commands below.
https://github.com/paulrohrbeck/aem-links/blob/master/curl_cheatsheet.md
Other than that, you can use groovy script to fetch details of the page and making modifications afterwrds.
Here is the link for your reference.
https://aemgeeks.com/aem-tools/use-groovy-script-in-aem/
I hope it helps!
Views
Likes
Replies