Flow Action - Convert Word Document to PDF

%3CLINGO-SUB%20id%3D%22lingo-sub-390272%22%20slang%3D%22en-US%22%3EFlow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-390272%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20trying%20to%20use%20the%20Convert%20Word%20Document%20to%20PDF%20action%20in%20a%20Flow.%20There%20are%20three%20parameters%20that%20have%20to%20be%20entered%3A%3C%2FP%3E%3CUL%3E%3CLI%3ELocation%20-%20the%20SharePoint%20Site%3C%2FLI%3E%3CLI%3EDocument%20Library%20-%20Library%20where%20the%20document%20is%20located.%3C%2FLI%3E%3CLI%3EFile%20-%20The%20document%20to%20convert%3C%2FLI%3E%3C%2FUL%3E%3CP%3EThe%20parameter%20that%20I'm%20having%20an%20issue%20with%20is%20the%20File.%20The%20flow%20works%20if%20I%20choose%20the%20specific%20document%20from%20the%20library%20but%20I%20want%20it%20to%20be%20dynamic%20so%20that%20when%20the%20user%20starts%20a%20Flow%20on%20the%20document%20it%20will%20convert%20that%20one%2C%20so%20I%20don't%20want%20to%20hardcode%20the%20document%20name.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20the%20File%20property%20I'm%20using%20the%20property%20from%20a%20previous%20step%20with%20the%20file%20name%20called%20File%20name%20with%20extension.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20run%20the%20flow%20I%20get%20an%20error%2C%20%22There%20was%20an%20error%20accessing%20the%20file.%20Please%20try%20again%20or%20select%20a%20different%20file.%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20I%20not%20use%20dynamic%20content%20for%20the%20File%20property%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-390272%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-436090%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-436090%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Rich%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20find%20a%20solution%3F%20I'm%20encountering%20the%20exact%20same%20problem.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-437912%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-437912%22%20slang%3D%22en-US%22%3ENothing%20yet.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-441308%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-441308%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F227049%22%20target%3D%22_blank%22%3E%40Rich%20Koneval%3C%2FA%3E%26nbsp%3B%26nbsp%3BHow%20are%20you%20executing%20the%20flow%3F%26nbsp%3B%20What%20is%20the%20trigger%20event%20you%20would%20like%20to%20use%20to%20start%20the%20conversion%3F%20Upload%3F%20Create%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-452846%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-452846%22%20slang%3D%22en-US%22%3EI'm%20experiencing%20exactly%20the%20same%20issue.%20I've%20even%20experimented%20hard-coding%20the%20file%20name%20in%20exactly%20how%20it%20appears%20when%20you%20select%20it%20through%20the%20file%20explorer%20but%20I%20get%20the%20same%20error%20when%20doing%20this.%20There%20must%20be%20some%20way%20to%20dynamically%20pass-in%20a%20file...%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-470627%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-470627%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F227049%22%20target%3D%22_blank%22%3E%40Rich%20Koneval%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20just%20encountered%20the%20same%20problem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Efrom%20what%20we%20can%20see%20in%20the%20Flow%20history%20for%20a%20File%20that%20is%20selected%2C%20it%20looks%20like%20%22%2Freport1.docx%22.%3CBR%20%2F%3Ei%20tried%20to%20recreate%20that%20dynamically%20with%20%2F'File%20name%20with%20extensions'%20but%20without%20success.%20it%20fails%20altough%20in%20the%20history%20it%20shows%20exactly%20the%20same%20like%20%22%2Freport1.docx%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eas%20long%20as%20this%20action%20does%20not%20take%20file%20inputs%20dynamically%2C%20it%20is%20not%20really%20useful..%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-471554%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-471554%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F323293%22%20target%3D%22_blank%22%3E%40noahzani%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20stumbled%20upon%20the%20same%20problem%20this%20afternoon.%20The%20fact%20that%20%22Convert%20Word%20Document%20to%20PDF%22%20can't%20use%20dynamic%20content%20is%20ridiculous%20-%20what%20is%20the%20purpose%20of%20it%20otherwise%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-471615%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-471615%22%20slang%3D%22en-US%22%3EThere%20is%20a%20workaround%20which%20makes%20it%20even%20sillier.%20If%20your%20file%20is%20stored%20in%20OneDrive%20for%20Business%20then%20its%20very%20straightforward%20to%20just%20use%20the%20%22Convert%20File%22%20action%20otherwise%20you%20have%20to%20use%20some%20SharePoint%20API%20shenanigans%20such%20as%20this%20guide%3A%3CBR%20%2F%3E%3CA%20href%3D%22http%3A%2F%2Fwww.cleverworkarounds.com%2F2018%2F06%2F30%2Fsome-seriously-powerful-and-free-pdf-functionality-in-powerapps-and-flow-part-1%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.cleverworkarounds.com%2F2018%2F06%2F30%2Fsome-seriously-powerful-and-free-pdf-functionality-in-powerapps-and-flow-part-1%2F%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-560263%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-560263%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F227049%22%20target%3D%22_blank%22%3E%40Rich%20Koneval%3C%2FA%3E%26nbsp%3BHey%20Rich%2C%20did%20you%20ever%20figure%20this%20one%20out%3F%26nbsp%3B%20Just%20stumbled%20across%20the%20same%20issue.%26nbsp%3B%20I've%20tried%20everything%20I%20can%20think%20for%20dynamically%20creating%20the%20filename.%26nbsp%3B%20No%20dice.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-Keith%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-572190%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-572190%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F340443%22%20target%3D%22_blank%22%3E%40KeithHiggins%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20had%20the%20same%20issue%20testing%20the%20action.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESadly%2C%20it's%20not%20something%20we%20can%20do%20dynamically%20but%20hoping%20it's%20a%20future%20update%20to%20the%20connector.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20usefulness%20would%20skyrocket!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%3C%2FP%3E%3CP%3EDamien%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-795945%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-795945%22%20slang%3D%22en-US%22%3E%3CP%3ESame%20problem%20here.%20What%20do%20people%20do%20when%20they%20need%20to%20make%20this%20conversion%20happen%20automatically%20within%20a%20Flow%3F%20There%20is%20one%20third-party%20company%20out%20there%20that%20offers%20a%20%241%2C200%20product%20but%20we%20do%20not%20need%20anything%20that%20sophisticated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESince%20we%20utilize%20DocuSign%20at%20the%20end%20of%20this%20process%2C%20and%20that%20does%20the%20conversion%2C%20I%20am%20trying%20to%20now%20enable%20my%20original%20Word%20document%20to%20have%20the%20proper%20drop-downs%2C%20etc.%20before%20sending%20it%20through%20the%20DocuSign%20process.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-843537%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-843537%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F227049%22%20target%3D%22_blank%22%3E%40Rich%20Koneval%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Rich%2C%20i%20managed%20to%20use%20the%20%22Filename%20wich%20extenson%22%20to%20get%20the%20thing%20running%20on%20a%20dynamic%20basis....%3C%2FP%3E%3CP%3Ehopefully%20this%20works%20for%20you%20too%3F%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3EAlex%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F130682iB9B059B501226189%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-846092%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-846092%22%20slang%3D%22en-US%22%3EThanks%20Alexander!%20That%20looks%20like%20an%20update%20because%20you%20couldn't%20add%20dynamic%20properties%20before.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-908770%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-908770%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67093%22%20target%3D%22_blank%22%3E%40Alexander%20Dorfmayr%3C%2FA%3E%26nbsp%3BI%20don't%20understand%20how%20your%20solution%20works%20because%20it%20still%20doesn't%20for%20me%20at%20all.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20manually%20select%20the%20file%2C%20the%20inputs%20look%20like%20this%2C%20and%20it%20works%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%7B%0A%20%20%22host%22%3A%20%7B%0A%20%20%20%20%22apiId%22%3A%20%22subscriptions%2F2c8cfba1-d125-4f31-a479-50156c7ed09f%2Fproviders%2FMicrosoft.Web%2Flocations%2Fwestus%2Fruntimes%2Funitedstates-002%2Fapis%2Fwordonlinebusiness%22%2C%0A%20%20%20%20%22connectionReferenceName%22%3A%20%22shared_wordonlinebusiness%22%2C%0A%20%20%20%20%22operationId%22%3A%20%22GetFilePDF%22%0A%20%20%7D%2C%0A%20%20%22parameters%22%3A%20%7B%0A%20%20%20%20%22source%22%3A%20%22groups%2F390f8037-515b-4689-90e7-ce04092c89ab%22%2C%0A%20%20%20%20%22drive%22%3A%20%22b!BfXatsB2n0CWjbomET8FGN5HPSqMmqVJkuANIAM7Fu6ohf774SBFQafqe7vmeMzr%22%2C%0A%20%20%20%20%22file%22%3A%20%2201IVUUMXH5M5L7UL5P2JGYY776MHG4KCCU%22%0A%20%20%7D%0A%7D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3ENote%20the%26nbsp%3B%3CU%3E%22file%22%3A%20%2201IVUUMXH5M5L7UL5P2JGYY776MHG4KCCU%22%3C%2FU%3E%20part.%20Flow%20converts%20the%20path%20into%20that%20number%20to%20find%20the%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20when%20I%20try%20to%20input%20a%20dynamic%20path%20(which%20always%20fails%20with%20error%20400%20%22not%20found%22)%2C%20the%20input%20looks%20like%20this%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%7B%0A%20%20%22host%22%3A%20%7B%0A%20%20%20%20%22apiId%22%3A%20%22subscriptions%2F2c8cfba1-d125-4f31-a479-50156c7ed09f%2Fproviders%2FMicrosoft.Web%2Flocations%2Fwestus%2Fruntimes%2Funitedstates-002%2Fapis%2Fwordonlinebusiness%22%2C%0A%20%20%20%20%22connectionReferenceName%22%3A%20%22shared_wordonlinebusiness%22%2C%0A%20%20%20%20%22operationId%22%3A%20%22GetFilePDF%22%0A%20%20%7D%2C%0A%20%20%22parameters%22%3A%20%7B%0A%20%20%20%20%22source%22%3A%20%22groups%2F390f8037-515b-4689-90e7-ce04092c89ab%22%2C%0A%20%20%20%20%22drive%22%3A%20%22b!BfXatsB2n0CWjbomET8FGN5HPSqMmqVJkuANIAM7Fu6ohf774SBFQafqe7vmeMzr%22%2C%0A%20%20%20%20%22file%22%3A%20%22Shared%20Documents%2FSarah%2FDistrict%20Billing%2FCIS%2F2019-2020%2FPre%20Invoices%2FCIS%20Invoice%20C79%2019-20%20IDEA%20PreInvoice.docx%22%0A%20%20%7D%0A%7D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESee%20how%20now%20there's%20a%20literal%20path%20instead%20of%20a%20code.%20Flow%20chokes%20on%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20a%20lark%2C%20I%20put%20in%20the%20expression%20'01IVUUMXH5M5L7UL5P2JGYY776MHG4KCCU'%20for%20the%20%22File%22%20field%20and%2C%20yes%2C%20it%20worked%20again.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20the%20problem%20is%20that%20this%20code%20does%20not%20correspond%20to%20any%20output%20from%20Sharepoint's%20%22Get%20file%20properties%22%20or%20%22Update%20file%20properties%22.%20So%20on%20my%20end%20it%20looks%20like%20there%20is%20still%20no%20way%20to%20use%20%22Convert%20Word%20to%20PDF%22%20dynamically.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWould%20it%20help%20if%20my%20document%20was%20in%20the%20root%20directory%20of%20the%20library%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1002536%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1002536%22%20slang%3D%22en-US%22%3EI%20just%20tried%20to%20use%20filename%20with%20extension%20and%20still%20doesn't%20work.%20This%20conversion%20is%20useless%20without%20a%20dynamic%20path..%20and%20why%20can't%20it%20use%20the%20identifier%20or%20SharePoint%20ID%3F%20**bleep**%2C%20this%20is%20frustrating%20for%20such%20a%20simple%20process%20that%20is%20needed%20countless%20times%20in%20the%20legal%20community.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1029094%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1029094%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F164918%22%20target%3D%22_blank%22%3E%40Ben%20Girard%3C%2FA%3E%26nbsp%3BDid%20you%20find%20a%20solution%3F%20For%20now%20I'm%20using%20the%20%22Convert%20file%22%20from%20the%20OneDrive%20connector%20instead%2C%20but%20it%20would%20be%20better%20to%20have%20entire%20the%20Flow%20only%20on%20SharePoint.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1035805%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1035805%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F164918%22%20target%3D%22_blank%22%3E%40Ben%20Girard%3C%2FA%3E%26nbsp%3BI%20used%20the%20dynamic%20field%20%22Name%22%20in%20the%20File%20field%20and%20it%20worked.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20create%20a%20new%20file%20based%20upon%20another%20i.e.%20a%20template%20then%20use%20the%20Convert%20Word%20Document%20to%20PDF%20specifying%20the%20dynamic%20field%20%22Name%22%20of%20the%20new%20file%20to%20convert.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20file%20being%20converted%20uses%20quick%20parts%20and%20SharePoint%20metadata%20so%20the%20contents%20are%20dynamic.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Esips1%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1071037%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1071037%22%20slang%3D%22en-US%22%3ENo%20luck.%20I%20used%20all%20of%20the%20dynamics%20options...%20%22Name%22%2C%20%22Filenamewithexstension%22%2C%20%22id%22%20and%20even%20the%20preferred%20one%2C%20%22identifier%22%20and%20no%20luck.%20This%20is%20messed%20up...%20I'm%20on%20the%20early%20release%20of%20everything%20in%20Office%20365...%20What%20bothers%20me%20is%20why%20Microsoft%20community%20people%20are%20not%20active%20on%20such%20a%20thread%20with%20such%20a%20big%20issue...%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1071927%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1071927%22%20slang%3D%22en-US%22%3Esips1%2C%20can%20you%20export%20your%20flow%20and%20send%20it%20over%3F%20or%20screenshots%3F%20I%20tried%20every%20combination...%20There%20must%20be%20something%20different...%20Thanks.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1072144%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1072144%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F164918%22%20target%3D%22_blank%22%3E%40Ben%20Girard%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20all..%26nbsp%3B%3C%2FP%3E%3CP%3EI%20decided%20a%20simple%20workaround%20was%20in%20order.%26nbsp%3B%20I%20simply%20copy%20the%20file%20into%20OneDrive%20for%20business%20as%20a%20temporary%20location%2C%20use%20the%20%22Convert%20file%20from%20OneDrive%20for%20Business%22%20into%20PDF%20passing%20the%20Identifier%20as%20a%20variable%22%20then%20create%20the%20PDF%20into%20sharepoint%2C%20and%20delete%20my%20temporary%20file%20from%20ODfB.%26nbsp%3B%20%3A)%3C%2Fimg%3E%26nbsp%3B%20It's%20more%20moving%20parts%2C%20but%20it%20works%20just%20fine%20until%20this%20issue%20is%20fixed.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1104104%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1104104%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F164918%22%20target%3D%22_blank%22%3E%40Ben%20Girard%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20sharing%2C%20I%20am%20stuck%20on%20this%20exact%20issue%20too%20and%20am%20unable%20to%20convert%20a%20Word%20Doc%20to%20PDF%20within%20Sharepoint.%20Has%20there%20been%20any%20developments%20in%20the%20mean%20time%3F%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20not%2C%20is%20it%20possible%20you%20paste%20the%20flow%20you've%20developed%20as%20a%20workaround%20which%20you%20have%20discussed%3F%20would%20be%20good%20to%20mimick%20it%20myself%20in%20the%20interim%20till%20an%20MS%20solution%20is%20developed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1105737%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1105737%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F515967%22%20target%3D%22_blank%22%3E%40Roghan%3C%2FA%3E%26nbsp%3B%20This%20can%20be%20used%20to%20get%20a%20pdf%20version%20of%20a%20document%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-fx-extensions%2Ftree%2Fmaster%2Fsamples%2Fjs-command-convert-to-pdf%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-fx-extensions%2Ftree%2Fmaster%2Fsamples%2Fjs-command-convert-to-pdf.%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20can%20be%20used%20to%20generate%20Word%20Docuements%20or%20PDFs%20from%20data%20stored%20in%20your%20sharepoint%20lists%20using%20a%20word%20template%3A%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Frussgove%2Fsp-dev-fx-extensions%2Ftree%2Fdev%2Fsamples%2Freact-command-generate-documents%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Frussgove%2Fsp-dev-fx-extensions%2Ftree%2Fdev%2Fsamples%2Freact-command-generate-documents%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1117378%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1117378%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F8901%22%20target%3D%22_blank%22%3E%40Russell%20Gove%3C%2FA%3E%26nbsp%3Bthanks%20for%20sharing%2C%20I%20am%20keen%20to%20try%20point%201%3A%20%22%3CSPAN%3EThis%20can%20be%20used%20to%20get%20a%20pdf%20version%20of%20a%20document%22%20but%20am%20unable%20to%20deduce%20from%20the%20link%20you%20shared%20how%20to%20go%20about%20this%3F%20Any%20easy%20to%20follow%20guide%20you%20have%20seen%20around%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1147099%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1147099%22%20slang%3D%22en-US%22%3E%3CP%3EAfter%20some%20substantial%20trial%20and%20error%20I%20believe%20this%20usually%20happens%20when%20a%20file%20has%20been%20created%2C%20but%20isn't%20%22ready%20yet%22.%26nbsp%3B%20Its%20as%20if%20its%20returning%20the%20file%20properties%20that%20can%20work%20with%20Sharepoint's%20REST%20API%2C%20without%20actually%20determining%20if%20the%20information%20can%20be%20discovered%20by%20Microsoft's%20graph%20API%20(which%20I%20am%20now%20convinced%20is%20what%20that%20action%20is%20using).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%20workaround%20I%20have%20found%20is%20to%20wrap%20the%20action%20in%20a%20while%20loop%20with%20a%20success%20and%20failure%20branch.%26nbsp%3B%20On%20failure%2C%20wait%2010%20seconds%20and%20then%20restart%20the%20loop.%26nbsp%3B%20It%20isn't%20perfect%20of%20course%2C%26nbsp%3B%20but%2099%25%20of%20the%20time%20it%20fails%20once%20or%20twice%2C%20then%20goes%20through%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1149009%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1149009%22%20slang%3D%22en-US%22%3EHi%20Roghan%2C%20You%20would%20need%20to%20build%20the%20app%20and%20deploy%20it%20to%20sharepoint.%20This%20would%20require%20knowledge%20of%20the%20sharepoint%20development%20model.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1208099%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1208099%22%20slang%3D%22en-US%22%3EWant%20to%20change%20PDF%20format%20files%20to%20Word%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1227093%22%20slang%3D%22de-DE%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1227093%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F542365%22%20target%3D%22_blank%22%3E%40ThreeTen22%3C%2FA%3E%20sounds%20like%20a%20good%20workaround%20to%20me%2C%20thanks%20for%20sharing.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20please%20describe%20how%20to%20use%20the%20success%2Ffailure%20branch%3F%20I%20don't%20know%20how%20to%20do%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20a%20lot!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1826625%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1826625%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F227049%22%20target%3D%22_blank%22%3E%40Rich%20Koneval%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI%20found%20a%20solution%20in%20my%20case.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20'FullPath'%20for%20my%20word%20document%20started%20with%20%22Shared%20Documents%22%2C%20given%20I%20was%20using%20a%20SharePoint%20file.%20This%20was%20being%20merged%20with%20the%20'Library%20Name'%20input%2C%20which%20was%20creating%20the%20wrong%20location.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20solution%20was%20to%20remove%20the%20text%20%22Shared%20Documents%22%20from%20the%20'FullPath'%20dynamic%20content.%20I%20used%20a%20replace%20function%20as%20follows%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3Dreplace(text%2C%20oldText%2C%20newText)%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%3Dreplace(outputs(%3C%2FSPAN%3E%3CSPAN%3E'Get_file_properties'%3C%2FSPAN%3E%3CSPAN%3E)%3F%5B%3C%2FSPAN%3E%3CSPAN%3E'body%2F%7BFullPath%7D'%3C%2FSPAN%3E%3CSPAN%3E%5D%2C%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E'Shared%26nbsp%3BDocuments'%3C%2FSPAN%3E%3CSPAN%3E%2C%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E''%3C%2FSPAN%3E%3CSPAN%3E)%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1843219%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1843219%22%20slang%3D%22en-US%22%3Ei%20used%20Name%20and%20it%20worked%20perfectly%20well%20for%20me%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1934531%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1934531%22%20slang%3D%22en-US%22%3E%3CP%3EHey%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F164918%22%20target%3D%22_blank%22%3E%40Ben%20Girard%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F470511%22%20target%3D%22_blank%22%3E%40sips1%3C%2FA%3E's%20suggestion%20and%20it%20worked%20for%20me.%3C%2FP%3E%3CP%3EAdding%20a%20simple%20screenshot%20to%20help%20anyone%20who%20stumbles%20upon%20this%20issue%20in%20the%20future.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22%3CSTRONG%3ELocation%3C%2FSTRONG%3E%22%3A%20The%20SharePoint%20site%3C%2FP%3E%3CP%3E%22%3CSTRONG%3EFile%3C%2FSTRONG%3E%22%3A%20Provide%20the%20path%20from%20the%20%22Documents%22%20folder%20(or%20your%20Document%20Library%20location)%2C%20until%20the%20file.%3C%2FP%3E%3CP%3EFor%20example%2C%20if%20the%20full%20path%20is%20%22%2FShared%20Documents%2FDocuments%2F%3CFOLDERA%3E%2F%3CFILENAME.DOCX%3E%22%2C%20then%20put%20it%20as%3A%3C%2FFILENAME.DOCX%3E%3C%2FFOLDERA%3E%3C%2FP%3E%3CP%3E%2FFolderA%2F%26lt%3B%22Name%22%20dynamic%20content%26gt%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps%20%3A)%3C%2Fimg%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22bhumika_0-1606407377885.png%22%20style%3D%22width%3A%20925px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236282iE0567F698CEB27DE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22bhumika_0-1606407377885.png%22%20alt%3D%22bhumika_0-1606407377885.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1934583%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1934583%22%20slang%3D%22en-US%22%3E%3CP%3EI%20tried%20the%20suggestions%20by%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F470511%22%20target%3D%22_blank%22%3E%40sips1%3C%2FA%3E%26nbsp%3B%20(Option%201)%20and%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F848657%22%20target%3D%22_blank%22%3E%40evancoulson%3C%2FA%3E%26nbsp%3B(Option%202)%2C%20and%20both%20worked%20for%20me.%3C%2FP%3E%3CP%3EAdding%20screenshots%20to%20help%20anyone%20who%20stumbles%20upon%20this%20issue%20in%20the%20future.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CU%3E%3CSTRONG%3EOption%201%20%5Busing%20'Name'%20dynamic%20content%5D%3A%3C%2FSTRONG%3E%3C%2FU%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22bhumika_0-1606407377885.png%22%20style%3D%22width%3A%20925px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236291i40E0EC6C9165720D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22bhumika_0-1606407377885.png%22%20alt%3D%22bhumika_0-1606407377885.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22Location%22%3A%20The%20SharePoint%20site%3C%2FP%3E%3CP%3E%22File%22%3A%20Provide%20the%20path%20from%20the%20%22Documents%22%20folder%20(or%20your%20Document%20Library%20location)%2C%20until%20the%20file.%3C%2FP%3E%3CP%3EFor%20example%2C%20if%20the%20full%20path%20is%20%22%2FShared%20Documents%2FDocuments%2F%3CFOLDERA%3E%2F%3CFILENAME.DOCX%3E%22%2C%20then%20put%20it%20as%3A%3C%2FFILENAME.DOCX%3E%3C%2FFOLDERA%3E%3C%2FP%3E%3CP%3E%2FFolderA%2F%26lt%3B%22Name%22%20dynamic%20content%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CU%3E%3CSTRONG%3EOption%202%20%5Busing%20'Path'%20dynamic%20content%5D%3A%3C%2FSTRONG%3E%3C%2FU%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Web%20capture_26-11-2020_224031_india.flow.microsoft.com.jpeg%22%20style%3D%22width%3A%20925px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F236292i4CE741A58E33D650%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Web%20capture_26-11-2020_224031_india.flow.microsoft.com.jpeg%22%20alt%3D%22Web%20capture_26-11-2020_224031_india.flow.microsoft.com.jpeg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22Location%22%3A%20The%20SharePoint%20site%3C%2FP%3E%3CP%3E%22File%22%3A%26nbsp%3Breplace(outputs('Save_the_file_in_SharePoint')%3F%5B'body%2FPath'%5D%2C%20'%2FShared%20Documents'%2C%20'')%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOption%202%20is%20less%20error-prone%20so%20I'd%20prefer%20that!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2108307%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2108307%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F781119%22%20target%3D%22_blank%22%3E%40katarzynaMoraczewska%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20not%20keep%20trying%20to%20convert%20a%20SharePoint%20file%20to%20PDF%20-%20It%20won't%20work%2C%20I%20remember%20it%20used%20to%20be%20an%20error%20with%20the%20SharePoint%20connector%20(that%20thing%20is%20always%20buggy...%20Microsoft)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou'll%20need%20to%20convert%20the%20file%20from%20OneDrive%20to%20PDF%2C%20then%20move%20it%20to%20SharePoint.%20Finally%20delete%20it%20from%20the%20OneDrive.%20That's%20the%20%22work%20around%22%20sadly%2C%20but%20if%20there's%20no%20issue%20with%20having%20the%20file%20in%20your%20OneDrive%20first%2C%20that%20should%20do%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E-Here's%20the%20way%20I%20did%20it%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvUoRAxFNxlA%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvUoRAxFNxlA%3C%2FA%3E%26nbsp%3B(tutorial%20I%20found%20back%20then)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20that%20works%20for%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2108293%22%20slang%3D%22en-US%22%3ERe%3A%20Flow%20Action%20-%20Convert%20Word%20Document%20to%20PDF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2108293%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F470511%22%20target%3D%22_blank%22%3E%40sips1%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUnfortunatelly%20your%20solution%20is%20not%20working%20for%20me%2C%20though%20I%20think%20I%20use%20same%20case%20-%20filed%20template%2C%20created%20docx%20file%20and%20trying%20to%20convert%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

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 document is located.
  • File - The document to convert

