creating a component with core Teaser component as Its resourceSuperType adding a cq dialog folder under the component
What are the next correct steps that the AEM developer needs to take ?
a. Navigate to the new components dialog in CRX.
Delete the pretitle child node.
b. Navigate to the /apps/core/wcm/components/teaser/v1/teaser/cq:dialog/content/items/tabs/items/text/items/columns/items/column/items in CRX
c. create a file named dialog.xml inside that new folder
copy the entire node structure from the Core Teaser components dialog xml
Delete the pretitle node.
d.
Create a file named .content.xml inside new folder.
Copy only the node structure that will be modified into .content.xml
Add sling.hideChildren[pretitle] to the parent node of the pretitle node
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
d. Create a file named .content.xml inside new folder.
Copy only the node structure that will be modified into .content.xml
Add sling.hideChildren[pretitle] to the parent node of the pretitle node
Please follow the below steps:
a. Navigate to the new component's dialog in CRX.
d. Create a file named .content.xml inside the new folder.
c. Copy the entire node structure from the Core Teaser component's dialog xml
b. Navigate to the /apps/core/wcm/components/teaser/v1/teaser/cq:dialog/content/items/tabs/items/text/items/columns/items/column/items in CRX
d. Delete the pretitle child node.
d. Add sling:hideChildren=[pretitle] to the parent node of the pretitle node.
Now, your custom component hides the "pretitle" field from the Core Teaser dialog, but inherits all other dialog properties.
Views
Replies
Total Likes
Hi I have this issue too and this solution doesn't work.
Views
Replies
Total Likes
d. Create a file named .content.xml inside new folder.
Copy only the node structure that will be modified into .content.xml
Add sling.hideChildren[pretitle] to the parent node of the pretitle node