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%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%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%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%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%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%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
Highlighted
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 

26 Replies
Highlighted

Hi Rich,

 

Did you find a solution? I'm encountering the exact same problem.

Highlighted
Nothing yet.
Highlighted

@Rich Koneval  How are you executing the flow?  What is the trigger event you would like to use to start the conversion? Upload? Create?

Highlighted
I'm experiencing exactly the same issue. I've even experimented hard-coding the file name in exactly how it appears when you select it through the file explorer but I get the same error when doing this. There must be some way to dynamically pass-in a file...
Highlighted

Hi @Rich Koneval 

 

I just encountered the same problem.

 

from what we can see in the Flow history for a File that is selected, it looks like "/report1.docx".
i tried to recreate that dynamically with /'File name with extensions' but without success. it fails altough in the history it shows exactly the same like "/report1.docx".

 

as long as this action does not take file inputs dynamically, it is not really useful..

Highlighted

@noahzani 

 

I stumbled upon the same problem this afternoon. The fact that "Convert Word Document to PDF" can't use dynamic content is ridiculous - what is the purpose of it otherwise?

Highlighted
There is a workaround which makes it even sillier. If your file is stored in OneDrive for Business then its very straightforward to just use the "Convert File" action otherwise you have to use some SharePoint API shenanigans such as this guide:
http://www.cleverworkarounds.com/2018/06/30/some-seriously-powerful-and-free-pdf-functionality-in-po...
Highlighted

@Rich Koneval Hey Rich, did you ever figure this one out?  Just stumbled across the same issue.  I've tried everything I can think for dynamically creating the filename.  No dice.

 

-Keith

Highlighted

@KeithHiggins 

 

I've had the same issue testing the action.

 

Sadly, it's not something we can do dynamically but hoping it's a future update to the connector.

 

It's usefulness would skyrocket!

 

Cheers

Damien 

Highlighted

Same problem here. What do people do when they need to make this conversion happen automatically within a Flow? There is one third-party company out there that offers a $1,200 product but we do not need anything that sophisticated.

 

Since we utilize DocuSign at the end of this process, and that does the conversion, I am trying to now enable my original Word document to have the proper drop-downs, etc. before sending it through the DocuSign process.

Highlighted

@Rich Koneval 

Hi Rich, i managed to use the "Filename wich extenson" to get the thing running on a dynamic basis....

hopefully this works for you too?

Regards

Alex

 

clipboard_image_0.png

Highlighted
Thanks Alexander! That looks like an update because you couldn't add dynamic properties before.
Highlighted

@Alexander Dorfmayr I don't understand how your solution works because it still doesn't for me at all.

 

When I manually select the file, the inputs look like this, and it works:

 

{
  "host": {
    "apiId": "subscriptions/2c8cfba1-d125-4f31-a479-50156c7ed09f/providers/Microsoft.Web/locations/westus/runtimes/unitedstates-002/apis/wordonlinebusiness",
    "connectionReferenceName": "shared_wordonlinebusiness",
    "operationId": "GetFilePDF"
  },
  "parameters": {
    "source": "groups/390f8037-515b-4689-90e7-ce04092c89ab",
    "drive": "b!BfXatsB2n0CWjbomET8FGN5HPSqMmqVJkuANIAM7Fu6ohf774SBFQafqe7vmeMzr",
    "file": "01IVUUMXH5M5L7UL5P2JGYY776MHG4KCCU"
  }
}

Note the "file": "01IVUUMXH5M5L7UL5P2JGYY776MHG4KCCU" part. Flow converts the path into that number to find the file.

 

But when I try to input a dynamic path (which always fails with error 400 "not found"), the input looks like this:

 

{
  "host": {
    "apiId": "subscriptions/2c8cfba1-d125-4f31-a479-50156c7ed09f/providers/Microsoft.Web/locations/westus/runtimes/unitedstates-002/apis/wordonlinebusiness",
    "connectionReferenceName": "shared_wordonlinebusiness",
    "operationId": "GetFilePDF"
  },
  "parameters": {
    "source": "groups/390f8037-515b-4689-90e7-ce04092c89ab",
    "drive": "b!BfXatsB2n0CWjbomET8FGN5HPSqMmqVJkuANIAM7Fu6ohf774SBFQafqe7vmeMzr",
    "file": "Shared Documents/Sarah/District Billing/CIS/2019-2020/Pre Invoices/CIS Invoice C79 19-20 IDEA PreInvoice.docx"
  }
}

 

See how now there's a literal path instead of a code. Flow chokes on this.

 

On a lark, I put in the expression '01IVUUMXH5M5L7UL5P2JGYY776MHG4KCCU' for the "File" field and, yes, it worked again.

 

But the problem is that this code does not correspond to any output from Sharepoint's "Get file properties" or "Update file properties". So on my end it looks like there is still no way to use "Convert Word to PDF" dynamically.

 

Would it help if my document was in the root directory of the library?

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

@Ben Girard Did you find a solution? For now I'm using the "Convert file" from the OneDrive connector instead, but it would be better to have entire the Flow only on SharePoint.

Highlighted

@Ben Girard 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

Highlighted
No 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...

Highlighted
sips1, can you export your flow and send it over? or screenshots? I tried every combination... There must be something different... Thanks.
Highlighted

@Ben Girard 

 

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.