Create a PDF from SharePoint Data using Power Apps and Power Automate flow for free

  Рет қаралды 69,026

Shane Young

Shane Young

Күн бұрын

Learn how to build a PDF from your SharePoint data by using Power Apps and Power Automate flow. No premium license, no 3rd party connectors, just simple actions put together smartly. Includes previewing the PDF in Power Apps, dynamic data including images, examples of more complex solutions and even some common errors and questions are covered. If you want to turn your data into PDFs then this is your video. Also, includes a look at the new flow connector in powerapps and the Power Apps v2 flow trigger in Power Automate.
0:00 It Starts
1:04 Demo of PowerApps app for creating a PDF from SharePoint Data
3:08 Connect to our data and view it in a gallery to get started
3:26 Add an HTML Text Control to visualize the HTML for the PDF
3:50 Walk through the process of creating a PDF using Power Apps and Power Automate Flow
5:08 Using w3schools to create HTML www.w3schools.com/html/defaul...
8:50 Using an HTML unordered list in your PDF
11:33 Getting an error when copying and pasting HTML with " instead of '
13:56 Using a Text function in your HTML Body to view a number as currency
15:26 Adding a dynamic image into your HTML for the PDF as base64 img src style width height
16:35 getting the base64 of an image control by using the JSON function
18:32 Creating the Power Automate Flow with the Power Apps v2 trigger to create a PDF using OneDrive for Business Create file and OneDrive for Business Convert File
22:25 Adding the flow to your Power Apps
25:13 Common questions and errors I get about creating a PDF
26:22 A couple of example of complex structures
Power Apps Consulting and training at www.PowerApps911.com

