The Output Service is used to generate PDF, HTML, or print-ready output from an XDP form template. It is built on top of the AEM Forms Document Services, which provides a set of APIs for creating, manipulating, and rendering PDF documents.
The Form Service, on the other hand, is used for form-related functionality such as creating, populating, and validating forms. It also provides APIs for working with data submitted by forms, including data stored in AEM JCR repository.
The limitations of the Output Service over the Form Service will depend on the specific use case and requirements of your application. However, here are some general limitations to keep in mind:
-
Output Service is mainly used for generating output (PDF, HTML, Print-ready) and it's limited to that. It doesn't provide any form-related functionality like form creation, population, validation.
-
The Output Service is primarily used for generating output from an XDP form template and does not provide the same level of granular control over the data and layout of the form as the Form Service.
-
The Form Service provides a more extensive set of APIs for working with form data, including data stored in the JCR repository. It allows you to manipulate data in a more granular way, including working with tables and dynamic table structures.