Hello Experts,
I'm using ADS in my WDJ project.
When I create new adobe form the xdp is created under src -> configuration -> Components -> <Component Name> -> xdp files.
In order to create PDF on the fly I need to use the 'setTemplate' method of the interface 'IWDPDFDocumentCreationContext'.
Although the method has several signatures:
void setTemplate(byte[] template)
void setTemplate(OutputStream templateStream)
void setTemplate(String URL)
I still need to access the xdp source file.
I couldn't find API to access xdp file under 'src -> configuration -> Components -> <Component Name>'.
A possible workaround is to copy the xdp to the component's mimes folders and access it by
templateUrl = WDURLGenerator.getAbsoluteWebResourceURL(wdComponentAPI.getDeployableObjectPart(), "CopyOf.xdp");
I want to avoid this solution.
So, how can I access the xdp files without copy it?
Version is 7.00 SP22.
Regards,
Omri