I'm trying to find some text in files on Sharepoint. For that I used "Send HTTP request to Sharepoint". Once I get Result is shows search in HTML format. I convert it to text, but after that I realize that path to the file contains "enter". And step - get file content using path failed.
I tried to use "replace", but it didn't help.
Solved! Go to Solution.
hi @Daniil enter is a line break like this
that blank space is a line break for me, it is for you the same as enter?
if is yes please use this expression
uriComponentToString(replace(uriComponent(body('Html_to_text')), '%0A', ''))
you can follow more info here https://powerusers.microsoft.com/t5/Building-Flows/Replace-Newline-in-Flow-Expression/td-p/57333
yes. The problem is that when I get a substring from converted text it in some cases shown like:
if I use this substring in get file content it shows error due to line breaker.
i made a test removed it, so line looks like:
and it worked properly. So I’m looking for a way how to remove that line breaker.
Hi, tried your solution, but that didn't work for me.
As a result I got as an input on a second compose -
Instead of Path/Folder XXXXX/2020/05/103_120520_PP200512-0508418.pdf
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Congratulations, the new Super User Season 2 for 2021 has started!
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.