Power Apps PDF Function Introduction | Create PDF Documents from Screens, Galleries & Containers

Поділитися
Вставка
  • Опубліковано 8 лип 2024
  • Power Apps Tutorial video introducing the new PDF function.
    Power Fx PDF function allows us to create PDF documents directly from PowerApps screens, galleries and containers.
    The generated PDF Blob can be leveraged to showcase the PDF in a PDF Viewer control in Power Apps, or send an email with PDF File attachments from Power Apps or save the generated PDF File to a data source like SharePoint Document Library with the help of Power Automate flow.
    PDF function video in Power Apps covers the following:
    ✅ PDF Function introduction
    ✅ PDF function options (Orientation - Landscape or Portrait, Size - Paper Size A1,A2, etc., Margin, DPI and ExpandContainers)
    ✅ PDF function Expand Containers (Shows all gallery items, can be used for Scrollable screen, form control, DataTable, etc.)
    ✅ Generate PDF from Power Apps Gallery or Collection or Data Table
    ✅ Generate PDF from Power Apps Screen
    ✅ Generate PDF from Power Apps Container
    ✅ Generate PDF from Power Apps Form Control
    ✅ Send PDF as email attachment from PowerApps
    ✅ Save PDF generated in Power Apps to SharePoint
    ✅ Generate PDF in PowerApps from SharePoint List Item Attachments (Camera, Pen Input, Upload Picture).
    #PowerApps #PDF #powerfx #sharepoint
    Keeping up to date with the latest on the Power Platform is a challenge & I hope this video series has you covered on the recent updates.
    📝 Make sure to set App Authoring Version to latest available and check for settings to enable PDF Function feature.
    Helpful Links 🔗:
    New Power Fx Function - Create a PDF from Power Apps with PDF functions
    mofumofupower.hatenablog.com/...
    Power Apps SharePoint List Attachments | Save Camera Pictures, Pen Input & Images
    • Power Apps SharePoint ...
    Table of Contents:
    00:00 - Introduction to PDF Function in Power Apps
    00:41 - Power Fx New PDF Function definition
    01:32 - Generate PDF from Screen
    and Display in PDF Viewer
    02:33 - Generate PDF from Gallery
    02:56 - PDF Function Options
    04:12 - Expand Containers in Power Apps
    05:15 - Send PDF as Email Attachment from Power Apps
    07:24 - Generate PDF From Container
    08:28 - Generate PDF from SharePoint List Item Attachments
    11:05 - Generate PDF From Multiple Controls
    (Container)
    12:03 - PDF Function in Action
    12:24 - Generate PDF from Power Apps
    & Save PDF File in SharePoint Document Library
    16:01 - Subscribe to Reza Dorrani channel
    🤝 Let’s connect on social:
    🔗 Reza Dorrani LinkedIn: / rezadorrani
    🐦 Reza Dorrani Twitter: / rezadorrani
  • Наука та технологія

