Expand my Community achievements bar.

Handling return documents

Avatar

Former Community Member


Hi all,

Is there a way of converting a com.adobe.idp.Document type to a byte array (other than reading the input stream into a byte array)?

The following site mentions that Document type can be converted to File, InputStream or a byte array but doesn't give an example for the case of byte array.

Thanks,

yyz

http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/wwhelp/wwhimpl/js/html/wwhelp.htm?...

1 Reply

Avatar

Level 10

I don't believe you can get the byte array from the Document object directly.

The url you provide only points to the main livedocs. Can you post the url at the end of the page where it says Current Page: http...  where you see this.

Jasmin