Try to use AEM Forms as a Cloud Service - Communications document generation synchronous APIs to generate PDF(DOR) and according to documentation it supports template path as "reference path of your Experience Manager Repository".
Wondering what will it be like
- content/dam/formsanddocuments/XSDBasedForm.xdp or
BTW both are not working. Any help will be much appericated?
Sign in to like this content
Thanks for promtly reply.
I want to use try this
builder.addBinaryBody("data", dataXml.getBytes(); builder.addTextBody("template","crx://content/dam/formsanddocuments/XSDBasedForm.xdp", ContentType.TEXT_PLAIN);
builder.addBinaryBody("data", files[i]); builder.addBinaryBody("template", xdpTemplate);
Any clue if this is correct? API response is 500.