Пікірлер: 202
@MichaelDeBlasis1369
@MichaelDeBlasis1369 2 ай бұрын
You're the MAN Shane! I took your advice and watched this. Then I got on chat GPT 4 and uploaded an existing PDF template, asked it to make it into HTML, and a few cleanup prompts later I had a working HTML template complete with place holders for my dynamic client data. AMAZING! now I just need to make the flow to convert and save it. The easy part.
@ShanesCows
@ShanesCows 2 ай бұрын
I love this so much! Great job! 🤩
@MichaelDeBlasis1369
@MichaelDeBlasis1369 2 ай бұрын
Thanks Shane. I just completed it and had a beer. Cheers to you for making all this possible. What a great hack on that html control. Makes getting the document set correctly a breeze@@ShanesCows
@MichaelDeBlasis1369
@MichaelDeBlasis1369 Ай бұрын
I studied HTML code all week and I finally got this working Shane! TY Again! one more thing crossed off.
@ShanesCows
@ShanesCows 29 күн бұрын
Awesome. 🤩
@dacsch97
@dacsch97 Жыл бұрын
So, this is the 5th PowerApps911 video that I have watched today. I am focusing on components and making pdfs. They all have been extremely helpful and have saved me time. Thanks!
@ShanesCows
@ShanesCows Жыл бұрын
Wonderful!
@SharleneLe
@SharleneLe Жыл бұрын
AMAZING!!! I've been struggling for days now trying to find an easy free way to accomplish what you just showed us. Thank you Shane!
@ShanesCows
@ShanesCows Жыл бұрын
Happy to help. Have a great day. 🐶
@heylergalvez8815
@heylergalvez8815 Жыл бұрын
Thank you Shane! I have a technical test for a new job I'm applying for, your video helped me a lot. Greetings from Central America.
@ShanesCows
@ShanesCows Жыл бұрын
Good luck on your test! You will do awesome 🤩
@pamsmith1635
@pamsmith1635 Жыл бұрын
Yes! Got it to work! Now I need to see about using one of the third party converters because I really need it to be landscape. Awesome video!
@ShanesCows
@ShanesCows Жыл бұрын
Awesome Pam. I think Cloudmersive or Encodian is the first 2 you should look at. 😎
@putriayunurbayti1393
@putriayunurbayti1393 2 жыл бұрын
Thank you for your new lesson.. that was awesome !!
@oluwatobiyusuf
@oluwatobiyusuf 2 жыл бұрын
Thanks for another great video. I will definitely try out the image part
@matthewv4170
@matthewv4170 2 жыл бұрын
Hi Shane, if you connect this with a form you can also pull all the attachments through and attach to the email if you pass through the List ID to flow from PowerApps. Also I create the new file in SharePoint add metadata to the file and then attach a copy of the file to the list item tying it all together with a GUID()
@Worrelpa
@Worrelpa 2 жыл бұрын
Thanks Shane Another one of those common asks. Glad you covered the limits at the end to. As that trips up a lot of people. Some times I wonder if one day things like thos would be easier and that certain features supported the same html rules. I can only dream I guess.
@ShanesCows
@ShanesCows 2 жыл бұрын
That would be amazing! The fact that the HTML rules are so radically different across the platform is exhausting quite frankly. 😵‍💫
@Worrelpa
@Worrelpa 2 жыл бұрын
@@ShanesCows email clients is flying of html in email is just as bad. Outlook desktop being one of the worst as it strips out certain tags. Yet the web version doesn't. 😜 Hopefully on the road to getting that fixed.
@jesugiovanny
@jesugiovanny 2 жыл бұрын
Thanks Shane, please continue share your knowleadge. Rgds
@lukewolton1494
@lukewolton1494 2 жыл бұрын
Great video, this might just solve two issues/requirements I currently have with one apps.
@pepex90
@pepex90 2 жыл бұрын
I love Power Apps. I hope back to Power Apps sometime. Greetings from Chile 🇨🇱
@ShanesCows
@ShanesCows 2 жыл бұрын
Have a great day José! 🐶
@yacobmusic
@yacobmusic 11 ай бұрын
Thanks Shane, you're the master!
@ShanesCows
@ShanesCows 11 ай бұрын
Appreciate that :)
@LandscapeInMotion
@LandscapeInMotion 2 жыл бұрын
Shane - you always bring the gravy!
@ShanesCows
@ShanesCows 2 жыл бұрын
Happy to help. Have a great day. 🐶
@PieceFairy
@PieceFairy Жыл бұрын
Great video, Shane! Thank you for this! I wanted to make use of that laying two images on top of each other. However, even though the HTML looks perfectly fine, the images display one after the other in the PDF after the conversion process. Is this also due to the restrictions of the free integretated PDF converter or did you manage to do this with your presented method? Thanks again for your videos, they are very helpful!
@EdSalinas-97
@EdSalinas-97 5 ай бұрын
Good job pretty much anticipating all of the questions I was going to ask: first off if there's a way to do it without One Drive for Business and instead creating the html file in a Sharepoint Library and then converting it to PDF. Second was the landscape question since I want to ultimately create a shipping label for our Logistics Department. It's been a year since this video so maybe there's a more updated solution, but thanks for the video!
@dankirchner4460
@dankirchner4460 2 жыл бұрын
Hey Shane. Awesome video. Thanks for showing the conversion process with the power apps V2. Quick question. Is there a way to show the file size limit before the user exports to PDF. That way they know if the amount of information they are taking out is too much and they need to cut down their selection?
@vinosuresh6678
@vinosuresh6678 2 жыл бұрын
Shane, Thanks for the useful videos. Request you to share a video about the Indian Rupee comma format
@fernandoruelasv6836
@fernandoruelasv6836 2 жыл бұрын
Hello Shane! Thanks for putting so much information for us about PowerApps. I wanted to ask bout using SharePointIntegration instead of Gallery1.Selected. I have tried a way to use the SharePoint integration to use dynamic information based on selected itmes but cant get it to work :(
@mkavo
@mkavo Жыл бұрын
Hi Shane, great video, say you wanted to select 3 of the Employees from the Gallery and print their details in an ordered or unordered list how do you do that? add them to a collection then put the collection info into the HTML code for HTMLtext box? I can't seem to get the syntax right!!
@jonathanlucas9821
@jonathanlucas9821 Жыл бұрын
Another awesome video, thanks! Do you have a video on how to make the file name dynamic?
@DA-xv6mi
@DA-xv6mi Жыл бұрын
thank you for your help that is exactly what I'm looking for ..but I have a question how do you link the icon of the pdf in the items to the html page that you want to generate.. so what I meant is how it generate the exact item data I need!!
@williambrummett2130
@williambrummett2130 Жыл бұрын
Hey Shane. Great video! You do a great job of breaking it down and being entertaining. Is it possible to select multiple Gallery fields? In your example, could you select you and Chewy?
@ShanesCows
@ShanesCows Жыл бұрын
William, Yes! You will need to adapt the concept in this video. kzfaq.info/get/bejne/Zt6KZ8l-r8iwpp8.html
@Justinline
@Justinline Жыл бұрын
Hi . . . I'm looking to use the HTML box, but without the Gallery. I've been able to display fields correctly with just the DataCardValue.Text working. However, I can't get a people picker field to display correctly. I've tried many things like DataCardValue.DisplayName, but nothing is working. I'm surprised it isn't the same as with the Gallery syntax, like DataCardValue.'People Field'.DisplayName or something similar. Any insight is appreciated. Thank you for all your great videos.
@angelogarotti
@angelogarotti Жыл бұрын
Hi Shane, thanks very much for your content. Could you make a video showing how generate a PDF file from a SharePoint page? Thanks again
@muhammedirshaad
@muhammedirshaad Жыл бұрын
This is great. Is it possible to use powerapps and automate to fill in existing pdf templates with user data that are in a SharePoint?
@mustafahussainmohsin320
@mustafahussainmohsin320 Жыл бұрын
Hi @ShaneYoung, I want to get the export of all the gallery Items and including their attachments of those gallery records and create a PDF just like you having all the records appended. I am confused any idea?
@NWulff86
@NWulff86 2 жыл бұрын
Hey Shane or other knowledgeable people. Which step of the conversion is the limiting factor for 2MB?
@mavisqing9444
@mavisqing9444 Жыл бұрын
Hi Shane,I watched many of your video and they helped me lot❤, but we find out one problem for the PDF generated , the line will be separated if the PDF is over one page. One line will be separated into two part , half of them in the first page , another half in another page. How this can be resolved? We also tried find out some resolution but failed.
@WiserGuy
@WiserGuy 8 ай бұрын
Hi Shane, I really appreciate you putting this content out on KZfaq, I've used many of your videos for inspiration. I've looked high and low and cannot find out how to control the page size of the PDF when going thru this process, no matter what I do in the HTML. Is there documentation out there? Is that something you address in any other video?
@ShanesCows
@ShanesCows 8 ай бұрын
The only luck I have had is inserting Page Breaks. kzfaq.info/get/bejne/j9GDgcpop8XWoKc.html All of the other page manipulation stuff doesn't seem to work unless you use one of the 3rd party tools.
@Randyr1963
@Randyr1963 2 жыл бұрын
Hi ALL, quick question, I performed the Flow as outlined in the video, when I ran the flow it creates the HTML File ( I can open and see it in a browser) , but won't convert to PDF,... this is the error "ERROR Details : Conversion of this file to PDF is not supported. (Sandbox_HtmlTransform_InvalidOperation / An exception occurred while executing within the Sandbox) "
@MichaelDeBlasis1369
@MichaelDeBlasis1369 2 ай бұрын
OMG!!!!! I got it. GPT 4 FTW! Here's what we did - To add items from a collection to your HTML invoice in Power Apps, you need to dynamically generate the HTML table rows for the line items based on the collection. Since Power Apps doesn't natively support looping through collections in a single HTML text control, you will need to generate the HTML for the table rows dynamically using Power Apps functions. Here's how you can do it: Prepare Your Collection: Ensure you have a collection with the necessary properties, such as ExpenseName, Description, and Expense. Generate HTML Table Rows: Use the Concat function to concatenate the HTML for each item in the collection. This will dynamically generate the table rows.
@ShanesCows
@ShanesCows 2 ай бұрын
You might enjoy this video where I have some concat chaos fun for html :) kzfaq.info/get/bejne/d9R1hcl4rqucl6s.html
@MichaelDeBlasis1369
@MichaelDeBlasis1369 2 ай бұрын
Swweeeeet! TY!!!! PS. I am very close in prucring funds for your classes. ;)Chat soon I guess.@@ShanesCows
@jmanbaluch008
@jmanbaluch008 2 жыл бұрын
Awesome Video Shane! When I move a a solution from Dev Environment to Test Environment, the same flow also moves to the Test Environment but the print button doesnt work. Since the Test Environment is a managed solution, if I edit it, it creates an unmanned layer. Have you noticed it doesnt work in a different Environment? Do you know how I can move it to another environment and make the print flow feature work? Thank you!
@ShanesCows
@ShanesCows 2 жыл бұрын
Hmmm... I haven't ran into that. I don't have an answer but I will try to think about that next time I am playing with Solutions.
@freshrain777
@freshrain777 12 күн бұрын
Thank you
@ShanesCows
@ShanesCows 11 күн бұрын
Happy to help. Have a great weekend!
@videobewerker111
@videobewerker111 5 ай бұрын
Hello Shane, if you have a child/repeating table ... can I save the html data in a parent field to be used later in a created pdf or re-opening in power apps? I saw a example of a Nintex Form saving the repeating table info as XML in a sharepoint parent list 'more lines field'.
@gstredny
@gstredny Жыл бұрын
Hey Shane! Thanks for the video! Is it possible to do this just through Power Automate? Creating a flow specifically pulling images and data from Sharepoint and creating a PDF for each row item in Sharepoint?
@vedvoyager
@vedvoyager Жыл бұрын
Hi mate. Have u done that? I am with the same situation...
@benjaminlahsen6721
@benjaminlahsen6721 Жыл бұрын
Hello Shane! I would like to ask how can I create an HTML file using PowerAppsV2 trigger. I have defined the parameters but when the flow begins it doesn´t recognizes the HTML file parameter. The reason I need PowerAppsV2 trigger is because I need to ask for more variables. Appreciate your help!
@lindakeefe6920
@lindakeefe6920 2 жыл бұрын
Great video, Shane! I have followed this step by step and having issues with the images coming through on the PDF. The text and all come through just fine from PowerApps into HTML, and then into PDF....all except the images. I was super excited to try this short cut. Any troubleshooting ideas? BTW, I can see the images when I open the HTML file.
@user-im4ix2qf7e
@user-im4ix2qf7e 2 жыл бұрын
same here
@Bibliotekr
@Bibliotekr 2 жыл бұрын
Same here.
@elseb
@elseb 2 жыл бұрын
it worked for me when I've removed the quotes from html, it looks strange but the quotes are generated by Shanes JSON so the code looks like:
@angrybatvoice
@angrybatvoice 2 жыл бұрын
Great video Shane. Have you played around with the $-string function in the newer authoring version builds? Seems to be some lack of consensus on whether it will work for HTML Text controls or not, but could make writing this dynamic code a little less painful.
2 жыл бұрын
$-string works fine with html text controls as well, since it just needs a string as the result, you can concatinate such string the way you like. ;) With( { MyTable: [ "First is ❤"; "Second is 🚀"; "Third is a 🐢"; "Last but one is 🥂"; "Finally 🍺" ] }; $" {First(MyTable).Value} {Index(MyTable;2).Value} {Index(MyTable;3).Value} {Index(MyTable;CountRows(MyTable)-1).Value} {Last(MyTable).Value}" )
@ShanesCows
@ShanesCows 2 жыл бұрын
Thanks! I haven't kicked the tires on $-string stuff yet. I try to avoid features that aren't main stream yet, now that I think everyone has it I should dive in and see what happens.
@ShanesCows
@ShanesCows 2 жыл бұрын
Very fun Kristóf. I love With so much. 😍
@Maverick-uw1nc
@Maverick-uw1nc Жыл бұрын
Hi Shane, Nice video clears basic concept. But would you have or can you make a video similar to this but instead of using HTML codes to create pdf file it should call a flow which fills up my predesigned word or pdf file.
@ShanesCows
@ShanesCows Жыл бұрын
Maverick it is on my far out list of videos. I have never had a project where I have had to populate a project so I don't have any first hand experience. My team has done it but I haven't. 😐
@jorgeluisleonaceituno5503
@jorgeluisleonaceituno5503 Жыл бұрын
Hola! Muchas gracias por sus videos!!! Le saludo desde Guatemala! Con una consulta, cómo se puede adjuntar varios archivos con html? Desde ya muchas gracias
@ShanesCows
@ShanesCows Жыл бұрын
In this video I talk about sending emails including attachments. Does that help? kzfaq.info/get/bejne/rNaJnrKUyN3SZI0.html If you are trying to attach files to the PDF then I do not know how to do that. Sorry.
@fanzfanzilla
@fanzfanzilla Жыл бұрын
Thank you for the video. Is it possible to add a signature block that allows using government smart ID card (PIV)? Can you show example of it?
@ShanesCows
@ShanesCows Жыл бұрын
Not that I know of. Sorry
@martinwhite2369
@martinwhite2369 5 ай бұрын
Hi @shane - how would you do this if you wanted to produce a report for each employee in one click?
@baoyuanluo8142
@baoyuanluo8142 2 жыл бұрын
Awesome video Shane. Can I ask if we could use Sharepoint document library to store created PDF file instead of using OneDrive? If we could use Sharepoint document library then I do not need to create the same folder location in Onedrive for all application users.
@ShanesCows
@ShanesCows 2 жыл бұрын
Yes, the Create File portion at the end (3rd step) can be created any where you want, like a SharePoint document library.
@supriyochatterjee4095
@supriyochatterjee4095 2 жыл бұрын
Great content, can you please kindly make a video tutorial with detailed steps on how to make a workflow in Powerapps for the following thing suppose there is a work order form for a company with several fields like Billing, E-mail IDs, etc etc and the workflow should be created in such a way that the work order form can be edited, updated accordingly by some specific concerned persons in the company whose email ID will be linked in the workflow in Powerapps, Please kindly have a look into the request, also wishing you and your family a very happy Easter from Kolkata, West Bengal, India, God bless all
@ShanesCows
@ShanesCows 2 жыл бұрын
Happy Easter to you also. 🐶 You will need a Power Apps app to facilitate most of this. I would start there and only incorporate flow if necessary. Check out this for an example. kzfaq.info/get/bejne/ap9_ZZtlycuzcX0.html
@Danielx64
@Danielx64 2 жыл бұрын
Hey Shame, have you considered using the word online connector? I used to generate HTML document and just moved on from it
@julessaundersonco6790
@julessaundersonco6790 10 ай бұрын
As always, you have the answers! One question, can you share how we can bring the name of the doc generated in Powerapps over as the filename (that will obviously be dynamic). I've tried a gazillion different ways and am reaching the crazy side of efforts...
@ShanesCows
@ShanesCows 9 ай бұрын
In this really old video I show how to respond from flow. Different topic but same concept. I will put responding to Power Apps on my to do list. :) kzfaq.info/get/bejne/pdx8fNqfz5y1mok.html
@nicholaiconstanti5175
@nicholaiconstanti5175 2 жыл бұрын
This is a great video. How would you dynamically compute the file name and also how would you pull other information from the gallery over so you can use it it in the rest of the flow, such as email addresses that you have within the gallery. thanks.
@petovie
@petovie 6 ай бұрын
How can I also do this?
@steffturton9567
@steffturton9567 3 ай бұрын
This is the bit I am struggling with- help us out Shane!
@larryjburgess
@larryjburgess 2 жыл бұрын
This is (almost) exactly what I've been looking for. The only thing you didn't cover was dynamically naming the PDF file. For example, how would you include the employee's name as part of the PDF file name so that you would have unique file names for each PDF?
@jasperdavid4030
@jasperdavid4030 2 жыл бұрын
i used Get items from the sharepoint list in power automate to assign the value in to the file name, then apply to each before make file 2.
@nadyranakylla4426
@nadyranakylla4426 11 ай бұрын
Hi, can i know how to send email dynamically based on manager name that input in powerapps?
@jameslbetteridge
@jameslbetteridge 8 ай бұрын
Hi Shane, long time no speak :-) Hope you are well. As always thank you for your excellent videos. I am working on something to produce a pdf report based on powerapps data and am wanting to add the company logo to the top. I've added the logo to a variable using the JSON mentioned in this video (Set(VarCustomerlogo, JSON(LookUp(MyDataSource, Title = "MyCompanyName",Company_Logo), JSONFormat.IncludeBinaryData))) and have added the HTML () but my PDF just shows the border of a box with a red cross at the top. I must be doing something wrong but have gone back over your video and can't spot the error - any ideas?
@ShanesCows
@ShanesCows 8 ай бұрын
James try this video. You need dthe base64 and I don't think the lookup is getting what you think it is. :) kzfaq.info/get/bejne/mK-emJZ1qZmscZs.html
@JenMayB
@JenMayB Жыл бұрын
Thank you Shane. In using the OneDrive- is it always the users OneDrive or is it always my OneDrive that the user is accessing when they access that flow? I’m just curious how that works because I would have to have a folder that everyone in my organization had the same named folder for the flow to work if it was accessing their OneDrive.
@ShanesCows
@ShanesCows Жыл бұрын
The user is always using THEIR OneDrive. If the folder you specify in the flow doesn't exist the create file process will automatically create it for them. 😎
@JenMayB
@JenMayB Жыл бұрын
@@ShanesCows thank you! Saves me from having to test ot out with someone.
@user-wn2hr8ee6g
@user-wn2hr8ee6g 12 күн бұрын
Hi there, great content. I am new to powerapps. I am looking to create a power app from a Sharepoint List that uses a flow to create a pdf sent by email. Do you have any videos on that? Cheers
@ShanesCows
@ShanesCows 12 күн бұрын
I don't have anything exact. If I was you I would do things in this order. 1 - Build a POwer Apps app using SharePOint that collects and interacts with the info you want. Once it works 2 - Build a flow that makes a PDF from your data by pressing a button in the app. Get it looking the way you want. Once it works. 3 - Add to the flow the ability to attach that file to an email. Solve small problems and you got this! 🤩
@raouleliasmiraglia148
@raouleliasmiraglia148 2 жыл бұрын
Hey Shane. Great video! I just wanted to ask what I should do if I would want to put in multiple photos... I tried with a collection, but the HTML-Code won't work then... Do you have any ideas?
@donjuaquin
@donjuaquin Жыл бұрын
Hi Raoul! i used create a column in Sharepoint list named "Image1" and repeat for 2+ images (Image2), so in the gallery first add a image control w/ name of Imagen2, next use botton > like Set(varImagen;JSON(NaneImage.Image;JSONFormat.IncludeBinaryData));;Set(varImagen2;JSON(NameImage.Image;JSONFormat.IncludeBinaryData)) ,, and add in HtmlText a next row like hope help u
@lumilo7
@lumilo7 10 ай бұрын
te amo ♥ gracias
@ShanesCows
@ShanesCows 10 ай бұрын
😊
@GregCo72
@GregCo72 2 жыл бұрын
So, I'm assuming if you loop through a list with many entries since it's html it will span multiple pages? Now if we could get external style sheets to work that would be awesome.
@ShanesCows
@ShanesCows 2 жыл бұрын
Yup, this video talks about the looping. kzfaq.info/get/bejne/mMyIicJ4vcnDeoE.html
@autofxusa9965
@autofxusa9965 2 жыл бұрын
@@ShanesCows Is there any fix to pagination? I often have a file that has a table that goes into a second page. The last item on the first page gets cut in the middle because the conversion doesn't recognize it's crossing pages.
@antoniomartinezjurado1223
@antoniomartinezjurado1223 2 жыл бұрын
Hi Shane. I am very grateful for your videos. You're my hero. Just one question: how do I make the email go to an account that is in the gallery?
@ShanesCows
@ShanesCows 2 жыл бұрын
See if this video helps. PowerApps Send email - Everything you need to know about sending mail via Outlook and Power Apps kzfaq.info/get/bejne/rNaJnrKUyN3SZI0.html I show getting emails from Dropdown which is similar idea.
@antoniomartinezjurado1223
@antoniomartinezjurado1223 2 жыл бұрын
Thanks so much, Shane. Best regards from España.
@soulaimanhatim7838
@soulaimanhatim7838 2 жыл бұрын
Hello Shane; thanks for this awesome video!!! There is any way to generate powerpoint from template in sharepoint list or lib with power automate; whitout premium?
@ShanesCows
@ShanesCows 2 жыл бұрын
I don't know. I have never tried. I don't have any good ideas off the top of my head. Sorry.
@stefanzervos7412
@stefanzervos7412 2 жыл бұрын
Hallo Shane. Very nice tutorial. Is there also a way, to make a Report from a filtered Gallery. One Or two lines as a formated form in html to bring it in the Flow to Generate a Report?
@ShanesCows
@ShanesCows 2 жыл бұрын
Stefan did you see this video where I dive into Table Data? kzfaq.info/get/bejne/mMyIicJ4vcnDeoE.html You can apply a Filter inside the Concat and get what you want. :)
@utoroprincewill7808
@utoroprincewill7808 2 жыл бұрын
Nice video, can you have the pdf in landscape instead of portrait, this can be helpful for wide range of columns that span across an invoice.
@ShanesCows
@ShanesCows 2 жыл бұрын
I talk about this at the end. You have to use a 3rd party tool to do that.
@aliahbasri7837
@aliahbasri7837 8 ай бұрын
Hai Shane, in this episode I'm very interesting in getting image to PDF. How about, there is multiple images. How can i implement using JSON Function?
@ShanesCows
@ShanesCows 8 ай бұрын
kzfaq.info/get/bejne/mK-emJZ1qZmscZs.html You can have multiple small photos, handle each one individually like the video shows.
@nh-eu2lg
@nh-eu2lg Жыл бұрын
Anyone have an issue of random instances where the pdf has "show your html text here" it seems that power app sometimes fails to send flow information.
@ShanesCows
@ShanesCows Жыл бұрын
That has never happened to me but I have heard of it for others. 😑 Usually the app was too busy to keep up or a hidden control kind of thing. Not sure but you are not alone.
@ealexander2488
@ealexander2488 2 жыл бұрын
Is it possible in Powerapps, to have a button that takes a screen shot of the final screen in an app, and make it a pdf to store in a OneDrive folder?
@ShanesCows
@ShanesCows 2 жыл бұрын
Not really. The one thing you could look at is maybe print to pdf? kzfaq.info/get/bejne/gLOYidd6rpvMgac.html
@arielamine5662
@arielamine5662 Жыл бұрын
Does that method support CSS ? It would be great to have well formatted pdfs
@ShanesCows
@ShanesCows Жыл бұрын
Inline Styles for the most part yes. What you can and cannot do with styling just takes a lot of trial and error, but yes, I have made some very pretty ones along the way.
@darkhorse7449
@darkhorse7449 Жыл бұрын
Good video and great explanation. But tell me one thing that how can I download this pdf file directly in my local system from powerapps
@ShanesCows
@ShanesCows Жыл бұрын
I have never tried the Download function but worth a go docs.microsoft.com/en-us/power-platform/power-fx/reference/function-download
@mtamitolanga
@mtamitolanga 2 жыл бұрын
Hi Shane, great video as usual. In my HTML text I'm attempting to pull data from multiple galleries which are linked to multiple SharePoint lists. In SharePoint I have a primary list using its ID as a primary key and foreign key to my other lists. In my HTML text when I filter to get multiple items where my primary key is foreign then I get Invalid number of arguments: received 1, expecting 2 or more.... here is my filter: Filter(Transport.travel_request_id = selectedID), where Transport is my list and travel_request_id is my foreign key and selectedID is a variable set to my primary key. Please help, thank you.
@ShanesCows
@ShanesCows 2 жыл бұрын
You need a comma after Transport in your filter formula
@mtamitolanga
@mtamitolanga 2 жыл бұрын
@@ShanesCows the comma didn't work as well, so I ended filtering into a collection then reading from there. Thank for coming back to me much appreciated.
@vaibhavnageshwaran3428
@vaibhavnageshwaran3428 Жыл бұрын
Hi Shane, Great Video...big fan from India.... I have two issues where i need your help: 1. How to do for SharePoint list with image attachments (or multiple images) 2. I have copied exactly how you did, but my flow error is occurring in the last two steps of the flow, The flow test is successful but when i run the PowerApp the flow is getting failed.. Thanks in Advance
@mustafahussainmohsin320
@mustafahussainmohsin320 Жыл бұрын
Have you solved your problem???
@vaibhavnageshwaran3428
@vaibhavnageshwaran3428 Жыл бұрын
No bro....if you can solve...please ping me
@dion4894
@dion4894 Жыл бұрын
Great video! However, when I try styling HTML such as aligning some text and giving text background color I can see it in Power Apps. But somehow that part doens't come through in the PDF. Am I missing something?
@ShanesCows
@ShanesCows Жыл бұрын
The conversion engine uses different HTML rules. Try inline styles. It is all possible just have to keep trying different ways till you find the one that works. 😐
@davidoddy4668
@davidoddy4668 Жыл бұрын
Is the file comvert still only a 2mb limit?
@JohnDoe-pe6yl
@JohnDoe-pe6yl 6 ай бұрын
Mine will create 2 files the HMTL and the PDF file but for some reason the PDF is blank. Any idea what causes this? Is there a step at the end that can either open the file location or the good file to print without going the long route?
@ShanesCows
@ShanesCows 6 ай бұрын
Look at your html. You have a bad or missing tag most likely
@peterspencer7317
@peterspencer7317 11 ай бұрын
Can the html in powerapps also be used where powerapps has a multi choice selection. I cannot seem to get rid of the error generated. e.g Location has 5 location to select from in an inspection app, but when writing the html code in powerapps all i get is an error
@ShanesCows
@ShanesCows 11 ай бұрын
You need to use concat Concat(combobox1.SelectedItems, Value, “;”) that would write them semicolon separated.
@LindaJohnson-vy1xg
@LindaJohnson-vy1xg 10 ай бұрын
Hi Shane, Your video's are so, so, helpful! I'm stuck on one item though. Trying to print item that has multiple selected items in one field from drop down choices. When I try to enter .value after the code, it keeps erroring out. How can I write this to display all the selected choices? " & Gallery1.Selected.ViolenceTypes.Value & " is erroring out. Can you offer a solution to capture the multiple choice answers for this field? Thanks.
@LindaJohnson-vy1xg
@LindaJohnson-vy1xg 10 ай бұрын
I found an answer that worked. " &Concat(Gallery1.Selected.ViolenceTypes.Value, Value &", ")& "
@ShanesCows
@ShanesCows 10 ай бұрын
Good Job Linda. i was going to answer Concat. :) Glad you found it.
@getmighty8619
@getmighty8619 9 ай бұрын
What if I want to include an image that I don't want the user to see until the image is generated? Just create an image in the app and make the image visible property to false?
@ShanesCows
@ShanesCows 9 ай бұрын
That should be fine. :) Or because you will have the base64 you don't have to display it. Remember base64 is the key to images in PDFs.
@MichaelDeBlasis1369
@MichaelDeBlasis1369 2 ай бұрын
One last thing. If anyone has issues with the PDF conversion... A great workaround is to add a print button that goes invisible when clicked so it does not show on the printed doc. Then just print to PDF and save to sharepoint. I know that's not automated etc, but a friend of mine brought it up as an idea when I was getting frustrated with my html formatting. Luckily GPT4 resolved that for me, but it worth noting that print to PDF will still get you a PDF doc with dynamic properties from your app. Which is the goal, right?
@ShanesCows
@ShanesCows 2 ай бұрын
I like it
@MichaelDeBlasis1369
@MichaelDeBlasis1369 2 ай бұрын
Now my boss is so excited she wants some multipage docs to also be populated like the one page invoice I just made. I don't think this method works for a multipage doc. Or am I wrong there? I see some things online from Andrew Hess about a free way to populate a word doc using content types. I might give that a try. Do you have any videos on that as well? Yours are better hehehe!@@ShanesCows
@piocha88
@piocha88 2 жыл бұрын
Hello Shane, I would like to known if is possible that 1 combobox search in two shareponit lists.
@antoniomartinezjurado1223
@antoniomartinezjurado1223 2 жыл бұрын
Look in Create File 2, Content File and be sure you introduce Content File from the previous step.
@shinshae7882
@shinshae7882 Жыл бұрын
Hi Shane, Thank you for this video, I created the app, and the flow. But the thing is, my data is not coming in pdf, in html file all are working as expected. Could you please help here
@ShanesCows
@ShanesCows Жыл бұрын
You have a typo in your HTML. Look at it closely. You are missing a closing tag or something similar.
@shinshae7882
@shinshae7882 Жыл бұрын
​@@ShanesCows Thank you so much😃😃😃 I missed one double quotes, now it worked 🎉
@dileepkumars3690
@dileepkumars3690 Жыл бұрын
Hi , Is It possible to save a record of Model driven app with entire data in it as PDF ? IF yes how to save that record as PDF in Model driven app. Reply is much appreciated. Thank you.
@matthewv4170
@matthewv4170 2 жыл бұрын
This is the exact methods I use. You get s 3mb sandbox error though which is unavoidable
@allansmith9688
@allansmith9688 2 жыл бұрын
Hi Shane great video again. I am using choices in my form. How do I get that value to appear?
@allansmith9688
@allansmith9688 2 жыл бұрын
Resolved it, just used data card value instead of gallery selected. 👍
@ShanesCows
@ShanesCows 2 жыл бұрын
Glad you got it Allan
@JustGetYoursJust4Fun
@JustGetYoursJust4Fun Жыл бұрын
Hi there Shane Your videos are always insightful and great to watch Hope you could help with this one with there being no information about this. I am trying to grab a SharePoint PDF attachment convert it to code 64 in order to send it in a response via HTTP Think you could figure this one out?
@ShanesCows
@ShanesCows Жыл бұрын
If you use the flow action Get File Content for the SharePoint file does that give you the base64? I am 99% sure it does. :)
@JustGetYoursJust4Fun
@JustGetYoursJust4Fun Жыл бұрын
@@ShanesCows It did not. It said "Click to Download" and was a long JSON. but took a different approach. So when the file is first uploaded I convert PDF to code64 and store it in a column. When the flow is called I read it out of that column. It reduces the response time as well. But having other issues now with trying to get nested field layers down and struggling a bit lol - but I am sure I will eventually figure it out. Would have been cool to jump on a Teams call with you, but I know you a busy man. Thanx for the reply man appreciate it
@amrkalammansoori4411
@amrkalammansoori4411 3 ай бұрын
Thank you soo much Shane for this incredible video!❤🔥 This helped me solve my work of converting customer form to pdf document. Shane now I want to save the pdf by the customer name. For example CustomerName.pdf. How do you dynamically grab the customer name from the customer text field in powerapps and populate it in the place of hello.pdf. Can you please make a video on it? It will be highly appreciated! or guide me to the right Microsoft documentation🙂 Thanks again!! Your videos are super helpful as always!!🙂
@ginoginetto9389
@ginoginetto9389 Жыл бұрын
Hi Shane, great video, if it's possible I have a question for you, is it possible to rename the PDF file name dynamically?, for example using the employee's last name or another gallery field? tks in advance
@ShanesCows
@ShanesCows Жыл бұрын
Yes, Gino. The filename portion that you send to flow is just text. It can be anythign you want. Like: User().FullName & " PDF file.PDF"
@dpd5097
@dpd5097 Жыл бұрын
@@ShanesCows Any chance you could explain this a little more?
@johnbrennan8442
@johnbrennan8442 Жыл бұрын
I think the question is in the flow part can the file name be dynamic? You could put a get items Sharepoint step before this and add ‘Created by’ to the name and ‘Created’ to that box
@Artofhandembroidery9862
@Artofhandembroidery9862 Жыл бұрын
can you explain about how to create pdf without using one drive or any third-party participation in power automate
@Escillo
@Escillo Жыл бұрын
Hello Shane, have you a solution without premium connectors or third party connectors with subs, with HTTP request to SP for example, to merge 2 PDFs ?
@ShanesCows
@ShanesCows Жыл бұрын
I don't, the only way I know to merge is with premium. SOrry
@Escillo
@Escillo Жыл бұрын
@@ShanesCows Ok thank you but my client doesnot take premium licensing. Otherwise, is it possible to create a Page break in HTML?
@jett27
@jett27 4 күн бұрын
Thank you for the tutorial, Shane! I have HTML content with special characters (e.g. Chinese/Korean text) but whenever the .HTML file is converted to PDF it shows up as ■■■■■■■■. Is there a way to handle this use case? Would appreciate the help!
@ShanesCows
@ShanesCows 4 күн бұрын
I have never had to deal with it but you aren't the first person to report other characters don't cover right. 😔 I don't know what the work around is. Maybe try one of the 3rd party conversion tools? Sorry.
@jett27
@jett27 4 күн бұрын
@@ShanesCows Gotcha. Appreciate the response!
@fitze87fatze13
@fitze87fatze13 Жыл бұрын
Dear Shane - I learned a lot from your videos and made good progress. Thank you! But today I am really fcked up.. My App and flows work almost perfectly but obviously there is no stock solution to convert files >2MB. I felt like beeing on the last meters to my goal but now it feels like I am lightyears apart from that.... Do you have any good Idea of fow I can use a report in HTML format with pictures in it into a PDF? Thanks for your support! Felix
@ShanesCows
@ShanesCows Жыл бұрын
Felix you will have to go with one of the 3rd party tools. Either Encodian or Cloudmersive would be my recommendation. Sorry, wish I had better news.
@MrAbueslam
@MrAbueslam 2 жыл бұрын
Dear Shane Can you please add a video on how to add a footer to pdf document generated in this video , I did generate a pdf with a logo but failed to add fixed position footer to my doc . Can you please help me with this.
@ShanesCows
@ShanesCows 2 жыл бұрын
Not easy. Get some ideas of controlling the page with this video. QTT - Power Automate PDF Page Breaks kzfaq.info/get/bejne/j9GDgcpop8XWoKc.html
@MrAbueslam
@MrAbueslam 2 жыл бұрын
Thanks for Youth reply , much appreciated
@parranoic
@parranoic 2 жыл бұрын
Is it possible to just take a file, convert it and save it to SP. I'm getting "Conversion of this file to PDF is not supported." It seems they broke Convert File in 2018 and no solution seems to work. I don't wanna go to power apps, convert to html, save the file, convert it again to pdf etc
@ShanesCows
@ShanesCows 2 жыл бұрын
What type of file are you trying to convert? Some of the 3rd party conversion tools support more file types.
@parranoic
@parranoic 2 жыл бұрын
@@ShanesCows Thanks for the reply Shane, mainly Excel files. My tests were done with xlsx. PS they don't want to get my coworker another paid license for the N other premium actions available since they already paid for his Power Automate Plan 2
@wolfcat007
@wolfcat007 Жыл бұрын
So I need about 1000 images to create a pdf report. I need to use base64 but the data column in SharePoint shows the list down to a crawl. How do get around that?
@ShanesCows
@ShanesCows Жыл бұрын
The free PDF conversion process shown here has a file size limit of about 2 MB total 🫤 So no way you are getting a 1000 images in there. Probably not even 10. If you need that massive of a PDF you will need to look at on of the 3rd party tools, I think I mention at the end of the video.
@wolfcat007
@wolfcat007 Жыл бұрын
@@ShanesCows yeah. I’ve scratched my head on that limitation. It’s for building a punch list app with photos. I’ve been down on my luck with finding an alternative solution, to the point where 7 months of development, 5 of those was dealing with this pdf issue. What is your recommendation? I’ve thought of getting a hosting site just for images, or sadly scrapping the whole thing and redoing it as a browser version. ::Shrug::
@bzqp2
@bzqp2 Жыл бұрын
I can't seem to be able to avoid using OneDrive. In my Teams environment some of the users have guest status and have access to Sharepoint but not to OneDrive. Once I connect the flow using OneDrive these users loose access to the created app. Is there any way to get PDF to a Sharepoint folder without having to use OneDrive??
@ShanesCows
@ShanesCows Жыл бұрын
There is no convert action in SharePoint. 😑 Free pdf is only coming from OneDrive.
@bzqp2
@bzqp2 Жыл бұрын
@@ShanesCows Any way to somehow export data not fitting on the screen with the new experimental "PDF" function in Power FX?
@bzqp2
@bzqp2 Жыл бұрын
@@ShanesCows Ok, I just checked and the new PDF function covers all the PDF-making needs I had! :D No Flow modules required. You just point to a container or gallery and get a PDF. It also supports scrollable galleries or containers that go beyond the extents of the page. Finally!
@getmighty8619
@getmighty8619 9 ай бұрын
Conversion of this file to PDF is not supported. (Sandbox_HtmlTransform_InvalidOperation / An exception occurred while executing within the Sandbox) :(
@ShanesCows
@ShanesCows 9 ай бұрын
I have never seen that error. I would look at your HTML. It has to be well structured or the process gets mad.
@getmighty8619
@getmighty8619 9 ай бұрын
It doesn't allow flexbox it looks like :(@@ShanesCows
@deividspiv6659
@deividspiv6659 Жыл бұрын
how many pdf can i save in a Sharepoint list?
@ShanesCows
@ShanesCows Жыл бұрын
A lot. 😎
@deividspiv6659
@deividspiv6659 Жыл бұрын
i need to save the pdf from all the company in the next 3 years it can be possible?
@deividspiv6659
@deividspiv6659 Жыл бұрын
Can i save the files in a sql list? 👉👈
@ShanesCows
@ShanesCows Жыл бұрын
You can but I don’t recommend it. Saving files to SharePoint doc library tends to work best.
@deividspiv6659
@deividspiv6659 Жыл бұрын
Thank you so much Shane! you're so great!
@getmighty8619
@getmighty8619 9 ай бұрын
Is there a version of this that doesn't explain HTML?
@ShanesCows
@ShanesCows 9 ай бұрын
Sorry, you need the HTML skills to make PDFs so I taught them.
@jacksonbrumbaugh9706
@jacksonbrumbaugh9706 Жыл бұрын
HTML tables?!? if we are already dabbling into HTML & need some advanced techniques like specifying image position => probably better off copy/pasting some CSS styling to go into the HTML element to then use grid view
@ShanesCows
@ShanesCows Жыл бұрын
I find the conversion process doesn't like a lot of fancy stuff. I find I have to use HTML tables to get my positioning. Have you found other ways? I would love to see it. 😎
@jacksonbrumbaugh9706
@jacksonbrumbaugh9706 Жыл бұрын
@@ShanesCows no i watched the video in prep for a work project I wont be converting PDFs for a few more weeks it just stood out to me that some other content creator's i've learned a ton from (Kevin Powell to name 1) seem to recommend strongly away from "the olden days" of HTML tables but I also wondered if this was a case of u doing some protective hand-waving & not guiding us down a path of failure if the free converting is generally finicky
@williamm8460
@williamm8460 Жыл бұрын
Cheers Shane for another great video. Just wanted to know if there was a method to include multiple images, as opposed to just a single. I've got a Sharepoint gallery, and need to attach up to 20 photos to the required PDF, from a single record in said gallery. Would the method be similar to your video: kzfaq.info/get/bejne/gZ1kiKmKzNivcmg.html Thanks
@ShanesCows
@ShanesCows Жыл бұрын
Yes, you can have multiple images. You need to create an tag for each one but the pattern is the same. Now be careful, the OneDrive conversion only works for total HTML size of less than 2 MB. So depending on your image sizes you may run into challenges and need to switch to one of the 3rd party tools to get what you are looking for. Good luck.
@williamm8460
@williamm8460 Жыл бұрын
Thanks @@ShanesCows! Although, I may be out of luck on that front then. I'm anticipating the images being of quite high resolution. Do you know of any methods in which you can compress images, using Dataverse connectors via a flow?
@ShanesCows
@ShanesCows Жыл бұрын
@@williamm8460 There are 3rd party connectors that will do that but they are also premium.
@patrickp531
@patrickp531 Жыл бұрын
Excellent video!! Thank you!. How would you change the hello.html/hello.pdf to save it under the name of the record. IE in this example under Greg's name ? Thank you.
@MaxZorin-bb8zz
@MaxZorin-bb8zz 3 ай бұрын
Writing the html in Power Apps, when you are calling a variable from the gallery that is multi choice, the “& Gallery.Selected.’Variable’ &” does not work, how do I solve this?
@ShanesCows
@ShanesCows 3 ай бұрын
A multichoice field is a Table. So you would need to Concat that table to get the value out. I don't have a dedicated video for it but I show it in a few. THis one for example kzfaq.info/get/bejne/d9x3hc-j2rO6nn0.html
@MaxZorin-bb8zz
@MaxZorin-bb8zz 3 ай бұрын
Thanks very much!
PowerApps PDF from table data
29:05
Shane Young
Рет қаралды 101 М.
Use the Power Automate v2 Trigger for Power Apps
19:09
Shane Young
Рет қаралды 37 М.
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 43 МЛН
哈莉奎因以为小丑不爱她了#joker #cosplay #Harriet Quinn
00:22
佐助与鸣人
Рет қаралды 8 МЛН
Получилось у Миланы?😂
00:13
ХАБИБ
Рет қаралды 5 МЛН
Smart Sigma Kid #funny #sigma #memes
00:26
CRAZY GREAPA
Рет қаралды 6 МЛН
Create Dynamic PDFs with Tabular Data using Power Automate
16:41
Reza Dorrani
Рет қаралды 42 М.
Web Scraping Made EASY With Power Automate Desktop - For FREE & ZERO Coding
13:11
[New in PowerApps] The new PDF() function is a gamechanger
28:50
R2Power - Lern PowerApps
Рет қаралды 32 М.
PowerApps PDF Generator using Microsoft Flow PDF Converter
25:50
Shane Young
Рет қаралды 199 М.
Saving Power Apps Data with the Patch Function
17:59
Shane Young
Рет қаралды 53 М.
📄How to create a PDF file with Power Automate [FLOW]
16:28
Giuliano De Luca
Рет қаралды 15 М.
Power Apps Collections Introduction
18:48
Shane Young
Рет қаралды 79 М.
Easy Sequential Approvals in Power Automate | Beginner's Tutorial
17:18
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 18 МЛН
Это - iPhone 16!
16:29
Rozetked
Рет қаралды 430 М.
КРАХ WINDOWS 19 ИЮЛЯ 2024 | ОБЪЯСНЯЕМ
10:04
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 29 МЛН