in a page I need to find after title first heading . there is any way to get the report and update first heading only for all the pages . i am trying to get the report in crx/de by using heading type. But i get all heading in the page.
Can anyone help me how to fix issue.
Views
Replies
Total Likes
Can you provide a screenshot of your content hierarchy which you are trying to update?
Views
Replies
Total Likes
HI @aneesshaik ,
Can you elaborate more on the ask, what you need? It seems like you want to update page title property, for that you can write a custom class which will update the node property.
Sample code that you can follow:
Node n = session.getNode("/content/project/home");
n.setProperty("PropertyName","Sample");
-Tarun
Views
Replies
Total Likes
How are you trying to update the heading of all the pages?
One option might be to use Groovy scripts. It will help you have better control, to traverse to the first title and update it. If the first title has the same path relative to the page, it would be even easier
Views
Replies
Total Likes