{"id":1827,"date":"2022-07-12T05:21:51","date_gmt":"2022-07-12T05:21:51","guid":{"rendered":"https:\/\/poiseddevelopers.com\/reality-tech\/?p=1827"},"modified":"2024-04-26T12:11:21","modified_gmt":"2024-04-26T12:11:21","slug":"generate-a-pdf-from-microsoft-automate-method-2","status":"publish","type":"post","link":"https:\/\/poiseddevelopers.com\/reality-tech\/generate-a-pdf-from-microsoft-automate-method-2\/","title":{"rendered":"Generate a PDF from Microsoft Automate Method \u2013 2"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_65 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/poiseddevelopers.com\/reality-tech\/generate-a-pdf-from-microsoft-automate-method-2\/#Part-2\" title=\"Part-2\">Part-2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/poiseddevelopers.com\/reality-tech\/generate-a-pdf-from-microsoft-automate-method-2\/#Step-1\" title=\"Step-1\">Step-1<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/poiseddevelopers.com\/reality-tech\/generate-a-pdf-from-microsoft-automate-method-2\/#Step-2\" title=\"Step-2\">Step-2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/poiseddevelopers.com\/reality-tech\/generate-a-pdf-from-microsoft-automate-method-2\/#Step-3\" title=\"Step-3\">Step-3<\/a><\/li><\/ul><\/nav><\/div>\n<h4 class=\"elementor-heading-title elementor-size-medium\" role=\"heading\" data-uw-rm-heading=\"level\" aria-level=\"3\">Summary<\/h4>\n<p>In\u00a0previous\u00a0blog, we discussed\u00a0Generating the PDF from Microsoft Flow with\u00a0two\u00a0approaches. The First one with\u00a0an\u00a0HTML Template can be accessed from here \u2013link\u2014<\/p>\n<p>Let\u2019s\u00a0start with the Second approach,<\/p>\n<h3 class=\"elementor-heading-title elementor-size-medium\"><span class=\"ez-toc-section\" id=\"Part-2\"><\/span>Part-2<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>Generate a PDF of SharePoint List Data with Word Template from Microsoft Flow<\/strong><\/p>\n<p>This is the second approach for\u00a0generating the PDF\u00a0from\u00a0SharePoint List data\u00a0that is using the predefined format as Template in SharePoint Document Library, then updated the file properties and created a template in OneDrive then converting that template to PDF and saving in SharePoint Document Library.<br \/>\nThe approach\u00a0is described below:<\/p>\n<h3 class=\"elementor-heading-title elementor-size-medium\"><span class=\"ez-toc-section\" id=\"Step-1\"><\/span>Step-1<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Create a SharePoint Custom List named Conversion-to-PDF-from-Flow with necessary fields to enter the data, required to move to predefined PDF Format. Here I have taken the following fields.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1832 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture19.webp\" alt=\"img-01\" width=\"535\" height=\"324\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture19.webp 535w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture19-300x182.webp 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/p>\n<p><span class=\"EOP SCXW172351051 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\"><span class=\"TextRun SCXW246041130 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW246041130 BCX0\">Create another SharePoint Document Library with\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2Themed SCXW246041130 BCX0\">name<\/span><span class=\"NormalTextRun SCXW246041130 BCX0\">\u00a0Test-PDF-Documents to store the generated PDF\u2019s.<\/span><\/span><span class=\"EOP SCXW246041130 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559737&quot;:-94,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/span><\/p>\n<p><span class=\"EOP SCXW172351051 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\"><span class=\"TextRun SCXW85428684 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW85428684 BCX0\">Please note, while creating multi-line columns, make sure\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2Themed SCXW85428684 BCX0\">that\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2Themed SCXW85428684 BCX0\">\u00a0plain<\/span><span class=\"NormalTextRun SCXW85428684 BCX0\">\u00a0text is selected.<\/span><\/span><span class=\"EOP SCXW85428684 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559737&quot;:-94,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/span><\/p>\n<h3 class=\"elementor-heading-title elementor-size-medium\"><span class=\"ez-toc-section\" id=\"Step-2\"><\/span>Step-2<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span class=\"TextRun SCXW209687832 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW209687832 BCX0\">The Word Template<\/span><\/span><span class=\"EOP SCXW209687832 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span class=\"TextRun SCXW63359875 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW63359875 BCX0\">Create a SharePoint Document Library named Test-PDF-Doc-Template. Create the same data fields created in the SharePoint List \u2013 Conversion-to-PDF-from-Flow.<\/span><\/span><span class=\"EOP SCXW63359875 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span class=\"TextRun SCXW267852056 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW267852056 BCX0\">We would create\u00a0<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">a D<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">ocument\u00a0<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">T<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">emplate in\u00a0<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">the\u00a0<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">Library.<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">\u00a0We would\u00a0<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">also\u00a0<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">create the same data fields in the\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2Themed SCXW267852056 BCX0\">L<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2Themed SCXW267852056 BCX0\">ibrary<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">\u00a0as we had created in the List named Conversion-to-PDF-from-Flow.\u00a0<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">Once\u00a0<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">we<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">\u00a0have created the same data\u00a0<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">fields<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">,\u00a0<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">we would go to\u00a0<\/span><span class=\"NormalTextRun SCXW267852056 BCX0\">Library Settings &gt; go to Advanced Setting &gt; Edit Template.<\/span><\/span><span class=\"EOP SCXW267852056 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1834 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture20.webp\" alt=\"img-02\" width=\"697\" height=\"368\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture20.webp 697w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture20-300x158.webp 300w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1836 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture21.webp\" alt=\"img-03\" width=\"480\" height=\"217\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture21.webp 480w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture21-300x136.webp 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/p>\n<p><span class=\"TextRun SCXW174233345 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW174233345 BCX0\">In\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2Themed SCXW174233345 BCX0\">previous<\/span><span class=\"NormalTextRun SCXW174233345 BCX0\">\u00a0approach, we\u00a0<\/span><span class=\"NormalTextRun SCXW174233345 BCX0\">u<\/span><span class=\"NormalTextRun SCXW174233345 BCX0\">sed tokens. In this approach we would be using the\u00a0<\/span><span class=\"NormalTextRun SCXW174233345 BCX0\">Q<\/span><span class=\"NormalTextRun SCXW174233345 BCX0\">uick\u00a0<\/span><span class=\"NormalTextRun SCXW174233345 BCX0\">P<\/span><span class=\"NormalTextRun SCXW174233345 BCX0\">arts\u00a0<\/span><span class=\"NormalTextRun SCXW174233345 BCX0\">from<\/span><span class=\"NormalTextRun SCXW174233345 BCX0\">\u00a0Insert tab. We can access or add them like Insert &gt; Quick Parts &gt; Document Property &gt; Use the data column which would be used to replace the data inserted in it.<\/span><\/span><span class=\"EOP SCXW174233345 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1837 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture22.webp\" alt=\"img-04\" width=\"891\" height=\"327\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture22.webp 891w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture22-300x110.webp 300w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture22-768x282.webp 768w\" sizes=\"auto, (max-width: 891px) 100vw, 891px\" \/><\/p>\n<p><span class=\"TextRun SCXW200877851 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW200877851 BCX0\">One created the template would look like this,<\/span><\/span><span class=\"EOP SCXW200877851 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1839 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture23.webp\" alt=\"img-05\" width=\"803\" height=\"275\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture23.webp 803w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture23-300x103.webp 300w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture23-768x263.webp 768w\" sizes=\"auto, (max-width: 803px) 100vw, 803px\" \/><\/p>\n<p><span data-contrast=\"auto\">Once created, save it in .docx format.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">So the next time when you would try to edit the template it would have to be saved in .docx format.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h3 class=\"elementor-heading-title elementor-size-medium\"><span class=\"ez-toc-section\" id=\"Step-3\"><\/span>Step-3<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span class=\"TextRun SCXW188430398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW188430398 BCX0\">Creating the\u00a0<\/span><span class=\"NormalTextRun SCXW188430398 BCX0\">F<\/span><span class=\"NormalTextRun SCXW188430398 BCX0\">low<\/span><\/span><span class=\"EOP SCXW188430398 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<ul>\n<li><span class=\"TextRun SCXW186509995 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW186509995 BCX0\">Create the Flow with\u00a0<\/span><span class=\"NormalTextRun SCXW186509995 BCX0\">a\u00a0<\/span><span class=\"NormalTextRun SCXW186509995 BCX0\">trigger \u2013 When an item is created of SharePoint connector. Select the Site collection address and List\u2019s name.<\/span><\/span><span class=\"EOP SCXW186509995 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559685&quot;:426,&quot;335559739&quot;:160,&quot;335559740&quot;:259,&quot;335559991&quot;:426}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1840 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture24.webp\" alt=\"img-06\" width=\"723\" height=\"198\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture24.webp 723w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture24-300x82.webp 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/p>\n<ul>\n<li><span class=\"TextRun SCXW263211755 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW263211755 BCX0\">Add an action \u2013 Get File Content of SharePoint connector. Select the Site collection address and the File from which the template would be taken and used to create the file.\u00a0<\/span><\/span><span class=\"EOP SCXW263211755 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:426,&quot;335559739&quot;:160,&quot;335559740&quot;:259,&quot;335559991&quot;:436,&quot;469777462&quot;:[6946,7088],&quot;469777927&quot;:[0,0],&quot;469777928&quot;:[1,1]}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1842 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture25.webp\" alt=\"img-07\" width=\"723\" height=\"197\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture25.webp 723w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture25-300x82.webp 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/p>\n<ul>\n<li><span class=\"TextRun SCXW107538705 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW107538705 BCX0\">Add an action \u2013 Create File of SharePoint connector. Select the Site collection address,\u00a0<\/span><span class=\"NormalTextRun SCXW107538705 BCX0\">folder path\u00a0<\/span><span class=\"NormalTextRun SCXW107538705 BCX0\">to the template saved,\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2Themed SCXW107538705 BCX0\">Create<\/span><span class=\"NormalTextRun SCXW107538705 BCX0\">\u00a0a File name as re<\/span><span class=\"NormalTextRun SCXW107538705 BCX0\">quired and select the file content from\u00a0<\/span><span class=\"NormalTextRun SCXW107538705 BCX0\">the\u00a0<\/span><span class=\"NormalTextRun SCXW107538705 BCX0\">dynamic content window from the previous\u00a0<\/span><span class=\"NormalTextRun SCXW107538705 BCX0\">action<\/span><span class=\"NormalTextRun SCXW107538705 BCX0\">.\u00a0<\/span><\/span><span class=\"EOP SCXW107538705 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:426,&quot;335559739&quot;:160,&quot;335559740&quot;:259,&quot;335559991&quot;:426,&quot;469777462&quot;:[6946,7088],&quot;469777927&quot;:[0,0],&quot;469777928&quot;:[1,1]}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1846 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture26.webp\" alt=\"img-08\" width=\"724\" height=\"250\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture26.webp 724w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture26-300x104.webp 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/p>\n<ul>\n<li><span class=\"TextRun SCXW248972189 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW248972189 BCX0\">Add an action \u2013 Update File Properties, select the Site collection address, Library name, Select the ID as\u00a0<\/span><span class=\"NormalTextRun SpellingErrorV2Themed SCXW248972189 BCX0\">ItemID<\/span><span class=\"NormalTextRun SCXW248972189 BCX0\">\u00a0from previous\u00a0<\/span><span class=\"NormalTextRun SCXW248972189 BCX0\">action<\/span><span class=\"NormalTextRun SCXW248972189 BCX0\">\u00a0Create File action and select the data fields linked to each other.<\/span><\/span><span class=\"EOP SCXW248972189 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:426,&quot;335559739&quot;:160,&quot;335559740&quot;:259,&quot;335559991&quot;:426,&quot;469777462&quot;:[6946,7088],&quot;469777927&quot;:[0,0],&quot;469777928&quot;:[1,1]}\">\u00a0<\/span><\/li>\n<\/ul>\n<div style=\"background-color: white; box-shadow: 0 0 10px whitesmoke; padding: 20px; width: 800px;\">\n<h4 style=\"color: black;\">Additional Read<\/h4>\n<p><a style=\"color: black; text-decoration: none;\" href=\"#\">How to Migrate File Server to SharePoint Online [Expert Guide]<\/a><\/p>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1853 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture27.webp\" alt=\"img-09\" width=\"724\" height=\"367\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture27.webp 724w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture27-300x152.webp 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/p>\n<ul>\n<li><span class=\"TextRun SCXW189949464 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW189949464 BCX0\">Add an action \u2013 Get File Content of SharePoint connector. Select the Site Collection address, and the file identifier, set the file identifier as file identifier from the previous action.<\/span><\/span><span class=\"EOP SCXW189949464 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:426,&quot;335559739&quot;:160,&quot;335559740&quot;:259,&quot;335559991&quot;:426,&quot;469777462&quot;:[6946,7088],&quot;469777927&quot;:[0,0],&quot;469777928&quot;:[1,1]}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1855 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture28.webp\" alt=\"img-10\" width=\"724\" height=\"200\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture28.webp 724w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture28-300x83.webp 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/p>\n<ul>\n<li><span class=\"TextRun SCXW91371787 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW91371787 BCX0\">Add an action \u2013 Create File\u00a0<\/span><span class=\"NormalTextRun SCXW91371787 BCX0\">for the<\/span><span class=\"NormalTextRun SCXW91371787 BCX0\">\u00a0OneDrive connector. Select the Folder path to save the file, name of the file and the file content as file content from previous action from dynamic content.<\/span><\/span><span class=\"EOP SCXW91371787 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:426,&quot;335559739&quot;:160,&quot;335559740&quot;:259,&quot;335559991&quot;:426,&quot;469777462&quot;:[6946,7088],&quot;469777927&quot;:[0,0],&quot;469777928&quot;:[1,1]}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1856 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture29.webp\" alt=\"img-11\" width=\"722\" height=\"206\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture29.webp 722w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture29-300x86.webp 300w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/p>\n<ul>\n<li><span class=\"TextRun SCXW28836265 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW28836265 BCX0\">Add an action \u2013 Convert File\u00a0<\/span><span class=\"NormalTextRun SCXW28836265 BCX0\">for the<\/span><span class=\"NormalTextRun SCXW28836265 BCX0\">\u00a0SharePoint connector. Select the File as ID from the precious action.<\/span><\/span><span class=\"EOP SCXW28836265 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559685&quot;:426,&quot;335559739&quot;:160,&quot;335559740&quot;:259,&quot;335559991&quot;:426,&quot;469777462&quot;:[6946,7088],&quot;469777927&quot;:[0,0],&quot;469777928&quot;:[1,1]}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1859 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture30.webp\" alt=\"img-12\" width=\"722\" height=\"167\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture30.webp 722w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture30-300x69.webp 300w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/p>\n<ul>\n<li><span class=\"TextRun SCXW178944458 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW178944458 BCX0\">Add an action \u2013 Create File\u00a0<\/span><span class=\"NormalTextRun SCXW178944458 BCX0\">for the<\/span><span class=\"NormalTextRun SCXW178944458 BCX0\">\u00a0SharePoint connector. Select the Site collection address, folder path to save the file, name of the file with an extension .pdf and file content\u00a0<\/span><span class=\"NormalTextRun SCXW178944458 BCX0\">as File Content from previous action of Convert File.\u00a0<\/span><\/span><span class=\"EOP SCXW178944458 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:426,&quot;335559739&quot;:160,&quot;335559740&quot;:259,&quot;335559991&quot;:426,&quot;469777462&quot;:[6946,7088],&quot;469777927&quot;:[0,0],&quot;469777928&quot;:[1,1]}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1860 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture31.webp\" alt=\"img-13\" width=\"726\" height=\"251\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture31.webp 726w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture31-300x104.webp 300w\" sizes=\"auto, (max-width: 726px) 100vw, 726px\" \/><\/p>\n<p><span class=\"TextRun SCXW17895411 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW17895411 BCX0\">Once the Flow is created, it would look like this<\/span><span class=\"NormalTextRun SCXW17895411 BCX0\">:<\/span><\/span><span class=\"EOP SCXW17895411 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559685&quot;:426,&quot;335559739&quot;:160,&quot;335559740&quot;:259,&quot;469777462&quot;:[6946,7088,7230],&quot;469777927&quot;:[0,0,0],&quot;469777928&quot;:[1,1,1]}\">\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1863 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture32.webp\" alt=\"img-14\" width=\"851\" height=\"814\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture32.webp 851w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture32-300x287.webp 300w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture32-768x735.webp 768w\" sizes=\"auto, (max-width: 851px) 100vw, 851px\" \/><\/p>\n<p><span class=\"TextRun SCXW182706095 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW182706095 BCX0\">Let\u2019s enter data in our SharePoint Custom List Conversion to PDF from\u00a0<\/span><span class=\"NormalTextRun SCXW182706095 BCX0\">the\u00a0<\/span><span class=\"NormalTextRun SCXW182706095 BCX0\">Flow<\/span><span class=\"NormalTextRun SCXW182706095 BCX0\">:<\/span><\/span><span class=\"EOP SCXW182706095 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559737&quot;:-94,&quot;335559739&quot;:160,&quot;335559740&quot;:259,&quot;469777462&quot;:[6521],&quot;469777927&quot;:[0],&quot;469777928&quot;:[1]}\">\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1865 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture33.webp\" alt=\"img-15\" width=\"846\" height=\"183\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture33.webp 846w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture33-300x65.webp 300w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture33-768x166.webp 768w\" sizes=\"auto, (max-width: 846px) 100vw, 846px\" \/><\/p>\n<p><span class=\"TextRun SCXW226209866 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW226209866 BCX0\">The document that gets created in<\/span><span class=\"NormalTextRun SCXW226209866 BCX0\">\u00a0the<\/span>\u00a0<span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2Themed SCXW226209866 BCX0\">Library<\/span><span class=\"NormalTextRun SCXW226209866 BCX0\">\u00a0named Test-PDF-Doc-Template while the Flow runs would\u00a0<\/span><span class=\"NormalTextRun SCXW226209866 BCX0\">appear like this:<\/span><\/span><span class=\"EOP SCXW226209866 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559737&quot;:-94,&quot;335559739&quot;:160,&quot;335559740&quot;:259,&quot;469777462&quot;:[6521],&quot;469777927&quot;:[0],&quot;469777928&quot;:[1]}\">\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1866 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture34.webp\" alt=\"img-16\" width=\"875\" height=\"153\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture34.webp 875w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture34-300x52.webp 300w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture34-768x134.webp 768w\" sizes=\"auto, (max-width: 875px) 100vw, 875px\" \/><\/p>\n<p><span class=\"TextRun SCXW214027031 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW214027031 BCX0\">The document that would be created inside the Library<\/span><span class=\"NormalTextRun SCXW214027031 BCX0\">\u00a0Test-PDF-Documents<\/span><span class=\"NormalTextRun SCXW214027031 BCX0\">\u00a0after the Flow runs would\u00a0<\/span><span class=\"NormalTextRun SCXW214027031 BCX0\">appear\u00a0<\/span><span class=\"NormalTextRun SCXW214027031 BCX0\">as<\/span><span class=\"NormalTextRun SCXW214027031 BCX0\">:<\/span><\/span><span class=\"EOP SCXW214027031 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559737&quot;:-94,&quot;335559739&quot;:160,&quot;335559740&quot;:259,&quot;469777462&quot;:[6521],&quot;469777927&quot;:[0],&quot;469777928&quot;:[1]}\">\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1867 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture35.webp\" alt=\"img-17\" width=\"803\" height=\"167\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture35.webp 803w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture35-300x62.webp 300w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture35-768x160.webp 768w\" sizes=\"auto, (max-width: 803px) 100vw, 803px\" \/><\/p>\n<p><span class=\"TextRun SCXW78099400 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\" data-uw-rm-lang=\"false\"><span class=\"NormalTextRun SCXW78099400 BCX0\">The file content would\u00a0<\/span><span class=\"NormalTextRun SCXW78099400 BCX0\">look like this:<\/span><\/span><span class=\"EOP SCXW78099400 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259,&quot;469777462&quot;:[6946,7088,7230],&quot;469777927&quot;:[0,0,0],&quot;469777928&quot;:[1,1,1]}\">\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1868 size-full\" src=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture36.webp\" alt=\"img-18\" width=\"763\" height=\"861\" srcset=\"https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture36.webp 763w, https:\/\/poiseddevelopers.com\/reality-tech\/wp-content\/uploads\/2024\/03\/Picture36-266x300.webp 266w\" sizes=\"auto, (max-width: 763px) 100vw, 763px\" \/><\/p>\n<div style=\"background-color: white; box-shadow: 0 0 10px whitesmoke; padding: 20px; width: 800px;\">\n<h4 style=\"color: black;\">Are you in need of assistance? We can help!<\/h4>\n<p>Book a live 1-on-1 call with the experts of Reality Tech to find out how we will help you to achieve your goal. You\u2019ll find our solutions robust, scalable, and dependable. <a href=\"https:\/\/poiseddevelopers.com\/reality-tech\/contact-us\/\" style=\"color:#1f6799\" target=\"_blank\" rel=\"noopener\">Let\u2019s talk!<\/a><\/p>\n<\/div>\n<p>Please post your question, if you will find while implementing this process. Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summary In\u00a0previous\u00a0blog, we discussed\u00a0Generating the PDF from Microsoft Flow with\u00a0two\u00a0approaches. The First one with\u00a0an\u00a0HTML Template can be accessed from here \u2013link\u2014 Let\u2019s\u00a0start with the Second approach, Part-2 Generate a PDF of SharePoint List Data with Word Template from Microsoft Flow This is the second approach for\u00a0generating the PDF\u00a0from\u00a0SharePoint List data\u00a0that is using the predefined format [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":1828,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[19],"tags":[],"class_list":["post-1827","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-power-automate"],"acf":[],"_links":{"self":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts\/1827","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/comments?post=1827"}],"version-history":[{"count":6,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts\/1827\/revisions"}],"predecessor-version":[{"id":2926,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts\/1827\/revisions\/2926"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/media\/1828"}],"wp:attachment":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/media?parent=1827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/categories?post=1827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/tags?post=1827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}