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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Can we change the name of property.

Avatar

Level 5

akshaybhujbale_0-1658470075685.png

Hi Team 

Can we change the name of property.

Can we change the property 'text' name.

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

At node level, you can't change the existing property name but you can delete it and add a new name with the same details at the node level.
But if this name is a dialog property, please change it at the dialog level of that property in the respective component. 


In the above screen shot, you are referring to a content fragment, which is a ootb component. In order to customise it you'll have to create a custom component which acts like a CF or overlay/extend the CF.

 

Thank you,

Sravan

View solution in original post

2 Replies

Avatar

Employee

You can change the property name, just update the dialog of the component and update the property name there.

 

For existing content created using this component, you may need to write a script to update the property name. You can try ACS Commons on deploy scripts [1], this is supported for on-prem version only.

 

[1] https://adobe-consulting-services.github.io/acs-aem-commons/features/on-deploy-scripts/index.html

Avatar

Correct answer by
Community Advisor

At node level, you can't change the existing property name but you can delete it and add a new name with the same details at the node level.
But if this name is a dialog property, please change it at the dialog level of that property in the respective component. 


In the above screen shot, you are referring to a content fragment, which is a ootb component. In order to customise it you'll have to create a custom component which acts like a CF or overlay/extend the CF.

 

Thank you,

Sravan