Using xtypes with TouchUI | Community
Skip to main content
October 16, 2015
Solved

Using xtypes with TouchUI

  • October 16, 2015
  • 3 replies
  • 1113 views

This article https://helpx.adobe.com/experience-manager/using/creating-touchui-xtypes.html says "It's strongly recommended that you place custom xtypes in a cq:widgets client library folder for use in AEM 6, as shown in this development article. If a custom xtype is placed in a client library folder based on a custom category property (for example, myclientlib), it may not work in AEM 6 Touch UI. "

Can someone elaborate on the "may not work" aspect of that? In my case, it seems to not work unless I use a categories property of cq.widgets. However, I'm in a situation where this client may have other vendors installing code to the AEM servers, and I'm trying to minimize the possibility of collisions with their code. Having everyone use the same categories property will introduce more risk from that perspective, and if there's a way to remove that requirement, I'd be interested in looking at it.

Thanks

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

I found the email - it states:

It should be in the cq.widgets category. However - it can be in any of these categories:

  • cq.wcm.edit
  • cq.widgets
  • cq.security
  • cq.tagging
  • cq.cloudserviceconfigs
  • cq.dam.scene7

3 replies

smacdonald2008
October 16, 2015

When this article was written - Eng told us that for a custom xtype to work in Touch UI - it had to be placed in the specific client libs that we mentioned in the article. I tested this and found out it only worked in cq.widgets client lib. 

smacdonald2008
smacdonald2008Accepted solution
October 16, 2015

I found the email - it states:

It should be in the cq.widgets category. However - it can be in any of these categories:

  • cq.wcm.edit
  • cq.widgets
  • cq.security
  • cq.tagging
  • cq.cloudserviceconfigs
  • cq.dam.scene7
smacdonald2008
October 16, 2015

Article was also updated to include mention of these other categories.