How to Render PDF from Adaptive form with data on AEM 6.5
Hi, We have a requirement to render PDF from Adaptive form on AEM 6.5.The rendered PDF should have the data from the Adaptive form as well. Currently I am using the below code window.guideBridge.getDataXML(
{
success: function(result) {
var formData = new FormData();
formData.append("dataXml",result.data);
var url = "servletpath?data=" + result.data + "&path="+path;to fetch the formdata from the adaptive form. This script is trigged on clicking a button in Adaptive form.A custom servlet is called from this script, which uses formservice.outputservice to render static PDFs along with data. The issue that we are facing is that the application is placed behind SI proxy and the request is then redirected from SI proxy server to AEM load balancer. In this case, the SI prxy server is appending url /abc/def/ to access all the pages on AEM.As a result, the AF are available on <SIProxydomain>: