javax.jcr.nodetype.ConstraintViolationException : Node is protected
Hi I have an nt:unstructured node to which i am writing some properties through java code. The properties are getting written but in my error log i am getting...
View ArticleHow to implement Ajax
Hi All, I need to implement Ajax functionality in my component. The requirement is, 1. On clicking on a button Java servlet needs to be invoked.2. In the servelt, need to access CRX nodes and store a...
View ArticleApache Sling JCR Resource Resolver doesn't work for the anchor tags which is...
Certainly I realized that Apache Sling JCR Resource Resolver doesn't work for the anchor tags which is been rendered through jquery or javascript. e.g. In Felix Console , in Apache Sling JCR Resource...
View ArticleCreating custom Adobe CQ commerce providers [ERROR]
I am trying to create a custom Adobe CQ commerce provider using maven, following this tutorial : Creating custom Adobe CQ commerce providers I am able to create the Adobe CQ archetype project...
View ArticleHow do I use ?
Hi, I am trying to <sling:include> a content node wrapped inside <div> on a jsp. For example I have a textimage content node: "/content/company/en/product/jcr:content/par/textimage" I can...
View ArticleConnect to JMX tools from java
Hello everyone, hope you’re all having a wonderful day, I’m currently trying to connect to the JMX console’s LDAP functionality through a custom login module. I’m currently trying to use the code...
View ArticleInsensitive search using query builder
Hi, I want to convert below sql query so as to use for querybuilder . select * from nt:unstructured where jcr:path like '/content/dam/company/project/data/%' and UPPER(ctn_no) LIKE 'HD%' or...
View ArticleCQ5 as Windows Service with LDAP Authentication
CQ5 as Windows Service with LDAP Authentication1 Introduction LDAP: Lightweight Directory Access ProtocolUsed for accessing centralized directory services.LDAP is often used to achieve Single Sign On...
View ArticleImport content into CQ5.
Hello, I needed to push data from a legacy system into the CQ content repository. I have about 10,000 products/data in a legacy system, and don’t want to manually create each product page in CQ5. I...
View ArticleCan not access bundle context from JSP in CQ5.5
I created an OGI bundle , named : com.sdl.ws.integration.profserv.webservice.connector.server.external.beansI can see the bundle under : http://localhost:4502/system/console/bundlesFollowing is my...
View ArticleProvide alternative JSON renderer? Without losing default JSON renderer?
REQUIREMENTConstruct some custom JSON rendition of a page. For example: /content/site/page.my.json And we want to accomplish this without losing the out-of-the-box functionality:...
View ArticleHow to automate CQ5 using selenium??
how to automate Cq5 using selenium. Extjs is genrateing random values dynamically. How can i get the unique ids from my application.
View ArticleHow to write a subquery using JCR SQL2 in CQ5(without ModeShape)
Hi, We have a parent node with several levels of child nodes. We are trying to do a node level search i.e., if the search key is present in any of the properties in the parent node or the child nodes,...
View ArticleHow to custom the ok button in the edit dialog
Hi Team:I want to log down the user's action when user after edit the attribute in the edit dialog,how to do that?any suggestions/pointers to solve this problem would be appreciable.
View ArticleNeed learning material or links for CQ5
Hi All, I am planning to learn Adobe CQ5. Can anyone give me more information on Adobe CQ5? Also share me the links to download the tool, learning material etc if any one has? Thank you
View Articlequery builder performance
Hi I'm running into very big performance problems with QueryBuilder. I'm using asset viewer to browse my CQ DAM images. We have loaded more than 100.000 images... all of them are tagged. Launching an...
View ArticleCQ5 Startup errors ESAPI directory or file not readable.
Here is the startup screen output with the errors bolded, any help is appreciated. :/lopt/dev/instances/author1/crx-quickstart/bin $ 31.05.2013 08:08:32.365 *INFO * [main] Setting...
View ArticleDisabling the "Target" context menu item in AEM v5.6
Is it possible to disable the "Target" context menu item on components in AEM v5.6? We don't want (at the moment) authors to have this ability and it seems to be interfering with some of our custom...
View Articlecannot create Component: xtype 'tags' not found and no default supplied
Hi I am developing a custom widget for a tool which is similar to Feed Importer tool. The differnce is my tool should allow author to tag the content. So I am using the xtype ="tags" which is throwing...
View ArticleHow to get SlingScriptHelper in servlet?
I need to get a SlingScriptHelper instance from within my servlet. Either a ComponentContext or BundleContext will do as well, as my only goal is to get sling services using it. Using SCR @Reference...
View Article