Communications document generation - with URL
Trying to generate PDF using "Communications document generation" API. Doc URL - https://adobedocs.github.io/experience-manager-forms-cloud-service-developer-reference/api/sync/#tag/Communications-document-generation-synchronous-APIs
Sample code suggest we can use URL. When I tried with my xdp on Azure blob with readonly public access and content type as plain text then PDF generation fails with "Error 400 The specified template is not valid. Specify a valid template and retry."
// You can also pass a URL for the template and set the content type to text/plain
builder.addTextBody("template", "https://forms.enablementadobe.com/content/ocrfiles/address.xdp",ContentType.TEXT_PLAIN);
Any clue? why?
