Posted in How To

Integrating custom CQ widgets with third-party libraries

Have you ever wondered how to create a custom CQ widget that performs tasks not available with out of the box CQ components. In this situation, you can create a CQ widget that uses third-party libraries that lets your CQ application perform custom task…

Viewing CQ server logs for a system hosted on Cloud Manager

To understand how you can view logs for a CQ Cloud Manager authoring server, look no further than this useful forum topic.
For more top issues and FAQ related to Adobe CQ Cloud Manager, see this documentation article.

Handling DELETEs which flush the dispatcher cache

I have been working on the following problemette, which was posted to the DAY-CQ mailing list on Google.com :- Hi CQ Community, Does anyone know how to stop the dispatcher invalidating on a DELETE command down a path? The reason why I ask is because w…

CQ Cloud Manager is here!

Adobe has announced the general availability of CQ Cloud Manager, Software-as-a-Service (SaaS) that enables reduced time and costs for provisioning, managing, and metering Web Experience Management (WEM) solutions supporting digital marketing initiatives. Cloud Manager takes advantage of cloud computing technology, such the Amazon Web Services (AWS) public cloud, to start up CQ clusters quickly and [...]

Using JSONWriter objects to display Adobe CQ OSGi data

You can create an org.apache.sling.commons.json.io.JSONWriter instance to invoke Adobe CQ OSGi bundle operations and display data within a JSP. A JSONWriter instance lets you define value and key methods to retrieve data. You can create an Adobe CQ com…

Logging Activates, Deactivates and Deletes

To keep a log of who has activated or deactivated a page, add this to your logging :- Log Level: DebugLogger: com.day.cq.replication.impl.queue.ReplicationJob You will then get entries like this in your log file :- 01.05.2012 13:58:07.460 *DEBUG* [123….

Creating Adobe CQ bundles that consume web services

You can create an Adobe CQ bundle that consumes data from a third-party web service and then display the data in a web page. For example, assume that you use Adobe CQ to create a web site for a government department that tracks weather information. In …

Creating an Adobe CQ web application that uses MySQL

You can create an Adobe CQ web application that performs database operations on a relational database. For example, you can create an Adobe CQ web application that retrieves data from MySQL and displays the data in a JSP. The following illustration sho…

Creating a Column Control in Adobe CQ

Column Controls in Adobe CQ allow authors to easily create and configure column-based layouts.  This guide shows advanced users and developers how to create and configure a column control.

Step 1: Add a Parsys to a Component JSP
Include a Paragraph System into the page’s component JSP.  You can use any node name for the path, the resource type is ‘foundation/components/parsys’
<cq:includepath=”par”resourceType=”foundation/components/parsys “/>
Step 2: Configure the Paragraph System
To add a Column Control to the Paragraph System, you will first need to update the design.  Select design mode on the sidekick.

Selecting Design Mode
Design mode allows you to configure the Paragraph System for all pages with the same template.  Once the page has reloaded, select Edit next to ‘Design of {NODE}’

Selecting Column Control Component
Look down through the list of available …

Using XMLBeans in Adobe CQ

Apache XMLBeans is a powerful tool for reading, writing and updating XML files.  XMLBeans dynamically creates Java classes based on an XSD Schema.  This makes it powerful and easy to use, however can make it more complicated to integrate into OSGi based applications, such as Adobe CQ, as the XML Element to Java Class mapping uses the Java Classloader.
This guide shows you how to integrate XMLBeans in your Adobe CQ application.

Step 1: Install XMLBeans Bundle
Download and install org.apache.servicemix.bundles.xmlbeans-2.4.0_5.jar.  This JAR was created by the Apache ServiceMix project to wrap XMLBeans in a OSGi Bundle.  The easiest way to automatically deploy the jar into Adobe CQ is to include it in the install folder of your application.  You can also use the Felix console to deploy …


Copyright © 2012 Adobe Systems Incorporated. All rights reserved.
Terms of Use | Privacy Policy and Cookies (Updated)