April 13, 2020
Estimated Post Reading Time ~

Submitting Mobile Form Data to Adobe CQ

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. For example, consider the following CQ mobile insurance claim form.



A CQ mobile form displayed within a mobile device

When a mobile user fills in this CQ mobile claim form and submits the data, an OSGi bundle processes the data by persisting it in the Adobe JCR. A claim number is generated on the server and returned to the mobile device and displayed in the first field (see the previous illustration).

This development article guides you through creating a mobile form using the JQuery Mobile API and an OSGi bundle that handles the form submission. To read this development article, click:

Submitting Mobile Form Data to Adobe CQ

NOTE: For information about how to use a Sling Post Servlet to submit mobile data to the Adobe JCR as opposed to using an OSGi bundle as discussed in the below article.


Using Sling Post Servlets to submit mobile data to Adobe CQ
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. However, instead of using an OSGi bundle to store the data in the Adobe CQ JCR, you can use the SlingPostServlet.


A CQ mobile form displayed within a mobile device

The Sling Post Servlet provides a RESTful interface that lets you manipulate data content stored in the Adobe CQ JCR. This servlet maps nodes in the JCR repository to URIs and allows applications to modify JCR content. To read this development article, click:

http://helpx.adobe.com//experience-manager/using/using-sling-post-servlets.html


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.