The parameter that I'm having an issue with is the File. The flow works if I choose the specific document from the library but I want it to be dynamic so that when the user starts a Flow on the document it will convert that one, so I don't want to hardcode the document name.

 

For the File property I'm using the property from a previous step with the file name called File name with extension.

 

When I run the flow I get an error, "There was an error accessing the file. Please try again or select a different file."

 

Can I not use dynamic content for the File property?

 

Thanks 

32 Replies

@Ben Girard 

 

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.

 

 

@Roghan  This can be used to get a pdf version of a document: https://github.com/SharePoint/sp-dev-fx-extensions/tree/master/samples/js-command-convert-to-pdf.

 

This can be used to generate Word Docuements or PDFs from data stored in your sharepoint lists using a word template:  https://github.com/russgove/sp-dev-fx-extensions/tree/dev/samples/react-command-generate-documents

 

 

 

 

@Russell Gove thanks for sharing, I am keen to try point 1: "This can be used to get a pdf version of a document" but am unable to deduce from the link you shared how to go about this? Any easy to follow guide you have seen around?

After some substantial trial and error I believe this usually happens when a file has been created, but isn't "ready yet".  Its as if its returning the file properties that can work with Sharepoint's REST API, without actually determining if the information can be discovered by Microsoft's graph API (which I am now convinced is what that action is using).

 

