Hello,
I am looking for a way to handle external documents (PJExternalDocument) in javascript scripts.
I found another discussion (Rendering external image links in reports) but that seems to be specific for Birt report generation.
In our case, there are external documents attached to a project (both, copy and reference). As part of a script for data export, we need to access these documents and copy them to a new location.
Does PJExternalDocument offer methods to access or copy the underlying document?
To use file operations, I need the actual location of the document. In case of a reference, I can use the uri attribute. In case of a copy, the uri is relative to the project but how to get the URI of the project that contains the external document?
Greetings
Ralph