cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
SamirPathak
Level: Powered On

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
Super User
Super User

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

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!

Community Support Team
Community Support Team

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

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.
SamirPathak
Level: Powered On

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

 

 

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

 

Community Support Team
Community Support Team

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

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.
JacquesM
Level: Power Up

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

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

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 365 members 4,450 guests
Please welcome our newest community members: