Forum Discussion
Rich Koneval
Mar 28, 2019Brass Contributor
Flow Action - Convert Word Document to PDF
I'm trying to use the Convert Word Document to PDF action in a Flow. There are three parameters that have to be entered: Location - the SharePoint Site Document Library - Library where the documen...
evancoulson
Oct 28, 2020Copper Contributor
Rich Koneval
I found a solution in my case.
The 'FullPath' for my word document started with "Shared Documents", given I was using a SharePoint file. This was being merged with the 'Library Name' input, which was creating the wrong location.
My solution was to remove the text "Shared Documents" from the 'FullPath' dynamic content. I used a replace function as follows;
=replace(text, oldText, newText)
=replace(outputs('Get_file_properties')?['body/{FullPath}'], 'Shared Documents', '')