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

AEM Template

Avatar

Level 2

To display image on one page and Video on other. Do we need one template or two templates for this requirement? Also, both pages will use same or different java scripts.

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can drop an image on page 1 and video on page 2 with the page using the same template.

Are you using Editable Template - which is best practice in AEM 6.3/6.4? If so - make sure that the template uses both of these components in the layout container policy located on the editable template.

If you are not familiar with editbale template - see Adobe Experience Manager Help | Creating an Adobe Experience Manager 6.4 website using Editable Temp... .

View solution in original post

4 Replies

Avatar

Correct answer by
Level 10

You can drop an image on page 1 and video on page 2 with the page using the same template.

Are you using Editable Template - which is best practice in AEM 6.3/6.4? If so - make sure that the template uses both of these components in the layout container policy located on the editable template.

If you are not familiar with editbale template - see Adobe Experience Manager Help | Creating an Adobe Experience Manager 6.4 website using Editable Temp... .

Avatar

Level 10

For example - see this image

Travel51.png

Notice the components visible under the header. THis means an author is able to drop any of these components into the page that is based on this editable template. So make sure that the image and video components show up in the layout container.

Avatar

Level 10

In the next week or so (early June 2018 ) - you will find a Guided Journey of using Editable Templates in the Experience League web site under AEM here: Experience League Intelligent Guidance | Adobe