cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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

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!

Highlighted
Community Support
Community Support

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.
Highlighted
Frequent Visitor

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

 

Highlighted
Community Support
Community Support

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.
Highlighted
New Member

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

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Users online (6,876)