cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SamirPathak
Advocate I
Advocate I

Is there any method to red content of word and pdf file from SharePoint library?

Hi,

 

I am building flow to read content of word or pdf file and analyze it further using Text Analyics service. I am not able to read content of word file using getFileContent, it is not returning me actual content of file which can further act as input to Text Analytcs service. Please help.

5 REPLIES 5
Brad_Groux
Community Champion
Community Champion

If you could provide an expanded screenshot of your Flow and steps, and of any detailed error messages you're receiving we could likely better assist you.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

v-bacao-msft
Community Support
Community Support

Hi @SamirPathak ,

 

I have made a test on my side, and I afraid that there is no any way to get file content with plain text from a Word document.

Dynamic content- File Content of "Get file content" action would return a binary text representation of the file, there is no suitable way to analyze the binary content within Microsoft Flow currently.

Image reference:

29.PNG

If you would like this feature to get file content with plain text from a Word document to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

HI @v-bacao-msft 

 

Thanks , Yeah I observed same. Trying to find method to convert binary to text. if not will submit idea soon.

observed another error while passing output of getFileContent to text analytics service to generate key phrases, attached here, please see if it make any sense.

SampleFlow.png

 

Hi @SamirPathak ,

 

The content needed here is Text, but the obtained File content is the already encoded content, and there is currently no suitable method to decode through Flow.

 

In addition, the content of the file displayed here seems to be too large, so there is no way to analyze it.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

We are also looking for a method to do this. Has there been any progress on this?

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,270)