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

Поділитися
Вставка
  • Опубліковано 15 жов 2024

КОМЕНТАРІ • 214

  • @MichaelDeBlasis1369
    @MichaelDeBlasis1369 5 місяців тому +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  5 місяців тому

      I love this so much! Great job! 🤩

    • @MichaelDeBlasis1369
      @MichaelDeBlasis1369 5 місяців тому

      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

  • @dacsch97
    @dacsch97 2 роки тому +2

    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!

  • @SharleneLe
    @SharleneLe Рік тому +2

    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 Рік тому +1

    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 🤩

  • @MichaelDeBlasis1369
    @MichaelDeBlasis1369 3 місяці тому +1

    I studied HTML code all week and I finally got this working Shane! TY Again! one more thing crossed off.

  • @javierospina1935
    @javierospina1935 11 днів тому +1

    Thanks!
    I am starting in this world of Power Apps and the videos have been very helpful.

    • @ShanesCows
      @ShanesCows  9 днів тому

      Awesome, glad to help on your journey. Be sure to check out training.powerapps911.com if you want more structured learning also. 😎

  • @pamsmith1635
    @pamsmith1635 Рік тому +1

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

  • @WiserGuy
    @WiserGuy 10 місяців тому +1

    Hi Shane, I really appreciate you putting this content out on UA-cam, 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  10 місяців тому

      The only luck I have had is inserting Page Breaks. ua-cam.com/video/YkSNg7B_rps/v-deo.html All of the other page manipulation stuff doesn't seem to work unless you use one of the 3rd party tools.

  • @muhammedirshaad
    @muhammedirshaad Рік тому +1

    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?

  • @williambrummett2130
    @williambrummett2130 Рік тому +1

    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. ua-cam.com/video/0xZ4fMJbLvk/v-deo.html

  • @EdSalinas-97
    @EdSalinas-97 8 місяців тому

    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!

  • @julessaundersonco6790
    @julessaundersonco6790 Рік тому +1

    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  Рік тому

      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. :) ua-cam.com/video/ovLIwnj6QjU/v-deo.html

  • @pepex90
    @pepex90 2 роки тому +1

    I love Power Apps. I hope back to Power Apps sometime. Greetings from Chile 🇨🇱

    • @ShanesCows
      @ShanesCows  2 роки тому +1

      Have a great day José! 🐶

  • @erikmoreau5183
    @erikmoreau5183 28 днів тому +1

    Great video as always. Thank you Shane. I'm wondering how I can use the title Label in PowerApps as the filename for the PDF.

    • @ShanesCows
      @ShanesCows  23 дні тому +1

      Set your flow up to Ask in Power Apps for the file name. Then pass the labels text as that input.

  • @lindakeefe6920
    @lindakeefe6920 2 роки тому +3

    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.

    • @JulianC-g2g
      @JulianC-g2g 2 роки тому

      same here

    • @Bibliotekr
      @Bibliotekr 2 роки тому

      Same here.

    • @elseb
      @elseb 2 роки тому +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:

  • @gstredny
    @gstredny Рік тому +2

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

  • @Worrelpa
    @Worrelpa 2 роки тому +1

    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 роки тому +1

      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.

  • @baoyuanluo8142
    @baoyuanluo8142 2 роки тому +1

    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 роки тому +1

      Yes, the Create File portion at the end (3rd step) can be created any where you want, like a SharePoint document library.

  • @DougLeamon
    @DougLeamon 2 місяці тому +1

    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  2 місяці тому

      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! 🤩

  • @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()

  • @nicholaiconstanti5175
    @nicholaiconstanti5175 2 роки тому +3

    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 8 місяців тому

      How can I also do this?

    • @steffturton9567
      @steffturton9567 6 місяців тому

      This is the bit I am struggling with- help us out Shane!

  • @Maverick-uw1nc
    @Maverick-uw1nc Рік тому +2

    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  Рік тому +1

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

  • @vaibhavnageshwaran3428
    @vaibhavnageshwaran3428 2 роки тому +2

    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

  • @PieceFairy
    @PieceFairy 2 роки тому

    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!

  • @aliahbasri7837
    @aliahbasri7837 10 місяців тому +1

    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  10 місяців тому

      ua-cam.com/video/bIne3DD3HAg/v-deo.html You can have multiple small photos, handle each one individually like the video shows.

  • @antoniomartinezjurado1223
    @antoniomartinezjurado1223 2 роки тому +1

    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 роки тому +1

      See if this video helps. PowerApps Send email - Everything you need to know about sending mail via Outlook and Power Apps
      ua-cam.com/video/vpYkOccwn4Y/v-deo.html I show getting emails from Dropdown which is similar idea.

    • @antoniomartinezjurado1223
      @antoniomartinezjurado1223 2 роки тому

      Thanks so much, Shane. Best regards from España.

  • @darkhorse7449
    @darkhorse7449 2 роки тому +1

    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  2 роки тому +1

      I have never tried the Download function but worth a go docs.microsoft.com/en-us/power-platform/power-fx/reference/function-download

  • @fitze87fatze13
    @fitze87fatze13 Рік тому +1

    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.

  • @SanaShaikh-jd3ld
    @SanaShaikh-jd3ld Місяць тому +1

    Hi shane! Using this same methodology can we build pdf using data from different SharePoint lists which are connected using referal ID. Actually my requirement is to build a payslip of the employees but i also want to display their leaves taken and leaves balance which is stored in another list. Could you please suggest me something regarding this??

    • @ShanesCows
      @ShanesCows  Місяць тому

      Yes, use the Concat function and adding looking or nesting as necessary. ua-cam.com/video/AnERfGIE8gw/v-deo.html

  • @LandscapeInMotion
    @LandscapeInMotion 2 роки тому +1

    Shane - you always bring the gravy!

    • @ShanesCows
      @ShanesCows  2 роки тому

      Happy to help. Have a great day. 🐶

  • @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?

  • @ginoginetto9389
    @ginoginetto9389 Рік тому +1

    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

  • @JenMayB
    @JenMayB Рік тому +1

    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  Рік тому +1

      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.

  • @dion4894
    @dion4894 Рік тому +1

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

  • @fanzfanzilla
    @fanzfanzilla Рік тому +1

    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?

  • @jmanbaluch008
    @jmanbaluch008 2 роки тому +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 роки тому +1

      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.

  • @arielamine5662
    @arielamine5662 Рік тому +2

    Does that method support CSS ? It would be great to have well formatted pdfs

    • @ShanesCows
      @ShanesCows  Рік тому +1

      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.

  • @soulaimanhatim7838
    @soulaimanhatim7838 2 роки тому +1

    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 роки тому +1

      I don't know. I have never tried. I don't have any good ideas off the top of my head. Sorry.

  • @jorgeluisleonaceituno5503
    @jorgeluisleonaceituno5503 Рік тому +2

    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? ua-cam.com/video/vpYkOccwn4Y/v-deo.html
      If you are trying to attach files to the PDF then I do not know how to do that. Sorry.

  • @JohnDoe-pe6yl
    @JohnDoe-pe6yl 8 місяців тому +1

    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  8 місяців тому

      Look at your html. You have a bad or missing tag most likely

  • @shinshae7882
    @shinshae7882 Рік тому +1

    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  Рік тому +1

      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 🎉

  • @parranoic
    @parranoic 2 роки тому +1

    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 роки тому +1

      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

  • @vinosuresh6678
    @vinosuresh6678 2 роки тому

    Shane, Thanks for the useful videos. Request you to share a video about the Indian Rupee comma format

  • @jett27
    @jett27 2 місяці тому +1

    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  2 місяці тому +1

      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 2 місяці тому

      @@ShanesCows Gotcha. Appreciate the response!

  • @angrybatvoice
    @angrybatvoice 2 роки тому +1

    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 роки тому +1

      $-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 роки тому +1

      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 роки тому +2

      Very fun Kristóf. I love With so much. 😍

  • @videobewerker111
    @videobewerker111 8 місяців тому

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

  • @peterspencer7317
    @peterspencer7317 Рік тому +1

    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  Рік тому

      You need to use concat Concat(combobox1.SelectedItems, Value, “;”) that would write them semicolon separated.

  • @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) "

  • @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.

  • @lukewolton1494
    @lukewolton1494 2 роки тому

    Great video, this might just solve two issues/requirements I currently have with one apps.

  • @jamiematthews3052
    @jamiematthews3052 Місяць тому +1

    I have used this code but the format doesn't PDF the entire HTML page? what am i doing wrong?

    • @ShanesCows
      @ShanesCows  Місяць тому

      What does your code look like? I don't follow. It is an art getting it to look exactly how you want. Or, if you are struggling with page size check out this video on Page Breaks ua-cam.com/video/YkSNg7B_rps/v-deo.html might help.

  • @ealexander2488
    @ealexander2488 2 роки тому +1

    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? ua-cam.com/video/JMhVtII5hQs/v-deo.html

  • @jameslbetteridge
    @jameslbetteridge 11 місяців тому +1

    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  11 місяців тому +1

      James try this video. You need dthe base64 and I don't think the lookup is getting what you think it is. :) ua-cam.com/video/bIne3DD3HAg/v-deo.html

  • @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

  • @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!!

  • @dileep_kumar_s
    @dileep_kumar_s Рік тому

    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.

  • @Escillo
    @Escillo Рік тому +1

    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?

  • @jonathanlucas9821
    @jonathanlucas9821 2 роки тому

    Another awesome video, thanks! Do you have a video on how to make the file name dynamic?

  • @jesugiovanny
    @jesugiovanny 2 роки тому

    Thanks Shane, please continue share your knowleadge. Rgds

  • @JustGetYoursJust4Fun
    @JustGetYoursJust4Fun Рік тому +1

    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

  • @mavisqing9444
    @mavisqing9444 2 роки тому

    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.

  • @mustafahussainmohsin320
    @mustafahussainmohsin320 2 роки тому

    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?

  • @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

  • @stefanzervos7412
    @stefanzervos7412 2 роки тому +1

    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 роки тому +1

      Stefan did you see this video where I dive into Table Data? ua-cam.com/video/bfXV_GXc_JM/v-deo.html You can apply a Filter inside the Concat and get what you want. :)

  • @mkavo
    @mkavo 2 роки тому

    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!!

  • @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!

  • @getmighty8619
    @getmighty8619 11 місяців тому +1

    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  11 місяців тому

      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.

  • @wolfcat007
    @wolfcat007 Рік тому +1

    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  Рік тому +1

      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::

  • @oluwatobiyusuf
    @oluwatobiyusuf 2 роки тому

    Thanks for another great video. I will definitely try out the image part

  • @getmighty8619
    @getmighty8619 11 місяців тому +1

    Conversion of this file to PDF is not supported. (Sandbox_HtmlTransform_InvalidOperation / An exception occurred while executing within the Sandbox) :(

    • @ShanesCows
      @ShanesCows  11 місяців тому

      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 11 місяців тому

      It doesn't allow flexbox it looks like :(@@ShanesCows

  • @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 :(

  • @bzqp2
    @bzqp2 Рік тому +1

    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!

  • @Elwood55312
    @Elwood55312 Місяць тому +1

    How would you then move that file from OneDrive to a SharePoint library in flow?

    • @ShanesCows
      @ShanesCows  Місяць тому

      YOu don't have to move the file. The 3rd step you can create the file in SharePoint or any other file location. The Create HTML file and Conver file actions have to be OneDrive for Business, then you can do anything you want. :)

  • @martinwhite2369
    @martinwhite2369 8 місяців тому

    Hi @shane - how would you do this if you wanted to produce a report for each employee in one click?

  • @TheChriswalton31
    @TheChriswalton31 20 днів тому

    Excellent video. Is there a way to either split the psf output into 2 columns on 1 page, or to justifiy some to the left and some to the right on the same row. I have uswd style left and float right but that doesnt seem to work when converted, same with setting width and height to an image

    • @ShanesCows
      @ShanesCows  20 днів тому +1

      Yes, you just need to try a bunch of different stuff. The easiest way is to make a table and use inline styles. Let your table define the layout and put your pieces in. Float doesn't work I don't think. Images sizes can be set with width and height px I am pretty sure.

  • @MichaelDeBlasis1369
    @MichaelDeBlasis1369 5 місяців тому +1

    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  4 місяці тому

      You might enjoy this video where I have some concat chaos fun for html :) ua-cam.com/video/AnERfGIE8gw/v-deo.html

    • @MichaelDeBlasis1369
      @MichaelDeBlasis1369 4 місяці тому

      Swweeeeet! TY!!!! PS. I am very close in prucring funds for your classes. ;)Chat soon I guess.@@ShanesCows

  • @yacobmusic
    @yacobmusic Рік тому +1

    Thanks Shane, you're the master!

  • @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

  • @amrkalammansoori4411
    @amrkalammansoori4411 5 місяців тому

    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!!🙂

  • @Artofhandembroidery9862
    @Artofhandembroidery9862 Рік тому

    can you explain about how to create pdf without using one drive or any third-party participation in power automate

  • @nadyranakylla4426
    @nadyranakylla4426 Рік тому

    Hi, can i know how to send email dynamically based on manager name that input in powerapps?

  • @utoroprincewill7808
    @utoroprincewill7808 2 роки тому +1

    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.

  • @GregCo72
    @GregCo72 2 роки тому +1

    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. ua-cam.com/video/bfXV_GXc_JM/v-deo.html

    • @autofxusa9965
      @autofxusa9965 2 роки тому +1

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

  • @nh-eu2lg
    @nh-eu2lg Рік тому +1

    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.

  • @MichaelDeBlasis1369
    @MichaelDeBlasis1369 4 місяці тому +1

    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  4 місяці тому

      I like it

    • @MichaelDeBlasis1369
      @MichaelDeBlasis1369 4 місяці тому

      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

  • @supriyochatterjee4095
    @supriyochatterjee4095 2 роки тому +1

    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 роки тому +1

      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. ua-cam.com/video/49O284deOAI/v-deo.html

  • @NWulff86
    @NWulff86 2 роки тому

    Hey Shane or other knowledgeable people. Which step of the conversion is the limiting factor for 2MB?

  • @MrAbueslam
    @MrAbueslam 2 роки тому +1

    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
      ua-cam.com/video/YkSNg7B_rps/v-deo.html

    • @MrAbueslam
      @MrAbueslam 2 роки тому

      Thanks for Youth reply , much appreciated

  • @davidoddy4668
    @davidoddy4668 Рік тому

    Is the file comvert still only a 2mb limit?

  • @putriayunurbayti1393
    @putriayunurbayti1393 2 роки тому

    Thank you for your new lesson.. that was awesome !!

  • @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 роки тому +1

      Resolved it, just used data card value instead of gallery selected. 👍

    • @ShanesCows
      @ShanesCows  2 роки тому

      Glad you got it Allan

  • @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 роки тому +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.

  • @LindaJohnson-vy1xg
    @LindaJohnson-vy1xg Рік тому

    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 Рік тому +1

      I found an answer that worked. " &Concat(Gallery1.Selected.ViolenceTypes.Value, Value &", ")& "

    • @ShanesCows
      @ShanesCows  Рік тому

      Good Job Linda. i was going to answer Concat. :) Glad you found it.

  • @mtamitolanga
    @mtamitolanga 2 роки тому +1

    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 роки тому +1

      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.

  • @jacksonbrumbaugh9706
    @jacksonbrumbaugh9706 Рік тому +1

    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  Рік тому +1

      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

  • @getmighty8619
    @getmighty8619 11 місяців тому +1

    Is there a version of this that doesn't explain HTML?

    • @ShanesCows
      @ShanesCows  11 місяців тому

      Sorry, you need the HTML skills to make PDFs so I taught them.

  • @deividspiv6659
    @deividspiv6659 2 роки тому +2

    how many pdf can i save in a Sharepoint list?

    • @ShanesCows
      @ShanesCows  2 роки тому

      A lot. 😎

    • @deividspiv6659
      @deividspiv6659 2 роки тому

      i need to save the pdf from all the company in the next 3 years it can be possible?

  • @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.

  • @deividspiv6659
    @deividspiv6659 2 роки тому +1

    Can i save the files in a sql list? 👉👈

    • @ShanesCows
      @ShanesCows  2 роки тому +1

      You can but I don’t recommend it. Saving files to SharePoint doc library tends to work best.

    • @deividspiv6659
      @deividspiv6659 2 роки тому

      Thank you so much Shane! you're so great!

  • @freshrain777
    @freshrain777 2 місяці тому +1

    Thank you

    • @ShanesCows
      @ShanesCows  2 місяці тому

      Happy to help. Have a great weekend!