Launch the new Digital Marketing Support Community

-Scott MacDonald

We are getting ready to launch the new Digital Marketing support community in mid-July 2013 (only a few weeks away). The new community will feature new CQ-based forums and new Digital Marketing help pages that contain resources such as a 'Spot Light' section, articles, videos, FAQs, Twitter feeds, and so on.

...

......

Read the full blog post at Adobe Digital Marketing Blog

Submitting Mobile Data to Adobe CQ using a Sling Post Servlet

-Scott MacDonald

You can create an Adobe CQ mobile form using JQuery Mobile API and submit the data to Adobe CQ using a Sling Post Servlet. When a mobile user fills in the form and clicks the submit button, form data is submitted to Adobe CQ.

...

......

Read the full blog post at Adobe Digital Marketing Blog

Developing a Spring MVC project using Maven, JSTL tags, and data persistence

-Scott MacDonald

Scotts Digital Community article falls into a general programming discussion (as opposed to an Adobe Enterprise development article) and provides details on developing a Spring MVC application that persists data.

....

.......

Read the full blog post at Adobe Digital Marketing Blog

Creating gallery components that display digital assets stored in the CQ DAM

-Scott MacDonald

You can create an interactive visual component that lets your AEM users engage with your Adobe CQ web site by viewing and clicking on images. When a user clicks on a thumbnail version of an image, a larger view of the image appears. In this workflow, the component retrieves images from the Adobe CQ Digital Asset Management (DAM) repository.

...

......

Read the full blog post at Adobe Digital Marketing Blog

Submitting Mobile Form Data to Adobe CQ

-Scott MacDonald

You can create an Adobe CQ mobile form using JQuery Mobile API. When a mobile user fills in the form and clicks the submit button, form data is submitted to Adobe CQ. You can develop an OSGi bundle operation to process the submitted form data to meet your business requirements.

...

.......

Read the full blog post at Adobe Digital Marketing Blog

Creating custom CQ email services

- Scott Macdonald

You can create a custom CQ email service that lets CQ users send email messages from a CQ web page. To create a CQ email service, you develop an OSGi bundle that uses the Java Mail API. You can also develop a JSP that uses JQuery that calls the OSGi service and passes data that is sent as an email message.

 Caption – A CQ email client

To follow along with this development article, you need to download the Java Mail API at the following URL:

http://www.oracle.com/technetwork/java/javamail/index.html

The Java Mail API is used within the OSGi bundle that sends email messages when the client initiates a request. The CQ email service comprises of a client (shown in the previous illustration) developed by using JQuery and an OSGi bundle. 

...

--------

Read the full post at Scott's Digital Community.

New CQ best practice articles now live!

- Samartha Vashishtha, Content and Community Lead @ Adobe

We’ve just published the following three CQ best practice articles:

These articles are the first few in the CQ best practices series. In the days to come, we’ll post more best practices, tips, tricks, and troubleshooting information that you can apply to your work.

Stay tuned!

------------

Read the original post at The Doc Fox.

Integrating custom CQ widgets with third-party libraries

- Scott Macdonald, Senior Content and Community Lead @ Adobe

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 tasks. For example, assume that you want to create a CQ application that lets you view a specific street by using Google Map APIs.

Perhaps, you want your CQ component to accept latitude and longitude values and then show the results, as shown in the following illustration.

If you are interested in learning how to create CQ components that use third-party libraries, then check out the following article:  http://helpx.adobe.com/adobe-cq/using/integrating-custom-cq-widgets-third-party.html.

-------

Read the original post at Scott's Digital Community.

Using JSONWriter objects to display Adobe CQ OSGi data

- Scott Macdonald

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 component that uses a JSONWriter instance to submit data to an OSGi bundle operation and get back the results. You can then display the results in a JSP. That is, you can dynamically display data based on user input.

For example, consider the OSGi bundle that uses web services to return weather information. (For information about this OSGi bundle, see  http://scottsdigitalcommunity.blogspot.ca/2012/05/creating-adobe-cq-bundles-that-consume.html.

Note: The OSGi bundle that returns weather data uses web services to expose various operations that return weather data. To follow along with this development article, you must create the weather OSGi bundle by following that article.

....

----------

Read the complete post at Scott's Digital Community.

Creating Adobe CQ bundles that consume web services

- Scott Macdonald

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 this situation, you can create a CQ bundle that retrieves data from a third-party web service and display the data within a form located in a web page. The following illustration shows data being retrieved from a third-party web service and displayed in a JSP.

You can develop an OSGi bundle that contains Java proxy classes that were created by using JAX-WS or AXIS. That is, you can use a tool such as  JAX-WS to generate the Java proxy classes that are based on the WSDL of an external web service. Then you can use these Java proxy classes within your OSGi bundle.

------------

Read the complete blog post at Scott's Digital Community.