Expand my Community achievements bar.

AEM 6.2 | Trying to create pages under /etc hierarchy with touch ui, but touch ui sidekick doesn't shows up.

Avatar

Level 1

I have created a new template (with sling:resourceSuperType : wcm/foundation/components/page ) and trying to create content with it in /etc hierarchy, but touch ui sidekick doesn't shows up. when i try to use the same template to create content under /content it work perfectly fine and touch ui sidekick is perfectly initialize and i am able to add touch ui component.

My hunch is it is failing, as it is trying to initialize classic UI dialog although i am trying to open page in touch ui mode and with wcm/foundation/components/page as superResourceType.

Note: Page work perfectly fine if i use the classic UI, but the issue is my component support only touch ui dialog.

    
Sample page template / Page component and page content is available @ drive.google.com/open?id=0B4uTPXRasKBhbjlKbnVhYXR6a2s
8 Replies

Avatar

Level 10

Why are you not building your templates and page component under / apps which is standard practice?

Avatar

Level 1

I am building my template and page component under /apps only but the page i am creating using this template is under /etc. Please see the package link in the main question.

Avatar

Level 9

check the properties which restrict template to be viewed out side of /content structure. AllowedPaths is the property which generally being used for this.

for more details about template level properties.

 https://docs.adobe.com/docs/en/cq/5-6-1/developing/templates.html

Avatar

Level 1

Template in the reference zip is already having allowedPaths Property as .*. Sample Page created is also in the zip link.

Issue i am facing is with the sidekick not getting intialize.

Avatar

Administrator

Troubleshooting articles:-

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

// Add "<cq:include script="/libs/wcm/core/components/init/init.jsp"/>"

 

Link:- https://helpx.adobe.com/in/experience-manager/kb/SidekickDoesNotShowUp.html

// "Sidekick Does Not Show Up"

 

~kautuk



Kautuk Sahni

Avatar

Level 1

Kautuk,

It is still having the same issue, for any page created under /etc i am not able to see the side kick in the touch ui. Although the side kick is coming perfectly fine in classic UI.

If i use the same template to create page under /content side kick is coming fine in both classic and touch ui.

~Cheers

Tosheer

Avatar

Level 3

Hi  Tosheer Kalra

The problem is, that classic ui is forced under /etc except /etc/commerce via filter in AuthoringUIModeServiceImpl.

See: http://stackoverflow.com/questions/39141696/aem-6-2-trying-to-create-pages-under-etc-hierarchy-with-...

Regards, Reto

Avatar

Community Advisor

kautuk sahni​, I know this thread is very old. But do we have any work around to create a page under /etc with touch ui?