adobe / aem-core-wcm-components

Standardized components to build websites with AEM.
https://docs.adobe.com/content/help/en/experience-manager-core-components/using/introduction.html
Apache License 2.0
733 stars 742 forks source link

AMP Mode in Page Policy is NOT showing in Core Components 2.11.2 release #1278

Closed frankieamp closed 3 years ago

frankieamp commented 3 years ago

Bug Report

Current Behavior We'd like to conduct a proof of concept utilizing AMP feature but "AMP Mode" in the Page Policy (Edit template -> Page Policy) is not showing up in order for us to be able to leverage on this new feature and enable it for development purposes. I have installed the AMP Extension packages in https://github.com/adobe/aem-core-wcm-components/releases and all system console bundles are running fine.

Expected behavior/code Go to a site page -> Edit Template -> Page Policy. In here under "Properties", as per the documentation in https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/amp.html?lang=en#enabling-amp , we don't have "AMP Mode" where we can enable AMP.

Environment

Possible Solution

Additional context / Screenshots Here's a screenshot of where we'd expect the missing item. missingAMPmode

vladbailescu commented 3 years ago

@frankieamp , are you using the correct page resource type/supertype: core/wcm/extensions/amp/components/page/v1/page?

fumltechlogies commented 3 years ago

@vladbailescu I tried too and that did not seem to bring up any "AMP Mode" with the Page Policy. Do you have a sample working template?

msagolj commented 3 years ago

@fumltechlogies you can create a sample project with AMP support using the AEM Project Archetype.

frankieamp commented 3 years ago

I was able to resolve the issue. Using the packages in https://github.com/adobe/aem-core-wcm-components/releases is not sufficient. You'll have to make a maven build (mvn clean install -PautoInstallPackage) on the source code provide.