Тёмный

PowerApps PDF Generator using Microsoft Flow PDF Converter 

Shane Young
Подписаться 166 тыс.
Просмотров 201 тыс.
50% 1

In this video, you will learn how to create a PDF using the power of PowerApps, Flow, and OneDrive. We walk through everything from generating the HTML, to filling in the variables, adding Flow actions, and finally sending content from PowerApps to the PDF. Very cool.
John Liu's original blog post on PDFs johnliu.net/blo...
W3 School's HTML guide www.w3schools....
PowerApps and Flow consulting www.PowerApps9...

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 839   
@AdiCristea
@AdiCristea 6 лет назад
Stop apologising about the video length, I am always happy to see the enthusiasm and passion of your learnings. The more, the merrier! Awesome video again, Shane, great job!
@ShanesCows
@ShanesCows 6 лет назад
Thank yoU!
@hahahaha7023
@hahahaha7023 4 года назад
i think i'm gonna dial 911
@tysonleonidas2955
@tysonleonidas2955 3 года назад
I know im asking the wrong place but does anyone know of a tool to log back into an Instagram account?? I was stupid forgot the login password. I love any assistance you can give me!
@davianbrayan2585
@davianbrayan2585 3 года назад
@Tyson Leonidas instablaster =)
@tysonleonidas2955
@tysonleonidas2955 3 года назад
@Davian Brayan thanks for your reply. I got to the site thru google and Im trying it out now. Takes a while so I will get back to you later when my account password hopefully is recovered.
@feliciadawn5014
@feliciadawn5014 4 года назад
I have watched countless hours of CS and coding tutorials during my education and career, yours are by far my favorite. These PowerApps tutorials are an absolute lifesaver. Thank you!
@ShanesCows
@ShanesCows 4 года назад
You are very kind. 🐶
@rambonumber007
@rambonumber007 4 года назад
Just started working with Powerapps and Flow. Thanks to your videos I achieved a great progress.
@snork2209
@snork2209 4 года назад
Shane! Just by watching your videos I was able to program a power app to track absence times of our students. All teachers can now work together in that app and it saves them a whole bunch of time (AND PAPER!!). Thank you so much, rock!!
@ShanesCows
@ShanesCows 4 года назад
That is awesome! Good job to you Snork!
@christianpilon163
@christianpilon163 5 лет назад
Good video, it really helped for my first application. A few things I learned along the way: - I used the "Compose" step to make the HTML more readable instead of directly entering it in the "Create File" step. - If you can store the data you want to print in a Sharepoint list it makes it a lot easier to include dynamic variables in your HTML
@ShanesCows
@ShanesCows 5 лет назад
Cool
@chrislambe400
@chrislambe400 5 лет назад
"That took me...[Briefly reflects what day is it /damn I need to shower and sleep] I don't wanna talk about it." Nice work dude
@ShanesCows
@ShanesCows 5 лет назад
Glad it helped and hope you remembered to shower. 😂
@christopherspencer8239
@christopherspencer8239 4 года назад
I wish I could like this video twice. I was jumping and down with you when I got my company logo and my own custom power apps data out there!
@ShanesCows
@ShanesCows 4 года назад
Awesome!
@eriks707
@eriks707 4 года назад
"You can choose any option you want, as long as it's PDF...Because that's the only option you have" :'D
@ShanesCows
@ShanesCows 4 года назад
😂
@Maynardjones100
@Maynardjones100 2 года назад
my superstars to follow used to be Roger Federer, Guns N Roses, Tool, Megadeth, now the rockstars for me are Shane Young and Reza Dorani. Thanks, that´s just what I needed
@ShanesCows
@ShanesCows 2 года назад
Very kind of you. Hope you have a great weekend 🔥
@androidgeeking
@androidgeeking 3 года назад
Great video. I know I was struggling but I've learn a few things about a few limitation to take note of when desiging your html files for pdf conversion. 1. No flexbox or grid support. 2. Overflow doesn't work. 3. Body width has a max I've found 600px to be the sweet spot.
@ShanesCows
@ShanesCows 3 года назад
Thanks for sharing!
@82foghornleghorn
@82foghornleghorn 3 года назад
Shane, thank you so much for this and all the great videos that have made Power Apps truly accessible to me in my job. I was able to use a "Get Row by ID" function in the flow, add its output to my HTML, and get dynamic values from Dataverse (even LookUps) to populate in my PDF. Now I can export a PDF with all the Dataverse record's fields. So cool, and useful. Cheers!
@ShanesCows
@ShanesCows 3 года назад
Awesome 😎
@MrAbueslam
@MrAbueslam 2 года назад
Can you please show me how you managed filling in lookup records and data table fields in html. I am having issue with that.
@burning_out
@burning_out 6 лет назад
Another great informative video. Top tip for avoiding having to do all that hard work with the concat expression in the single line editor... if you initialise another variable of type string and put all your HTML text in that, it is way easier to maintain and you don't need to concat any of it. Then you just drop the variable into the FileContent of your OneDrive Create File action :D
@ShanesCows
@ShanesCows 6 лет назад
I like it. 😻
@mgtd1138
@mgtd1138 4 года назад
How would you accomplish that specifically?
@tenisviejos
@tenisviejos 5 лет назад
I thought my enthusiasm for learning powerapps was weird. I feel you, bro. GREAT job, as usual. Thank you for your effort!
@ShanesCows
@ShanesCows 5 лет назад
Yup 😻
@johnmizell4683
@johnmizell4683 5 лет назад
Hi Shane, just wanted to thank you for posting this video. I used your method for inserting a picture, except I tokenized the hmtl and then used replace() to add all of the pictures and elements. You're the best!!!
@ShanesCows
@ShanesCows 5 лет назад
Cool
@peterhowell4502
@peterhowell4502 5 лет назад
Hi Shane, Fantastic Video as usual. The length was necessary to convey each step with enough detail. I especially appreciated the Button to test the Flow. Looking forward to the next Video! Thanks.
@ShanesCows
@ShanesCows 5 лет назад
Thank you Peter. 😻
@StevenNel
@StevenNel 4 года назад
Awesome video Shane. Really does open up a lot of possibilities. One thing to add though, you can convert a word document to HTML which comes in handy when designing your document and then only needing to tweak a few things rather than having to write it all from scratch.
@ShanesCows
@ShanesCows 4 года назад
Yes but that creates a lot of extra “noise” in the html that is really scary to a newbie.
@thekreehaytion
@thekreehaytion 5 лет назад
Shanne you are awsome, you just can't imagine how much time you made us save. Please keep posting videos!
@ShanesCows
@ShanesCows 5 лет назад
Glad to help. 😀
@ahlan3609
@ahlan3609 3 года назад
I love your enthusiasm! So in the end, you were able to insert only one input (the 9 cups of food) how would we make it to submit dozens of inputs in a table or form that I am making? Almost like an application to enter a program? Thank you appreciate any feedback!
@ShanesCows
@ShanesCows 3 года назад
Thanks Alan. This video should help speak to how we can get lots and dynamic data into the mix. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bfXV_GXc_JM.html
@mrstevennewmanEDU
@mrstevennewmanEDU 6 лет назад
Hey Shane, This was the missing link in a solution I am building for my schools (I help look after a whole district). You sir are awesome!!! You should set up a Patreon Page. I for one would support you.
@ShanesCows
@ShanesCows 6 лет назад
That is awesome. I have toyed with patreon but I don’t know. 😀
@k1ngydoteth403
@k1ngydoteth403 4 года назад
@@ShanesCows You defo should lol
@ludwighallgren2554
@ludwighallgren2554 6 лет назад
Thanks Shane. Had a customer the other day that wanted this and u solved it for me so easy. Thanks
@ShanesCows
@ShanesCows 6 лет назад
Glad to help. 😻
@bexjuice
@bexjuice 3 года назад
OMG you're a hero !!! And this Concat function is just perfect
@ShanesCows
@ShanesCows 3 года назад
Thanks 😊 glad it helped.
@frenamakenson9844
@frenamakenson9844 2 года назад
thinking you were making this video in 2018... Awsome , thank you a lot for the sharing
@ShanesCows
@ShanesCows 2 года назад
I feel like I should make a new version but nothing has changed so 🤷‍♂️
@susanclark1778
@susanclark1778 Месяц назад
This is a great video thank you, Someone mentioned you had a way to also convert to Word? I need to create a dynamic template document based on Power Apps data/SharePoint. So looking to build a complete formatted word document in html with dynamic tables and then convert to Word. It seems easy enough in theory, but why is there no html to Word option - this seems more useful then pdf. Appreciate you thanks.
@ShanesCows
@ShanesCows Месяц назад
We haven't done it much here at PowerApps911 but when we have we have used the flow action Populate a Microsoft Word template and filled in the blanks. I have never went from HTML to Word. Maybe one of the 3rd parties like Encodian or Cloudmersive can do it? Not sure.
@LannaSanches
@LannaSanches 3 года назад
Great tutorial, thanks! Would you know how to turn left the pdf page?
@ShanesCows
@ShanesCows 3 года назад
I don’t 😑
@niebieskiYT
@niebieskiYT 4 года назад
You are awesome Shane. I love your videos!
@ShanesCows
@ShanesCows 4 года назад
Thanks 😎
@sokgat7019
@sokgat7019 6 лет назад
Hey Shane, Great work as always. Did you find a way to right justify last column (numbers) ???
@ShanesCows
@ShanesCows 6 лет назад
Yes. In your html you need to specify the text-align to be right.
@aaronalbers7280
@aaronalbers7280 4 месяца назад
Great video once again Shane! I have a use case for this exact process; however, I need to embed the possibility of word, pdf, and jpgs. Any advice for this process with word or pdf docs?
@ShanesCows
@ShanesCows 4 месяца назад
I got nothing for embedding Word or PDF. Maybe look at the 3rd party PDF tools to see if they make it an option? Not sure.
@aaronalbers7280
@aaronalbers7280 4 месяца назад
@@ShanesCows I decided to convert all the docs into pngs whenever they are uploaded to the doc library. In your flow however you are utilizing OneDrive for Business (Get file content). I am utilizing the SharePoint (Get file content) when we set that equal to a variable and embed that intot our HTML should be expect those abilities to function the same?
@divyanshgupta3760
@divyanshgupta3760 3 года назад
Brooo... Thank you so much for making our lives easier! This is very helpful!
@ShanesCows
@ShanesCows 3 года назад
Glad to help. 😀
@ShadowCubes
@ShadowCubes 5 лет назад
That is a great tip Shane, thanks for sharing! Just a little question, how would you handle multiple variables?
@ShanesCows
@ShanesCows 5 лет назад
It is the same concept. What is in the variables?
@ShadowCubes
@ShadowCubes 5 лет назад
Thanks for your reply unfortunately I scrapped that idea. Thanks again for your videos great quality and professionalism!
@marcopezzutti6555
@marcopezzutti6555 4 года назад
Hi Shane My name is Marco and I'm writing from you from Sydney Australia. Firstly I want to thank you for these videos! I watched them all over and over again and I learnt powerapps. I use your techniques in my apps that I am creating. I watched this video many many times and the way that it converts a HTML to PDF using flow. My big dilemma is that my html is Landscape and Onedrive does not convert the landscape HTML to PDF. Would you know what I have to do ? Anyway Shane I appreciate everything you have done for me and thank you so much. Ciao Marco!
@ShanesCows
@ShanesCows 4 года назад
Hi Marco. Best I know there is no way to set landscape. 😑
@marcopezzutti6555
@marcopezzutti6555 4 года назад
Shane thank you so much to have answered me. Looking forward to other Powerapp videos. God Bless ! Marco
@NOR3MSTI
@NOR3MSTI Год назад
awesome, it works, any chance i could get certain parts of the html to pdf to print out instead of the entire portion based on drop down selections inside the app? or is that too much?
@ShanesCows
@ShanesCows Год назад
Basically the conversion process just wants text, it doesn't care how you get there. So if you can create logic to only send part of the HTML you want then you should be fine. There is a newer version of this video that may help ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-pFlwYy8ijiA.html
@stormybanjo
@stormybanjo Год назад
Thank you Shane, this is really helpful and easy to follow.
@ShanesCows
@ShanesCows Год назад
You're very welcome!
@ghuerren
@ghuerren 4 года назад
Once more, great video! I also must say that ive just started using Powerapp and your videos have been great as I dont know coding... Thanks a lot!!!!
@ShanesCows
@ShanesCows 4 года назад
Awesome 😁
@brittanyhul7989
@brittanyhul7989 4 года назад
Hi! All of your tutorials have been so helpful! Your presentation style is also the best I have seen and makes it much easier to understand than some of the other PowerApps videos on RU-vid. I have a question -- I'm using CSS in my HTML (not a lot, just adding some color to the tables mostly). When I use Flow(Power Automate) to convert to HTML, the HTML file looks right. But when it converts the HTML file over to PDF, the PDF no longer has the CSS formatting in the tables. Any ideas?
@ShanesCows
@ShanesCows 4 года назад
The conversion process is super picky about how you do styling. If it doesn’t work one way try another. Usually there is one that works. If you don’t get it email me and I can sit out the code I use to do colors.
@rahmatf
@rahmatf 2 года назад
@@ShanesCows same issue with me. the result of PDF is no-color even the html has color. please advise
@thurstanp
@thurstanp 4 года назад
Good video Shane. 1 question regarding the HTML code using the TriggerBody expression: why did u use the 'CreateFile Filename' syntax in the td cell?thx
@ShanesCows
@ShanesCows 4 года назад
So I could use the value pulled from Power Apps. Making things more dynamic.
@thurstanp
@thurstanp 4 года назад
@@ShanesCows thx. No what I meant by that Q is what if you have multiple text inputs from the user, so how would write/use different expressions to handle the multiple data going into the html rows to create the pdf? Rgds
@DavidCastilloOnGoogle
@DavidCastilloOnGoogle 6 лет назад
Hey Shane, awesome tutorial as always! Hope you don't mind me asking how would I be able to send the data I made in your repeating tables (gallery items and collection) into this PDF file? I'm kind of stumped how to do that, I feel like it's a get item from that library where the master ID = ID of that form, and I'll need to do a loop (for each) but I don't know how to put all of that in to the HTML you did. Any ideas?
@ShanesCows
@ShanesCows 6 лет назад
ForAll works for looping through a collection. But yeah working out the html will be a pain.
@evanraitt
@evanraitt 6 лет назад
Perfect timing. I was trying to figure out how to do just this. Thank you so much! Is there a way to save the PDF to a different name, based on an entry? What about a print button to print the created PDF right from the App itself?
@ShanesCows
@ShanesCows 6 лет назад
You could send the filename as a variable from PowerApps. No problem. Printing? WHat if you launch the PDF in the browser? Not sure about that one.
@GrBritton
@GrBritton 4 года назад
THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I was just trying to figure this out myself. You just saved me a TON of time!
@ShanesCows
@ShanesCows 4 года назад
Glad to help. 😀
@HowToExcelBlog
@HowToExcelBlog 6 лет назад
Awesome! Can you loop through a collection or gallery to display into an HTML table?
@HowToExcelBlog
@HowToExcelBlog 6 лет назад
I guess you could use a text field in PA with Concat to create the table, then reference that part of the text in the flow. Interesting possibilities
@HowToExcelBlog
@HowToExcelBlog 6 лет назад
Any limit on the amount of text characters you can cram into either a text field in PA or with the Concat function in Flow?
@ShanesCows
@ShanesCows 6 лет назад
Not that I know of but maybe. If you find one let me know.
@BenErnst15
@BenErnst15 4 года назад
Shane you are awesome! I've learned so much watching your videos. I'm currently working on this PDF conversion and have everything working, except figuring out alignment. My html included center aligned headers and tables, but everything gets left aligned in power apps. Any thoughts? Thanks!
@ShanesCows
@ShanesCows 4 года назад
Post a new comment with what you are using to center with.
@BenErnst15
@BenErnst15 4 года назад
@@ShanesCows here is an example: h2 style=‘text-align: center;’>Pricing Proposal
@Chris-ig5qz
@Chris-ig5qz 6 лет назад
It’s like you knew that I needed this video in my life :-)
@ShanesCows
@ShanesCows 6 лет назад
I made it just for you. 😻
@lindt4-w2x
@lindt4-w2x 4 года назад
Thanks so much- great video as usual Shane! Is it possible to use Rich Text fields without getting square characters at strange places in the pdf (mostly at the beginning of a line)? There's actually one in the middle of a word which I can't figure out. I don't see it even when looking at the native html via a label. Also do you know of a good explanation (video) of how to Email a file (pdf) as an attachment from a SharePoint library? (The second step of the operation) Best Regards, Paul
@ShanesCows
@ShanesCows 4 года назад
Hey Paul - I haven't seen the square boxes before. :(
@gamarschner
@gamarschner 5 лет назад
Hi Shane, First off thanks for the videos they've helped out tremendously. However, any suggestions on how to pull an image into the dynamic content flow in the above video? Appreciate the help!
@ShanesCows
@ShanesCows 5 лет назад
Covered in this video. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2rfAQe1kK8M.html
@celsocisneros3886
@celsocisneros3886 3 года назад
Hi Shane! this video was so helpful. I am able to create the HTML but when I convert to PDF and open the file I get a message that it doesn't have a preview and similar message when I download it to view. THANK YOU SO MUCH!
@ShanesCows
@ShanesCows 3 года назад
You have a typo in your html most likely. Thaw conversion is very grumpy
@sivasandrathulasidas1053
@sivasandrathulasidas1053 3 года назад
Hello Shane - Great video! Thank you so much for all the videos you put up, helps a lot!!! I have a question, I have a rich text box which our end users want to add image along with the text (not always and not the names number of images). What can I do in this situation?
@ScottRosenbloom
@ScottRosenbloom 4 года назад
Hey Shane. Great video! Do you have a video (or other resource) on sending more than one value from PowerApps to Automate, to be able to then insert them into separate cells in the table (for eventual conversion to PDF)?
@ShanesCows
@ShanesCows 4 года назад
This video shows you how to send a whole collection over to Automate - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-imhxy3REgXc.html
@latrobe15
@latrobe15 6 лет назад
Awesome video Shane, thanks. FYI I needed to look at the HTML a different way as I need data from sharepoint. All is good until I do the PDF. I use Compose -Select and Compose-Create HTML to setup the file. When I run I get no errors, the HTML output opens up to show I have the table OK, but the PDF output simply shows all the code as text not as a table as desired. I found I had to add concat('',outputs('Compose'),'') in order to achieve the proper output. All I need now is to set the PDF to Landscape as my table is too large (any ideas)
@ShanesCows
@ShanesCows 6 лет назад
Yikes. Sorry, I am not great with HTML. I have to imagine it is possible but not sure. Sorry.
@latrobe15
@latrobe15 6 лет назад
Thanks Shane. This may all become moot as the Flow developers have started working on a print solution for powerapps. In relation my problem I had above it was still your video that put me in the right direction as your sample HTML code had the beginning and end that was required to add to the flow HTML code. It is strange as that code is not needed when doing an email in flow. I guess that is what the outlook setting IsHTML does.
@ShanesCows
@ShanesCows 6 лет назад
So many nuances. 😑 Makes it interesting. 😻
@manuel_antonio_rivera_socarras
@manuel_antonio_rivera_socarras 4 года назад
Hi Shane, I love it your video ...still my flow is not working but I could do it. Thanks for share yours knowledge. Thanks a lot.
@ShanesCows
@ShanesCows 4 года назад
Glad to help. 😀
@teaners26
@teaners26 6 лет назад
Shane your videos are AWESOME! They have helped so much. I have successfully gotten this to work - the picture since there is the bug. The one snag that I am running into is that I am creating a button in powerapps to start the flow (like the video) and then a popup in powerapps that provides a web-link to the file. It works fine for me but when someone else uses it the flow creates the file in their personal one drive folder and not the shared one drive folder that the link opens. Do you have any ideas how to get this to work?
@ShanesCows
@ShanesCows 6 лет назад
You just need to look at your create file action. You control the connection.
@jamaalsimpson4001
@jamaalsimpson4001 2 года назад
Hey Shane, Great video's I'm a big fan. Quick question how would I get multiple text inputs into the PDF. Example you've done it for chewys cup amounts for Tuesday but how about Wednesday Thursday and Friday.
@chasestephenson4501
@chasestephenson4501 3 года назад
Hi Shane, Great stuff I really get a lot out of your videos! Is there a limit to the amount of HTML you can put into the concat function in a flow? I have a one page doc worth of HTML and it looks to be fine but flow will not take it.
@ShanesCows
@ShanesCows 3 года назад
I think the limit is around 1 MB of HTML content in Flow
@SiesMan1
@SiesMan1 5 лет назад
Great Video Shane! One question though, how would you send multiple feeds back to flow for the HTML from PowerApps. In your case, you had one field you sent through, what if you want to dynamically add another line to that grid for the next day with all 3 it's values coming from PowerApps input. Thanks.
@ShanesCows
@ShanesCows 5 лет назад
You can ask in PowerApps as many times as you want.
@olrac158k
@olrac158k 5 лет назад
@@ShanesCows Can i please know how i can do this in flow? Thanks!
@jeffersonromero366
@jeffersonromero366 5 лет назад
thank you so much!!!! all your videos are very helpful .. but my questions is if exist a way to create a PDF file in landscape view??.
@ShanesCows
@ShanesCows 5 лет назад
Not that I know of.
@AhmedNaseem
@AhmedNaseem 4 года назад
Hi Shane, I have been following your videos and are very helpful. Just a quick question, have you figured out a way to send a link back to power apps so we can download the created pdf from the App?
@ShanesCows
@ShanesCows 4 года назад
Yes in Flow there is a respond to Powerapps. This video shows exactly that ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ovLIwnj6QjU.html
@elierh442
@elierh442 5 лет назад
Dude you are the best! You make the learning process easier and enjoyable. keep the hard work!!
@ShanesCows
@ShanesCows 5 лет назад
Thank you. I will. 😀
@mds2672
@mds2672 5 лет назад
Anyone looking for a low tech work around can try this 1)On your powerapps screen select the gear icon and choose fit to screen 2) right click and choose print 3) choose save as PDF, then edit the layout 4) click the more Settings and choose the paper size and scale that will best fit your screen 5) uncheck headers and footers ( to disable all the annoying text and dates that will appear on your page from web printing) 6)check background graphics ( to show all your logos and images) Then just save the file and you now have a perfect PDF replica of your screen. Hopefully this saves someone the endless hours of frustration that I had to endure trying to print to PDF
@ShanesCows
@ShanesCows 5 лет назад
Thanks
@joe_view_only235
@joe_view_only235 4 года назад
Amazing video super helpful! One quick Q - after creating the PDF, is there anyway to have it automatically open for the end user?
@ShanesCows
@ShanesCows 4 года назад
Get the link in your app and use the Launch function. 😀
@ayushisharma4188
@ayushisharma4188 3 года назад
@@ShanesCows What if this link cannot be shared with anonymous users. Because of restricted access of one drive.
@andyl2895
@andyl2895 2 года назад
Hey Shane, your videos are a real life-saver, thank you! I built a Flow just like in your video, but the PDF part of the OneDrive connector is still in Preview state (and probably will be forever) and my IT department wont let me put this into production. I looked into 3rd Party connectors, but we cannot use them because they're mostly American companies who dont comply with GDPR (PDF will contain sensitive company data). I'm now building an Azure Function which does just the same, what a hassle!
@PolishTaekwondo
@PolishTaekwondo 5 лет назад
hi Shane, that's a great knowledge. What if I want to only add all choosed buttons or entered text WHEN send button is clicked? For example I have 4 buttons where person can choose and option and two text fields where he can enter some details.
@ShanesCows
@ShanesCows 5 лет назад
Should be possible. What have you tried?
@julmasson6403
@julmasson6403 3 года назад
A.M.A.Z.I.N.G !! saved me hours of endless training, forever grateful ;)
@ShanesCows
@ShanesCows 3 года назад
Glad to help. 😀
@parkercopeland9069
@parkercopeland9069 3 года назад
Great Video! Got a new subscriber. I'm running into an issue tho. Lets say two different logos need to be displayed in your demo depending on a Boolean. How would I go about doing this?
@strikermanten
@strikermanten 4 года назад
Hi Shane, your videos have enabled me to produce a few apps and flows and my work colleagues think i'm amazing! The problem I have is with the image process in this tutorial in that I do not have the option to add dynamic content and then the option to add a function (fx). Instead I get blue (OD) and Purple (flow) icons with text. These are similar because if I hover the OD icon/text I can see it refers to "body('Get_file_content')". I suspect i'm using a different Sharepoint version, but would I still need to input dataUri( before the blue OD icon/text? I've tried with and without but cannot get the image to show. Thanks in advance!
@ShanesCows
@ShanesCows 4 года назад
Hmm. Not sure i will have to revisit and see if they broke something
@sanjeevtiwari17
@sanjeevtiwari17 4 года назад
Hey Shane, This video is very helpful.My question is this can we also generate power point slide when a new item is created?
@ShanesCows
@ShanesCows 4 года назад
Not sure. I have never tried to make a ppt slide
@huntelaar6798
@huntelaar6798 4 года назад
Hi Shane, Thanks for the awesome video. It's very informative. However I'm struggling with the convert pdf function. I'm using a grid format for my HTML code. Everything shows up properly when looking at the .HTML file that is generated through power automate but the PDF looks wonky. It would seem that it doesn't recognize the CSS? I've tinkered around quite a bit with this and it seems that tables are the only that that formats well. Does the PDF converter not work well with CSS? Thanks again, your tutorials are the best.
@ShanesCows
@ShanesCows 4 года назад
Hi Hunter - It depends. 😑 The conversion process is so grumpy. With HTML there is 10 ways to do most things so i just keep trying different ways till i find one it likes. It is not fun but I usually can find the answer.
@katherinewright4137
@katherinewright4137 4 года назад
This video was super helpful! I used to to in an approval flow, so the approval could quickly view a collection (based on a shopping cart). I would like to take the approval flow a step further and, if approved, create a SharePoint list entry with columns for Item Name, Quantity, Campus, Cost. I have all of this info in a collection, and in an HTML control that I used to create the PDF. Is there a way to use that information to generate a SharePoint list row?
@ShanesCows
@ShanesCows 4 года назад
You need to send the data to flow and use the create item action. Should work fine
@santhoshvm7621
@santhoshvm7621 5 лет назад
Hey Shane, Great video. I wanted to know if there is any option to write more fields to PDF SharePoint? Currently you have one field in PowerApp as an example and my requirement is for 26 fields. Any tip would be helpful.
@ShanesCows
@ShanesCows 5 лет назад
Build all the html in your app then just send it. Lots of ways to do this.
@jackdavid23
@jackdavid23 4 года назад
@@ShanesCows awesome video as usual. I was able to follow everything. Now I have about 20 fields from powerapp which I built in HTML but the value for each field is different. Can we use the expression ', triggerBody()['Createfile_FileName'] ,'to include multiple data/fields from powerapps content in to flow? Video timeline 21:13 you showed how to update a field in HTML in Flow. I tried duplicating this to another field and HTML and PDF output just copied the first value.... or does the coding need to happen from OnSelect like VideoMakePDF.Run(TextInput1.Text)? How do we include multiple data here so we can reflect in Flow?
@hokemspitter
@hokemspitter 5 лет назад
Hi Shane, A lot of really good stuff!!! I have a question: I really need to have a word document in a SharePoint document library converted to PDF. Can you build out such a video or describe what if at doable must be done for that? Thanks in advance!
@ShanesCows
@ShanesCows 5 лет назад
Have your Flow move the file to OneDrive, then you can convert it using the same method. Then you can delete it from OneDrive.
@umeshkunvar4439
@umeshkunvar4439 3 года назад
Thanks you! Nice video for starters!! In the example we are sending only one field value from PowerApps to flow. What if we want to send multiple field values from PowerApps to flow, how do we refer to those different values in the HTML.
@ShanesCows
@ShanesCows 3 года назад
Sorry I am slow. You will need to ask in Power Apps, inside your flow, multiple times.
@pwallandstuff
@pwallandstuff 5 лет назад
Hi Shane, Great video! I have followed your steps to make multiple different solutions for my company. I have noticed that there are many html style options that work when using the W3 Tryit Editor, but do not work once the HTML is put into the Flow. Do you know why this is? Does flow use it's own HTML compiler that has a different library of actions? Thank you.
@ShanesCows
@ShanesCows 5 лет назад
The PDF converstion Action is very picky about HTML. Sorry, just one of those things you have to fight your way through.
@kalliroi6182
@kalliroi6182 2 года назад
great video! thanks so much for explaining every step! Great job!
@ShanesCows
@ShanesCows 2 года назад
You're very welcome!
@MattWearmouth
@MattWearmouth 4 года назад
Hi Shane. Great videos! What is the best way to merge two pdf files using flow and or power apps?
@ShanesCows
@ShanesCows 4 года назад
Hey Matt. Sadly you have to use a 3rd party tool to merge PDFs. I have done it with Plumsail but there are several vendors.
@MattWearmouth
@MattWearmouth 4 года назад
@@ShanesCows thanks. We are trying out enchodian. Just about got it working today. Had a few issues with adding the file content dynamic content in the array variable. When I removed and readded (no other change) it eventually worked. Seemed to work and not work at random times
@EverydayCarrie
@EverydayCarrie 6 лет назад
Hey Shane, Great video with lots of solid information! I had a quick question about the flow. I am using this for a rec form, so the form saves to onedrive of the user who is submitting the request, what would be the best way to move this pdf to the SharePoint team site I need it to be located in? I have been researching and cannot find a definitive answer or solution. Any help will be greatly appreciated!
@ShanesCows
@ShanesCows 6 лет назад
You should be able to use the create file in SharePoint action. What have you tried that isn’t working?
@HowToExcelBlog
@HowToExcelBlog 6 лет назад
Can you skip the HTML and send your collection into a table in an Excel template, then convert that Excel file to PDF?
@ShanesCows
@ShanesCows 6 лет назад
I don’t know how to convert excel to pdf programmatically.
@ezikielchoke
@ezikielchoke 5 лет назад
Hello, Shane. Thank you very much for all of your videos. They are awesome! I am constantly telling colleagues interested in PowerApps to check out your page. Question for you, I am following along with your video and the flow expression is working just fine until I paste in the PowerApps trigger syntax, then I get a "The expression is invalid." error. I even checked the expression with the ' , ' as you do in the video. The syntax is copied and pasted directly from Flow (as you do with everything after the "x"). Any idea what can be causing this?
@ShanesCows
@ShanesCows 5 лет назад
Hard to say. Make a new comment with your formula and I can try to help.
@ezikielchoke
@ezikielchoke 5 лет назад
@@ShanesCows Thank you for taking the time, Shane. I get the error when pasting the field under "Requested Date": concat(' table, th, td { border: 1px solid black; border-collapse: collapse; } th, td { padding: 15px; text-align: left; } table#t01 { width: 100%; background-color: #f1f1c1; } Needs Assessment Scope of work: Testing Cost: Testing Knowns: Testing Tool used (y/n): Testing Turn Around time (weeks): Testing Information: Testing Number: Testing Category: Testing Sample: Testing Test / No Test: Testing Requested Date: ’, triggerBody()['Createfile_FileContent'],‘ Items: Testing ')
@DeadPixelZombie
@DeadPixelZombie 5 лет назад
THANK YOUU AGAIN! I've been having such trouble trying to combine powerapps and flow. Nothing is ever too simple - is it? :')
@ShanesCows
@ShanesCows 5 лет назад
You are welcome. :)
@jennylin6015
@jennylin6015 3 года назад
Thanks for your wonderful video, I got a lot of knowledge from your video. And for this topic, I have two question . Could I create file in SharePoint at first step when I create HTML context file? But I founded that there is no method to convert file to PDF from SharePoint directly, So if an apps need some people besides me to edit and generate a PDF file in SharePoint, where need to create html file at first? One drive only for personal I think, other people couldn't get access to edit. Could you give me some suggestion? The other problem is when I make a declaration for html file language is Chinese, but after file generated to PDF is mess code. So whether "html text "couldn't support Chinese language in Power Apps? Thanks a lot.
@ShanesCows
@ShanesCows 3 года назад
OneDrive works. It will create the first file in each user’s own OnesDrive. No issue
@jennylin6015
@jennylin6015 3 года назад
@@ShanesCows So I don't need to share my one drive to others? I have tried to shared with my one drive give someone, she could generated a pdf documents but no detailed information only showed" Show HTML text....." .But if I click "export pdf" will be success! So I'm doubt about whether there is something wrong with one drive access. Thanks for your kindly help.
@giselileticiasestari6650
@giselileticiasestari6650 5 лет назад
Great video, I'm learning a lot from them. My question is if I can generate the PDF in landscape mode? Do you have any idea that the htmltext of powerapps does not accept css?
@ShanesCows
@ShanesCows 5 лет назад
I don’t think you can. 😔
@Youffy23
@Youffy23 4 года назад
By any chance, unless you found out, do you know a way to "make it fit" the page then?
@mtamitolanga
@mtamitolanga 5 лет назад
Hi Shane thank for the video. I've tested this in our environment and it works very well. Is it possible to print 2 related SharePoint lists in one PDF, on one I want to pull the master data and on the other one I want to pull the details. Thank you
@ShanesCows
@ShanesCows 5 лет назад
Yes. You just need to make the html. 😀
@mtamitolanga
@mtamitolanga 5 лет назад
@@ShanesCows I've created the html file and it does pull the information from both the master and details however the information is not related meaning the printed information for my master doesn't not speak to the details. e.g invoice 007 header and invoice 0010 details
@ShanesCows
@ShanesCows 5 лет назад
you control the HTML. So it is up to you to relate them within the PDF. PowerApps provides all of the info now you need to write HTML to display records in a related manner.
@vntadp
@vntadp 5 лет назад
Thanks shane this was just what we needed and was really easy to consume. Just out of my ignorance, how to handle if we want all the records in a gallery like repeating table to be printed? I have tried by passing the variables to run the flow and it is only printing the last record in the gallery. can you please shed some light?
@ShanesCows
@ShanesCows 5 лет назад
Try this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bfXV_GXc_JM.html 😎
@amosp.godbyhighschool8054
@amosp.godbyhighschool8054 2 года назад
Thank you for the video. Everything works like a charm when I am logged in as the user that created the flow. The base files (logo, HTML, pdf) are all saved in the Share with Everyone OneDrive for Business folder. When I run the app/flow using a different account the flow fails on the getting the image file for the logo - says the resource cannot be found. That would be a permission thing right? But the file is in the Shared with Everyone folder and appears to open to all. Heck, I think they can even edit it. So, what am I missing?
@ShanesCows
@ShanesCows 2 года назад
The way I wrote this flow it is looking in the user who is triggering the Flows OneDrive for the file. :( Consider just hard coding the base64 in the flow or app like I talk about here. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bIne3DD3HAg.html One day I need to revisit these PDF videos. :)
@stonesupermaster
@stonesupermaster 2 года назад
Hello Shane! It's awesome all the work you're doing for us, thank you!! I wanted to ask how the procedure would change if I have different inputs for the pdf, for example a pdf about a cart from a marketplace. In my project I'm trying to generate reports for every business that's associated with any of the items in the shop cart and filtering the products for each report as needed, thing is as difficult as it hears o not that much?? Thanks in advance!!
@ShanesCows
@ShanesCows 2 года назад
Shouldn't matter the input. Create the HTML you want and send all of it to flow. Use conditionals aka If. :)
@stonesupermaster
@stonesupermaster 2 года назад
@@ShanesCows absolute legend ❤ thanks a lot, I'll try it tomorrow 🤝
@jabbasplace1
@jabbasplace1 5 лет назад
Hi Shane, Very nice videos I watch them all. Was wondering if you knew of a way to have the powerapps image pass through to flow and render properly on the pdf? I have several powerapps and flows generating reports but I cannot get the image to pass through. It shows in the HTML text box in my powerapps but not on the converted PDF. Any insights would be most appreciated. Thanks again for all of the great videos
@ShanesCows
@ShanesCows 5 лет назад
If the image is not working it is usually the Flow expression step in the video that isn't correct.
@manuelaferrer8257
@manuelaferrer8257 5 лет назад
Did you find a way to make this work? If so, could you explain? I’m having the same issue.. Thanks in advance!!
@manuelaferrer8257
@manuelaferrer8257 5 лет назад
My issue is in the single a double quotations. If I replace the double quotations from the HTML to single quotations in the powerapps HTML text, what do I do with the single quotations that surrounded the variable that I created in Flow to store the image from Onedrive?
@elizabethbadenhorst3556
@elizabethbadenhorst3556 2 года назад
This channel is so helpful!! Thank you.
@ShanesCows
@ShanesCows 2 года назад
You're very welcome!
@RRRin1.160
@RRRin1.160 4 года назад
Hi Shane, I am really loviong this series on PowerApps and Flow(Power Automate). However, I am seeing a lot of differences between your version, produced in 2018 and the PowerApps version out now (in 2020). One thing I cannot find regarding the PDF flow video, is what is the new name for the "Ask in PowerApps area and I also could not find the CreafFile_FileName variable either. Was it removed? Thanks!
@ShanesCows
@ShanesCows 4 года назад
Ask in PowerApps works the same way. Not sure why you aren’t seeing it. 😑
@RRRin1.160
@RRRin1.160 4 года назад
@@ShanesCows Hi Shane, I was able to find it. I think I chose the wrong Power Apps connector. Now I a working on gettibg the fields from my form into HTML so I can generate the PDF. Thanks!!
@chrisbartman5125
@chrisbartman5125 5 лет назад
Excellent tutorial... Any ideas on how to rotate the PDF orientation? (defaults to Portrait, need landscape).
@ShanesCows
@ShanesCows 5 лет назад
I don’t think you can. 😔
@johnmizell4683
@johnmizell4683 5 лет назад
Shane, thank you so much! One question and it may sound silly, is there anyway to include a CSS with this? Or any sort of styling rather than HTML?
@ShanesCows
@ShanesCows 5 лет назад
You have to experiment. I have made one that looks pretty nice. Just took elbow grease and experimenting.
@keldonmoodley7565
@keldonmoodley7565 5 лет назад
Yo the trick to get the expression value got me out my chair like no waaaaaaaaaaay! nice one Shane! I was always a hover and type kind of guy! Not anymore!
@ShanesCows
@ShanesCows 5 лет назад
Cool. Glad it works for you.
@carolblay
@carolblay 4 года назад
Shane, you are a saviour! Happy new year :)
@ShanesCows
@ShanesCows 4 года назад
Thanks Carol and right back at you. 😻
@garylynch2734
@garylynch2734 4 года назад
Hi Shane As per-usual a great informative video helping people like me :) Just a quick question i use a HTML template with {holdertag}s utilising individual Compose functions and Replace expressions. How do you add an image utilising this method?
@ShanesCows
@ShanesCows 4 года назад
Sorry never done that. 😔
@garylynch2734
@garylynch2734 4 года назад
@@ShanesCows ah well looks like i will have to find another way :(
@gabed06
@gabed06 3 года назад
That was worth watching, very helpful....
@ShanesCows
@ShanesCows 3 года назад
Glad to hear it!
@bryansilvafuquen
@bryansilvafuquen 5 лет назад
Hi Shane, great work as always and great video, but I have a question, how can I send the generated PDF to an email? Thank you.
@ShanesCows
@ShanesCows 5 лет назад
In Flow there is an action for send an email that allows you to attach files.
@RamReddy-cq1lf
@RamReddy-cq1lf 4 года назад
Hi Shane, Thanks so much for the great video. I had one question Is it possible to download a bunch of monthly bills in pdf from a legacy system in bulk, split them and send the same as attachments to the respective customer on the bill. Regards,
@ShanesCows
@ShanesCows 4 года назад
Maybe... not sure. Sounds complex but not sure if it would work or not.
@MsGeoffers
@MsGeoffers 3 года назад
Really helpful vid, thanks. I've used the trick of creating string variables to pass DataURI(file content) to HTML using Concat, which I'm then using in the body of an email to show a fancy logo. The final email renders beautifully in Outlook and in my personal webmail client, but not in Gmail. Would you have any idea why that might be?
@ShanesCows
@ShanesCows 3 года назад
Maybe try what I show in this video around base64? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bIne3DD3HAg.html
@MsGeoffers
@MsGeoffers 3 года назад
@@ShanesCows I really appreciate the help, thanks. I've been greedy and posted a follow-up question on that linked video :)
@mtamitolanga
@mtamitolanga 6 лет назад
Great video very useful. Just one question, am I able to convert SPO list to PDF. Thank you.
@ShanesCows
@ShanesCows 6 лет назад
You could. Just have to work your way through the content and pass it to the HTML.
@guyinazo
@guyinazo 6 лет назад
Another great useful topic...there are many times I need to create a dynamic filename (like with the date) and I am sure I could use Variable to create a string formatted the way I need and then Concat() to the rest of the filename.
@ShanesCows
@ShanesCows 6 лет назад
Glad it helped. :)
@paulmoody4599
@paulmoody4599 6 лет назад
Hey Shane, another awesome tutorial - have you found a way to use a web hosted image asset within the output PDF? It displays fine in the HTML generated but then errors in the PDF.
@ShanesCows
@ShanesCows 6 лет назад
I think I messed with that but now I am drawing a blank. Hmmm I don’t remember. Can you download the file first with Flow?
@paulmoody4599
@paulmoody4599 6 лет назад
Shane Young yeah, I managed to do that using flow, unfortunately I wanted to dynamically include a bunch of images. Annoying as they display in the generated HTML file. Thanks though.
@ceciliachan9616
@ceciliachan9616 2 года назад
HI Mr Young, thank you so much for your teaching to us. Is that you mean that a traditional HTML file with embedded jpg, png, docx. to PDF? and even using tag to display outlook email content in HTML?
@chrisbartman5125
@chrisbartman5125 6 лет назад
Excellent video content, easy to follow, great concept. I did, however, find what I believe to be a character limit on the expression field. I don't know the exact number, but my initial html code was too long to be valid. I did, eventually, get it to work after tinkering & removing several lines of code. Looking forward to more videos on PowerApps.
@ShanesCows
@ShanesCows 6 лет назад
Interesting. Thanks for sharing. I haven’t ran into that yet but when I dig in on this project I will see what happens.
@FabianT.-po9tt
@FabianT.-po9tt Год назад
Hi Shane, that`s a great video as always, thanks a lot !!! 🙂 In your example you`re passing only one information/field (= 9 cups) from Power Apps to Flow/Power Automate. How does the VideoMakePDF.Run(XXXXX) expression needs to look like if i want to pass multiple fields and how can i reference/select the various variables in the HTML code via the triggerBody() expression in Power Automate then? Thanks in advance.
@NICAMARCEL1
@NICAMARCEL1 4 года назад
@Shane Young, two years later ago you posted this video and I'm learning it now! :)
@ShanesCows
@ShanesCows 4 года назад
Awesome!
Далее
PowerApps Google Maps API - Build your first App
29:44
Cool Parenting Gadget Against Mosquitos! 🦟👶
00:21
Use the Power Automate v2 Trigger for Power Apps
19:09
PowerApps PDF from table data
29:05
Просмотров 102 тыс.
Show PDF files from SharePoint in PowerApps
13:06
Просмотров 36 тыс.
Power Apps Export to PDF
25:13
Просмотров 148 тыс.