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...
VFXPro
Nov 12, 2019Brass Contributor
I just tried to use filename with extension and still doesn't work. This conversion is useless without a dynamic path.. and why can't it use the identifier or SharePoint ID? **bleep**, this is frustrating for such a simple process that is needed countless times in the legal community.
sips1
Nov 27, 2019Copper Contributor
VFXPro I used the dynamic field "Name" in the File field and it worked.
I create a new file based upon another i.e. a template then use the Convert Word Document to PDF specifying the dynamic field "Name" of the new file to convert.
The file being converted uses quick parts and SharePoint metadata so the contents are dynamic.
Thanks,
sips1
- katarzynaMoraczewskaJan 29, 2021Copper Contributor
Unfortunatelly your solution is not working for me, though I think I use same case - filed template, created docx file and trying to convert
- RodoMCPJan 29, 2021Tin Contributor
Hi katarzynaMoraczewska ,
Do not keep trying to convert a SharePoint file to PDF - It won't work, I remember it used to be an error with the SharePoint connector (that thing is always buggy... Microsoft)
You'll need to convert the file from OneDrive to PDF, then move it to SharePoint. Finally delete it from the OneDrive. That's the "work around" sadly, but if there's no issue with having the file in your OneDrive first, that should do it.
-Here's the way I did it: https://www.youtube.com/watch?v=vUoRAxFNxlA (tutorial I found back then)
Hope that works for you.
- katarzynaMoraczewskaJan 29, 2021Copper Contributor
I just managed!!! RodoMCP
I'm so surprised, but I did it!
The funny thing is it's so simply and so dummy...
After creating sharepoint file I had added "get file properties"
In the "convert...." for file name I've chosen the folder where my form answers should be landing and some past file - just to see what's entered to file name, than deleted file name itself and replaced it with property "file name with extension".
- paulxxlNov 01, 2020Copper Contributori used Name and it worked perfectly well for me
- VFXProDec 18, 2019Brass Contributorsips1, can you export your flow and send it over? or screenshots? I tried every combination... There must be something different... Thanks.
- VFXProDec 18, 2019Brass Contributor
Hi all..
I decided a simple workaround was in order. I simply copy the file into OneDrive for business as a temporary location, use the "Convert file from OneDrive for Business" into PDF passing the Identifier as a variable" then create the PDF into sharepoint, and delete my temporary file from ODfB. 🙂 It's more moving parts, but it works just fine until this issue is fixed.
- RoghanJan 12, 2020Copper Contributor
Thanks for sharing, I am stuck on this exact issue too and am unable to convert a Word Doc to PDF within Sharepoint. Has there been any developments in the mean time?
If not, is it possible you paste the flow you've developed as a workaround which you have discussed? would be good to mimick it myself in the interim till an MS solution is developed.
- VFXProDec 17, 2019Brass ContributorNo luck. I used all of the dynamics options... "Name", "Filenamewithexstension", "id" and even the preferred one, "identifier" and no luck. This is messed up... I'm on the early release of everything in Office 365... What bothers me is why Microsoft community people are not active on such a thread with such a big issue...