A workaround I have found is to wrap the action in a while loop with a success and failure branch.  On failure, wait 10 seconds and then restart the loop.  It isn't perfect of course,  but 99% of the time it fails once or twice, then goes through

Hi Roghan, You would need to build the app and deploy it to sharepoint. This would require knowledge of the sharepoint development model.
Want to change PDF format files to Word

@ThreeTen22 sounds like a good workaround to me, thanks for sharing.

 

Can you please describe how to use the success/failure branch? I don't know how to do this.

 

Thanks a lot!

@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''')
i used Name and it worked perfectly well for me

I tried the suggestions by @sips1  (Option 1) and @evancoulson (Option 2), and both worked for me.

Adding screenshots to help anyone who stumbles upon this issue in the future.

 

Option 1 [using 'Name' dynamic content]:

 

bhumika_0-1606407377885.png

 

"Location": The SharePoint site

"File": Provide the path from the "Documents" folder (or your Document Library location), until the file.

For example, if the full path is "/Shared Documents/Documents/<FolderA>/<filename.docx>", then put it as:

/FolderA/<"Name" dynamic content>

 

Option 2 [using 'Path' dynamic content]:

 

Web capture_26-11-2020_224031_india.flow.microsoft.com.jpeg

 

"Location": The SharePoint site

"File": replace(outputs('Save_the_file_in_SharePoint')?['body/Path'], '/Shared Documents', '')

 

Option 2 is less error-prone so I'd prefer that!

 

Hope this helps :)

@sips1 

Unfortunatelly your solution is not working for me, though I think I use same case - filed template, created docx file and trying to convert

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.

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".