Extending or Creating custom page templates using OTB MCM email components | Community
Skip to main content
Level 3
July 28, 2016

Extending or Creating custom page templates using OTB MCM email components

  • July 28, 2016
  • 1 reply
  • 3217 views

Hi All,

I am working on a requirement where in I need to create custom email-templates and these will be used to create email pages in AEM and later it will be synced to Adobe campaign and from there emails will be sent to several people.

When I verified the adobe documentation @ https://docs.adobe.com/docs/en/aem/6-1/administer/integration/marketing-cloud/campaign/best-practices-for-email-templates.html says as below:

There are currently seven components available for use inside campaign templates( under path /libs/mcm/campaign).These components are optimized for mail content; that is, they adhere to the best practices outlined in this document. Using other out-of-the-box components will usually violate these rules.

I created custom components by using the best practices explained in the documentation. I also used some of the OTB components on the email-component page. I packaged everything which includes. content-email-page custom components and templates and installed on n another machine. But when I open  the content-email-page I see the content but on the side kick is not loading the custom components , but it is loading OTB-mcm-components.

I have created the email-content-page under this path-->/content/campaign.

One more observation is that when I create a new page all components are loading in the side kick. The issue is only only on the page which has been copied from  one instance to another instance.

So I don't know if I can  use the custom components for Adobe-campaign created by using  best practice provided in Adobe documentation. I need to know the step by steps for creating custom-templates and components on  AEM for use in Adobe campaign.

I also want to know is it allowed to extend the components under path -->/libs/mcm/campaign in apps folder to build some custom functionalities on these components.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

smacdonald2008
Level 10
July 28, 2016

I also want to know is it allowed to extend the components under path -->/libs/mcm/campaign in apps folder to build some custom functionalities on these components

You can extend these HTL (Formerly SIghtly) components like you can any other AEM component. There is nothing special about these that would result in not being able to extend them. 

Level 3
July 28, 2016

Hi,

I am facing issues on custom content pages , wherein page properties don't open on page when I did customization as explained below. I am not getting any java-script error as well. But I am able to open  page page-properties  from site admin screen by right clicking on the page and selecting the properties from menu.

I just overlaid the /libs/mcm/campaign into apps folder and just renamed the component /apps/mcm/campaign/components/campaign_newsletterpage into /apps/mcm/campaign/components/campaign_newsletterpage_custom and then renamed the template /apps/mcm/campaign/templates/campaign_newsletterpage to /apps/mcm/campaign/templates/campaign_newsletterpage_custom

Then  I created a content page for the template under /content/campaigns using this new template  /apps/mcm/campaign/templates/campaign_newsletterpage_custom. When  I do this the pageproperties on the content page are not opening, but I am able to open page properties of the content-page from site admin screen. So on the page page properties are not opening. The page-properties is having an option to pick configuration information with respect to Adobe campaign. So page properties should work on the page.

February 16, 2017

Hi Subramanya,

Were you able to find fix for this issue?

I am facing similar issue while customizing few page properties.