Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Need Clarification on Read Document Activity(Livecycle file utility)

Avatar

Level 2

Hi,

Can some one clarify on the thing like, VIA Read document activity i am able to read the word document, but i am not able to read the other docs like pdf,xls.

Is it like we can only read the word doc.

If not so, please provide the direction for the same.

Thanks,

-Ronak

3 Replies

Avatar

Level 8

Read Document is used to read any file into a document (com.adobe.idp.Document) variable type.  It works for PDF, Word, Excel, and any other file object.

Is there an exception being thrown when you try to open PDFs and XLS files?

Avatar

Level 2

No. The file itself is not read.

The error thrown when the process is invoked is file not found(If i place a pdf or xls file. for doc file it works).

I have confirmed that the file is in its location as mention in the source path.

Thanks,

-Ronak

Avatar

Level 8

Not sure what to tell you.  I've tested it and it works fine here - and reading PDFs into document objects is a pretty common thing.

Can you post your process and one of your documents?