КОМЕНТАРІ • 805

  • @greatkingrat
    @greatkingrat Рік тому +48

    The quality of the videos, the speed of the delivery and the content has, in my opinion, jumped to a whole other level. These videos are very professionally put together. The animated marker that you're using looks great. Keep it up and a huge thanks for taking the time to inform and educate us.

    • @RezaDorrani
      @RezaDorrani  Рік тому +9

      Wow, Thank You so much! Your feedback has made me so happy.
      A lot of effort goes into creating and editing the content.

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

      @@RezaDorrani it shows! Thank you for your hard work and for sharing your knowledge!!!

  • @ReinerKnudsen
    @ReinerKnudsen Рік тому +6

    Honestly: I didn't think you could get any better. But this video is so incredibly full of new things to learn beyond the actual PDf function. Thanks for taking the time to create and share this video!!

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

      Wow! Thanks for the awesome feedback Reiner.

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

    Just want to thank you as always for helping me learn so many new features that are hard to keep up with. You are a rockstar!

  • @kristoftorres
    @kristoftorres 10 місяців тому +2

    Hi Reza. I just finished developing my first Power App and used many of the functions you describe in many of your videos. I spent almost a month learning Forms, Galleries, relational sharepoint lists, Patch, and finally PDF(). It is an app that will serve my wife's nutritionists clinical practice. I also developed a few basic apps for my construction management company and people really liked them and adopted them quickly as a standard business practice. I want to thank you for your videos as they have truly been an inspiration to learn and put into practice the concepts you explain so clearly. I feel that I am standing on the shoulders of giants.

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

      I'm thrilled to hear about your successful Power App development journey. It's amazing to see how you've applied the concepts from my videos to create practical solutions. Keep up the fantastic work, and remember, the learning journey is ongoing. Best of luck with your future endeavors.

  • @jbo1253
    @jbo1253 Рік тому +3

    Another Great Video Reza! As others have said, you are consistently creating very valuable and easy to understand content. In addition to improved user experience this improved my app performance and reduced number of steps in power automate from around 25 down to just 3. I really appreciate all that you do. Thank you!

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

      Thank You for the feedback and glad to hear about the performance improvements.

  • @cristyanrattis7032
    @cristyanrattis7032 11 місяців тому +3

    Reza, here in Brazil we're always talking about the meme "there's always a indian guy on youtube to teach you something you need".
    But your more than that, your a professional, educator and a live saver. A lot of your work here on this platform, helped me to improve a good part of my business process.
    Thank you so much!

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

      Thank You for all the 💗 & support

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

    Como siempre, muy bueno. Gracias Reza!!!

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

    Hi Reza, Thank you for a detail and clear explanation . Always enjoy your videos and learn new things. Really appreciated!

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

    Everything Reza does is fantastic. I've been too busy this past summer to even look at Office365 stuff. This winter I'll be able to finally finish some Power Apps and Flow projects

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

      Thank You Carl

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

      @@RezaDorrani Telling facts.

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

    Thank you Reza, your videos are always great!

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

    Thanks a lot Reza, keep up the good work and share of all these functionalities that, as I'm seeing, many of us don't know if it wasn't for a video like yours. Thanks!

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

      Most welcome and thanks so much for watching the videos

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

    The best PowerApps channel.

  • @ashrafjavali2841
    @ashrafjavali2841 6 місяців тому +2

    Dear Mr. Reza, you are always my barrier breaker in my Power Apps journey, thank you so much for this video.

  • @365g
    @365g Рік тому +4

    Power Apps just keeps getting better and better. Love this feature, thanks for sharing Reza 👍

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

      Glad you liked it! Thanks for watching Gerard.

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

    Reza, your job is amazing! I'm glad you share your knowledge with us!!

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

      My pleasure! I enjoy the process of creating content.

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

    That was simply great! Thanks Reza!!

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

    Thank you, Reza. Saved my day !!!

  • @user-wj8du7cx6b
    @user-wj8du7cx6b 4 місяці тому

    Mr Reza, thanks again! You're the power apps goat! ⭐

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

    Thank you!
    I hope they keep adding more pdf functions in the future. Like putting a text or image to an existing pdf file.

  • @MohammadAli-ts2ev
    @MohammadAli-ts2ev Рік тому +1

    You have always been awsome with the content you cover. Thank you Reza for your efforts

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

    👏👏👏 Thanks for this. I just added a major enhancement to one of my projects.

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

      Glad to know that! Thanks so much for watching

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

    Really great style of explanation and implementation , thank you man!

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

    The way you explain makes the topic more understandable and interesting. I always follow your channel to update my self related to powerapps and power automate. Keep going. You always rocks buddy 🙂

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

    Super love this video. Much easier than I did through Power Automate. Thanks for your sharing Reza. ❤

  • @aminabintiali-470
    @aminabintiali-470 Рік тому +1

    great video Reza. TYVM! cheers!

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

    These videos are amazing, the presentation and how it's explain. These app seem great. do you have any video that shows them in detail. I've watching a lot of your video and also learning a lot from you. I think you're probably one of the best out there when it comes to the power platform. Thank you and keep putting great stuff out there

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

      Thank You so much for your kind words.
      I do have a detailed video on responsive design with help desk app - ua-cam.com/video/1o2L0DADzKQ/v-deo.html and gallery designs - ua-cam.com/video/bnC8u3gdWss/v-deo.html

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

    Most awaited

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

    Saving my day as always! thanks a lot my dear friend!

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

    This is awesome!!!

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

    Simply impeccable! what an excellent video!

  • @RanjitSingh-xk9sb
    @RanjitSingh-xk9sb Рік тому +5

    Thank you for this great video. This works with Customized Sharepoint forms as well. I added the SharePoint form inside the container and used this formula PDF(yourContainerName,{ExpandContainers:true})). Make sure PDF button is outside the container and Reorder = Bring to front.

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

      Thanks Ranjit for sharing the SharePoint customized list forms scenario.

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

      Thank you, I was going mad to find a solution.

    • @RanjitSingh-xk9sb
      @RanjitSingh-xk9sb Рік тому

      @@im02bad this PDF function doesn't work well for Rich text or mutiline text controls. Since it is an experimental function, hopefully it will improve in the future.

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

    Thank you... you save me, man... very thanks!!!

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

    Huge help with this, was looking for a solution to a problem and this was great information to understand how to use this feature to accomplish what I was after.

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

      Glad to hear that! Thanks for watching

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

    This was a really great video, thanks Reza! I hope the product team can eliminate the need for flow to save or download the converted PDF file!

  • @timothymathesii5838
    @timothymathesii5838 Рік тому +9

    Amazing Function to use! Hopefully in a future update they will be able to auto shift gallery items so they do not get split in half across different pages.

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

      Great feedback! I will let the team know.

    • @FleedX
      @FleedX 10 місяців тому

      @@RezaDorrani any solution for this? I need professional invoices that can be many pages long, I cant have values being cut in half

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

    Thanks Reza. A great video once again. Well explained👍👍🤗.This will make my life much much easier. 😄Thank you so much.👍👍🤗🤗👍

  • @georgegualda4262
    @georgegualda4262 Рік тому +3

    Reza, Thank You for a very detail and clear explanation of this new feature. Always enjoy your videos. Hopefully we will see in the very near future UI/UX videos featuring Figma to PowerApps option.

  • @venkatasubbaraopolisettymv3802

    As Usual you nailed this feature with perfect explanation and easy to understand language my dear friend Reza even a common man like me can understand in a cleaner way. Keep doing videos like these.

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

      So happy to hear the feedback! Thank You so much for watching.

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

    Great content like always. Thanks Reza :)

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

    Great tutorial. I spent 24 hours trying to get the PDF stored in sharepoint document library. Thanks for detailed tutorial.

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

    Thanks. You've helped me a lot learning power apps keep up the good work.

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

      Glad to hear that! Thanks for watching the videos.

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

    Thank you for the fantastic video.

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

    Thanks for another great video

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

    Hi Reza, once again amazing video and with simple and details explanation.

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

    Thank you very much @Reza for all the explanations, demonstrations and tricks, you are great🙂

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

      My pleasure!

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

      @@RezaDorrani please I have a question: what is the solution for hiding an icon during printing in PDF (example icon on sceen we set Visible --> "Not(screen.printing") but for an icon on the container does not work "Not(container.printing), thank you in advance

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

      @@youtube_Salim Printing in PDF? Print and PDF are 2 separate functions.
      Screen.Priniting is specific to print.
      For PDF, idea would be to set a variable before calling pdf function, use value of variable to hide things on screen, then call pdf function and then reset the variable.

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

      @@RezaDorrani Thank you for this clarification and thank you again for this great idea to hide the icons before the PDF function. 😇

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

    Thanks Reza!!. very useful content.

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

    Very nice content! Tks for sharing!

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

    You are a Hero my good sir.

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

    Thanks. Really helpful

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

    I do have PDF in experimental section at this time. Can't wait to have it !

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

    You are my teacher thank you sir .

  • @TienNguyen-xr4se
    @TienNguyen-xr4se 7 місяців тому +1

    Thank you so much for your valuable sharing knowledge.

  • @jijojohn-jijos
    @jijojohn-jijos 9 місяців тому +1

    Thanks Reza very well explained , Thank you

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

    This is a masterpiece content.

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

    This is fantastic.

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

    Triple Thank You.

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

    Great explanation. Thanks Reza

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

      Most welcome and thanks for watching

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

    I can only imagine how many of us waited for this feature. I designed a Time Off calendar that looks beautiful on screen, but there has never been a way to PDF that calendar and email to a user. I settled on a flow to "recreate" the calendar screen with a ton of "Append to variables" to build up an HTML page. Works okay, but is a bit complicated and takes 1 minute to run. I'm hoping this will help me kill that flow and speed things up.
    In early playing, I see you can't PDF another screen. It has to be the current screen you're on. So, will see if I can navigate screens, PDF, then navigate back.

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

      Navigate pdf and back would be the option

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

    Excellent . Very helpful feature. Now power apps truly becoming low code app by adding new functions more often.

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

    wah... what a timing😁 from last one week i was looking for😁😁 thank you Reza

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

      It’s all about the timing :)

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

      but I cannot see this feature to enable in settings..why so? is it not rolled out for all the tenants?

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

      @@HareKrsn213 app authoring version needs to be latest + feature may not yet be available in your region.

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

      @@RezaDorrani ohk Reza I will wait...Thank you☺️

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

    Wow thank you so much Reza

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

    Thanks Reza for sharing this

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

    Awesome video that I'm just having one requirement on printing multi-page gallery that I was having headache on. Now not any more. Thanks again Reza! 😁🤩

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

      Most welcome

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

      @@RezaDorrani Thank you for the video, it is a life saver. One quick question how do you capture the full lists form with the PDF function. I have captured the lists form in a container and have linked the container to the PDF function. However the PDF extract only shows what's on the screen that is the visible part of the form. Please help how should I use the expand function in the formula below for the Form.
      Office365Outlook.SendEmailV2(User().Email,"CAA TASK SUMMARY","PDF CAA TASK SUMMARY",{Attachments:Table({Name:"TASKSUMMARY.PDF",ContentBytes:PDF(DashboardContainer)})})

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

      @@im02bad Use ExpandContainers - It is shown in video

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

      @@RezaDorrani Thank you for responding to my query. Expand container function is not recognised for some reason and returning an error

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

      @@im02bad Might be a bug. Post it on the forums powerusers.microsoft.com/

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

    Thanks, very handy

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

    Apart from PDF function, one more important thing i learned is, inserting data table in containers. Its a huge relief. And Can you also tell me, how to insert pdf viewer in containers?
    Thanks in Advance!!
    Thanks for the Awsome video. Thank you so much Reza!!

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

      I have not tired inserting pdf in containers.

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

    Awesome video, Reza! Really excited about this feature. I haven't had a chance to try it myself yet, but do you know if this function supports nested Galleries?
    Thanks!

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

      I have not tried with nested galleries. I avoid nested galleries :)
      When you try it, do let me know.

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

    @Reza, thanks for the video. Not sure if it is a bug, but I've noticed it removes the selected radio button value once PDF function is invoked, the rest or next record will also be affected as well.

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

    Nice. Do you have insight on how this will work with multi line text boxes? I’m wondering about a text based report scenarios where we may have implemented page screens in the past for printing to PDF. Please report sizes are limited by the page screen real estate so I’m wondering if this PDF functionality can get around that and still provide a structured format.

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

      ExpandContainers option works with data tables, galleries, scrollable screens etc.
      I have not tested with multi line text boxes.

  • @jojojo-9566
    @jojojo-9566 Рік тому

    Hey love your tutorials they're really well thought out and easy to understand!
    12:05 - Have a question about the PDF Function in Action section. Noticed the icon/images next to the names dissapeared. I'm having the same issue with not all images being able to PDF correctly, some coming through and others just blank. Do you have a solution for this issue?

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

      Thanks.
      Pdf is experimental/preview feature. It has limitations in terms of certain controls. I don’t have a workaround for it.

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

    damn if this new PDF function was already available back then, I don't even need to create an html then convert to pdf via automate grr. Nice function though and nice vid!

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

    Hi Reza, I appreciate your videos so much! They are always extremely informative and detailed, you are a GREAT teacher!!! Do you have tips on how to create page breaks in the PDF? I'm using HTML and pen input controls for a signed agreement and I'm having issues with the page breaks. At times a line of text is split in such a way that the top of the text is on the bottom of one page and the bottom of the text (for the same line of text) shows on the next one.

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

      Thanks Mona!
      Page break is currently not a feature of the PDF Function.
      You would need to look into 3rd party premium actions that offer advanced pdf generation capabilities.

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

      @@RezaDorrani thanks for the QUICK reply!

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

      ​@@MonaVelazquez Actually for anyone looking for this, found the solution, you have to set a certain height to your page something like this in your HTML before inputting your data:
      Problem is now if your content is dynamic, it will break after the 1866 px, in that case you can set this if you want to avoid it to break in between your table or something like that:
      but that's as far as I managed to make it.

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

    Thanks Reza 🙏🙏🙏

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

    Thank you so much for your videos !!! I tried to send a mail including the form control, and it seems the pdf generated only shows the first "row" of data cards in the Form control, if the data cards in the form control are organized in more than one row (in you example it is one row), only the first row is shown in the pdf. Am I doing something wrong?

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

      I did not run into this issue so not sure.
      I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Reza, thank you soooooo much for this video. I echo others in saying your videos are simply wonderful! For my situation (as for many others), the final step for a PDF is either email (which you cover), or printing. At present, it looks like I can view the PDF Blob in the PDF Viewer, but I cannot push it from there to either print, download, or go to a browser (any of these 3 would help my end user). It looks like all printing requires a file/url at present, but that requires time and bandwidth to process, when all the information is already at hand in the PDF Blob. Am I missing anything in this analysis?

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

      Thanks so much!
      Print function in Power Apps (have done a separate video on it) is limited to single page printing.
      Pdf only generates blob. You can email it or store it in a data source and then allow user to download from that location.
      Im sure there would be some way to download from that generated blob as well but is not something I have investigated on.

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

      Thank you for the response. Sending the blob directly to a print dialog or download (without having to save to a datasource) is my ultimate goal as that would eliminate a step and should theoretically be faster.

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

      @@brucethiessen5972 I understand. Not sure if there is a way though. If I get a lot more folks requesting this, Il plan to investigate on this.

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

    Thank you for this Reza, it really helped me out, as your videos always do. I wonder if you have heard or found that the Expand parameter has no effect on flexible height galleries, as has been my experience. Switching gallery from flexible height to any other format fixes the issue where gallery content off the page didn't appear in PDF. Hope it saves someone a bunch of troubleshooting time.

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

      Flexible height are not supported. Documentation must have the limitations called out.

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

    Thank you very much for the information, any question? If I wanted to download that PDF document from the same application screen, it would be possible, I don't know if I'm explaining myself, I don't want to use the pdf viewer, if not download the document, similar to the Print() option.
    Thank you very much

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

    Very helpful

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

    Thanks for sharing Reza!
    Quick question over here. On a button’s OnSelect property, I navigate to another screen with a container, PDF the container, and send it via email using the Outlook connection, and eventually navigate back to the initial screen receiving notifications after each stage.
    What I’ve mentioned works well in Edit mode, but when app is in Run mode, I just receive all the notifications at once without any actions taking place. Any idea why?

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

      I have not come across this issue and hence not sure what is the cause for your issue. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    Thanks Reza, your videos are great.
    If I have multiple containers, or screens that I would like to add to one PDF is that possible?
    something like Screen1, Screen2 and Screen3 would all get separate pages in one PDF?

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

      Most welcome!
      Pdf function only works for single screens.

  • @user-pz2jh2kh2v
    @user-pz2jh2kh2v 7 місяців тому +1

    Hello Reza,
    I greatly appreciate the dynamic content you consistently provide. I've learned a great deal from it. However, I have a curiosity regarding an aspect of your presentations. Could you possibly guide me on how to display multiple galleries in the same PDF viewer? Your insight on this matter would be truly beneficial and highly valued. Thanks in advance.

    • @RezaDorrani
      @RezaDorrani  7 місяців тому

      Most welcome!
      Pdf only works on single screen.
      This is the only video reference I have.

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

    Hi Reza, Thank you for your videos, they have been extremely useful on my journey to building some business apps for our company. I am struggling with one thing though. Following your tutorial has allowed to produce a really nice looking PDF but, I have a pie chart on the screen and when that comes out on the PDF, it is just a black box. Can you suggest where I might be going wrong?

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

      Pie charts are not supported in pdf. Check documentation for limitations in pdf function.

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

    Thanks a lot Reza! Top notch explanation as always.
    Since PDF() function is experimental, would you recommend to use it in production applications?

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

      When in preview, then you can use it in production.
      When experimental, No.

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

      @@RezaDorrani Thanks for the reply! I couldn't see this feature in my app settings. Is it being available in specific regions only?

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

      @@kireetiyakkali Make sure app authoring version is latest.

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

    Hi Reza, thanks for your tutorial. It help me a lot!

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

    Another great video, Reza. Unfortunately I couldn't follow along as I normally do as it appears the PDF function is now showing in the Settings, under Experimental as yet (I guess it's just been released so not in most Tenants as yet). Will come back to it and try it out as soon as it appears. Thanks for sharing. Really handy feature it promises to be. 😀

    • @RezaDorrani
      @RezaDorrani  Рік тому +4

      You would need app authoring version to be 3.22094 or up in order for the feature to show up.

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

      @@RezaDorrani Thanks Reza. Will take another look to see which version I currently have. 👍

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

    Thank you for a great and helpful video! But i want to ask, can I set the PDF name with variables (for example : Help Desk Stephanie --> connected with inputted name)? Because if we set a static text, the file will be replaced everytime I create the PDF. Thank you ^^

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

      I believe I was calling flow to create the file. You can always pass another param as the name which can be a variable.

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

    Hi, thanks for your great video. My generated PDF encountered weird spacing error with Bold and Semibold Appearance when I use PDF function. Do you know what font we should use or how to to avoid such error? The fonts I have used are Open Sans, Segoe UI, Arial for text and htmltext control. The HTML Text Control use data from SP List with enhanced rich text option turned on (rich text is enable in this multiple lines of text with different font weights like bold, semi-bold, etc).

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

      Thanks!
      I am not aware of what limitations pdf function has. I would recommend checking the documentation.
      I have not tried with different fonts so not sure.

  • @SabourNoori-ml2sz
    @SabourNoori-ml2sz 29 днів тому +1

    Thank you for the great video . What if we have multiple tabs with data inside ? Also one of the table two page worth of data and the print function only capture a small portal and i cannot scroll down either .

    • @RezaDorrani
      @RezaDorrani  29 днів тому +1

      Print only works for single screen.
      You would need to flatten out tabs in a single screen.
      Hidden sections wont show up.

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

    Thanks for sharing all your excellent content. How would I go about printing several documents as a batch into a single PDF file? In my scenario, I have varied file types such as docx, pdf, png, jpg and xlsx. These are stored in a document library and listed in a gallery control.

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

      Pdf supports single screen only. No batch processing actions available.

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

    Thanks Reza 🙏🙏🙏🙏

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

    in one word perfect. I have a question. I noticed that the data displayed in the horizontal position in Power Apps is displayed in the vertical position when I transfer the PDF. is it possible to set this as it is displayed in the PDF environment as well?

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

      I did not come across that.
      You can define orientation for your pdf.

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

    Hello Reza, Thank you for this wonderful walkthrough session.
    A quick question: I am unable to use a DataTable inside Containers in order to create a PDF of that Table.
    Any guidance on that would be very helpful. Thanks in advance! :)

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

      I don’t exactly remember but I think I put a label control inside container and then copy and paste a datatable inside the container.

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

    This is awesome, as I recently was using the Print function and having people save it themselves instead of automating it (didn’t want to go through the OneDrive method). Can you include multiple containers or screens into a PDF? Or would I just have to make an additional screen/container with everything I would want from multiple screens and push that one screen/container through the PDF function?

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

      You can only target 1 control.
      The control must be on the screen from where pdf function is being executed.

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

      So even if I had a container with everything I wanted in the PDF, it needs to be visible or just listed active screen? In other words, is it possible to push a hidden container to a PDF as long as it is a part of the active screen?

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

      @@jonathanwalker2543 Cannot be hidden. Must be actively visible.
      You can always set a variable on button click which makes it visible, then take pdf and then set visible to false.

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

    Reza is the GOAT...

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

    Hi Reza, You helped me a lot and I am still new in powerapps , I just have a question regarding the multiple attachment controls I do all the steps and it works well but in my case, I need to remove the attachment from each control and it works well but in the share point list the attachments still there I must remove them from the main attachment and I don't want to do that any advice? Thanks

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

      I have done many videos on list item attachments. Check those

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

    Hi Reza. I have a case where they want to receive an email with the generated PDF as well as any uploaded attachments.
    I was able to follow your steps to save the PDF to sharepoint library. And I was able to use Get files and Get attachments to save the attachments in an Array Variable.
    I thought I would then be able to append to the same array the file name and contentBytes from the trigger body and then use the variable in the attachments section of the SendEmail.
    This seemed to work - but the PDFblob created attachment will not open.
    The error is "Adobe Acrobat Reader could not open 'PDFblob.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was snt as an email attachment and wasn't correctly decoded)." The other files created for the Get Attachments open just fine.
    Any ideas on why this might be?

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

      No idea. I will have to look at your flow in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

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

    This is a great video, as always. Do you know if generating a pdf from multiple controls will work with flexible height galleries? I just asked the Power App community the same question, so hopefully, I'll get an answer back there. Since you already had a great video on the expandable control, I thought I would ask you also in case you might know. I've got a similar report, but works like an excel report with varying height for the comments so the verticle gallery doesn't work. I just can't get the flexible height gallery to go to the second page or it cuts off rows mid-sentence (when the flexible height gallery wasn't set to fill the page). Maybe you are aware of a different approach to saving an Excel-like report to pdf?

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

      I dont think there are any workarounds for cut off rows in PDF function and there are limitations with flexible height galleries.

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

      @@RezaDorrani Thanks for the info. I'm finding the same in my research. If I find otherwise, I'll let you know. My workaround is to build a report in Microsoft Access for now.

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

    You always nailed it and your videos demonstration are so easy to understand and implement. I tried to find the function to enable it but couldn't find in my environment. Is there any reason for it? and does this new function work on Forms?

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

      app authoring version needs to be latest + feature may not yet be available in your region.

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

    I love your videos. They are so clear and easy to use. I have tried some other videos but they are not as good as yours.
    Is there a way I can send the email to a different email address other then the users email?

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

      Thank You!
      You can add a text box where user can enter email and use that value to send the email to.

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

    Hi Reza, great video. Question please, I took advantage of the encodeuri option in the past, with pdf viewing sharepoint document libraries, 2 see office and pdfs. Does this option at all take advantage of sharepoint document libraries instead of using, if .pdf consider encodeuri?

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

      This is a native function. It can generate pdfs from power apps controls only.

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

      @@RezaDorrani Cools thanks for the insight.

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

    Thanks for this tutorial video of PDF function. I have one question 1. Is it possible to print tabular data with header repeating in every page with this PDF function?
    Can you guide us why this feature is not showing in my power apps settings.

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

      1 - feature is in preview. You need to be on latest app authoring version.
      2 - header repeating in every page is a limitation since we need control on pave breaks which we do not have (as far as I know)