Expand my Community achievements bar.

SOLVED

Overlay createlivecopywizard

Avatar

Level 4

I am trying to overlay createlivecopywizard . So i copied the data from here /libs/wcm/core/content/sites/createlivecopywizard to /apps/wcm/core/content/sites/createlivecopywizard. I made some minor changes in the apps wizard !! But when i try to run through the live copy process . I still the changes coming from libs and not from the changes i made in the apps..Is there any other changes that is required to make this work?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
8 Replies

Avatar

Level 5

Hi @AEMnewbie ,

Don't copy the node from libs to apps manually. Please use overlay button as shown in below picture.

Capture.PNG

Thanks,

Sandeep.

 

Avatar

Level 4
Sure I could do that!! But i see 2 problems with its copying -- When i use that option i see that its just copying that particular node and not the the child notes within it.. So we will have to do this like 20 times.. Isnt there an easy way ? Second are we saying the manual copy of node doesnt work correctly?

Avatar

Level 5

For every node overlay option is there, you can go to require child node and overlay it.

manual copy  doesn't work properly. 

Capture.PNG

Avatar

Correct answer by
Community Advisor

Avatar

Level 4

Screen Shot 2020-11-19 at 12.38.46 AM.png

Ok..I had a question.. I am planning to removing a couple of textfields from the libs wizard..So i overlayed it in apps and removed those 2 fields ..But if it is merging the fields from apps and libs then it doesnt serve the purpose. Is there a better way to do this ?

Avatar

Community Advisor

@AEMnewbieUse Properties of Resource Merger to achieve your use case.

 

Referencehttp://www.sgaemsolutions.com/2017/09/sling-resource-merger-in-aem-63.html

 

sling:hideProperties
String or String[]
Hide the properties,The wildcard(*)hides all.
sling:hideResource
Boolean
Indicates that the resource should be completely hidden with its children
sling:hideChildren
String or String[]
Hide the list of children of a particular resource. The wildcard(*)hides all the children.
sling:orderBefore
String
Contains the name of the preceding sibling.

Avatar

Level 4
Thanks @Sandeep6 @Bhuwan_B the trick was just to add this sling:hideResource to the property i wanted to hide ..I got it working