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

Renaming a text object

Avatar

Level 3

This seems like it should be very simple, but it is not. When creating a form I drag a text object onto the form and it is named Text1, if I copy and paste this text object a new text object is created called Text1[1] and the old one is named Text1[0]. Let's say I now want to change the name of the 2nd text object. How do I get this done without going into the XML source and changing it manually?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

Also clicking twice on the object in the hierarchy view will put the object in edit mode and you can type the new name there. You can also access this by clicking once on the object in the hierarchy view and pressing F2.

Good luck,

Niall

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Hi,

Also clicking twice on the object in the hierarchy view will put the object in edit mode and you can type the new name there. You can also access this by clicking once on the object in the hierarchy view and pressing F2.

Good luck,

Niall

Avatar

Level 7

Hi iamcootis,

Are you talking about renaming a static text field? If so, the only ways to rename them are in the hierarchy or through the XML source, although I have no idea why you'd want to go to the trouble.