Using teaser how to get description from liked page

Avatar

Avatar

rahulk11113165

Avatar

rahulk11113165

rahulk11113165

15-11-2019

Using Dita map I created output, I used teaser I got the title but I don't get a description.

1855679_pastedImage_1.png

So how can I get a description from the linked page

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Umesh_Sondhi

MVP

Avatar

Umesh_Sondhi

MVP

Umesh_Sondhi
MVP

18-11-2019

Hi rahulk11113165

Please check if the page has content for the description field by simply following below steps:

  • Go to your site page and click the page you want to set description for and then click on Properties (p) button
    1856263_pastedImage_9.png

  • Find Description field in the window and if empty then set the description and save
    1856831_pastedImage_12.png

Hope it helps

Answers (1)

Answers (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

883

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

883
Arun_Patidar
MVP

16-11-2019

you need to set a description of the page using page properties.

Teaser read jcr:description property of the page to get a description.

aem-core-wcm-components/teaser.js at master · adobe/aem-core-wcm-components · GitHub