Create and download PDFs Directly from Power Apps | Tutorial

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

КОМЕНТАРІ • 237

  • @akshaynm
    @akshaynm 2 місяці тому +4

    Great tutorial Reza, especially i liked the way you printed the form inside the container (this was a problem with printpdf, we cannot print the entire form, but, using your trick the issue will be eliminated). Also, a genuinely nice example of copying objects leveraging YAML code. Thanks a lot for all your efforts 🙏🏻🙂

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

      Great to hear the feedback. This will be the pinned comment on video 😊

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

      @@RezaDorrani ☺️☺️🙏🏻

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

    With all due respect to other power platform instructors, You are the best Power Platform instructor on this platform.🙏

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

      Thanks so much for your kind words. Everyone is awesome!

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

    You are truly a champion - every day I learn something new from your tutorials and your creative way of solving things.

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

      Thanks so much and very happy to hear the word NEW. I work extremely hard to try and bring something NEW to the table in each video.

  • @Mogwai-jn7cz
    @Mogwai-jn7cz 2 місяці тому +1

    Your videos save me every time. So reliable. Thank you.

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

    Superb idea.
    Solved so many doubts and got so many new ideas to play with it.

  • @LindseyKyle
    @LindseyKyle 2 місяці тому +3

    Awesome Reza! Thank you for this! One note - I had to go into the Retired settings and turn Legacy formula bar back on to be able to set the Name and Value properties correctly (without enabling the Legacy formula bar, those properties are not visible for the attachments control). I'm wondering if that's because I copied the attachment control from another area in the app. Regardless, I wanted to share my workaround in case anyone else is experiencing an issue with downloading the PDF that is generated using the JSON and PDF functions.

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

      I already did that in the code that I used to copy and paste. So others dont have to do that.

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

    Great job Reza. Thanks for sharing!!

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

    Great video, i was looking for this function for some time, Thanks!

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

    Thanks Reza ! Very useful for simple single-page PDFs

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

      Glad it was helpful!
      Note: The PDF generated can be multi page thanks to expandcontainers option shown in video.

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

    Great video clearly explain each steps love the tutorial Reza

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

    Thank you Reza. This is really helpful

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

    You are great as always ❤

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

    Thanks Reza for this video and the tips for generating a PDF file.

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

    Great video and content as always. I'm sure it will come in handy one of these days so will surely archive it. Thanks for sharing.😁😁

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

    Thanks for the informative video Reja..😊😊

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

    Thanks for created this type videos reza once again thank you

  • @SantosChimal-r5m
    @SantosChimal-r5m 2 місяці тому +1

    As always, great content.

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

    I love you, Reza, you are the best.

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

    Just brilliant 💥💥 Thanks for sharing 💥💥

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

    Thank you so much Reza 😊

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

    Love thanks Renza 🙏🙏🙏

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

    Thank you for sharing🙌🏾

  • @anilkumar-ml2sl
    @anilkumar-ml2sl 2 місяці тому +1

    Did this using power automate last Friday only, direct SendEmail was not working due to the large size of pdf file but this approach is much neat.. So big thanks🙏

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

      Most welcome

    • @anilkumar-ml2sl
      @anilkumar-ml2sl 2 місяці тому

      @@RezaDorrani Just facing an issue on how to generate PDF which contains charts as they are still not supported, any workaround please.

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

      @@anilkumar-ml2sl Not supported. I am not aware of any workarounds.

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

    Thanks for the informative video

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

    nice work as always

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

    Thanks a million!

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

    Fantastic. I was right to be excited to watch this video. Just had a quick question. Are you locked into using the form components, or is there a way to do this when using Patch to do forms? Thank you. You rock!

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

      I prefer forms over patch because while making video content, its quick to build the forms.
      However, in real world scenarios, it depends on the use case at hand.
      Even if you using patch, your controls on screen can be a part of generated pdf using the pdf function.

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

      @@RezaDorrani That's great to know. Thank you so much!

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

    15:28 So many new party tricks with Yaml, Thanks Reza. This looks more achievable than convincing stakeholders not to physically print every pdf generated 😊😊

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

      YAML is the new star in town!

  • @anthonytyler6850
    @anthonytyler6850 17 днів тому +1

    Reza, this is awesome! Is it possible to specify page breaks through the PDF function? Or would that require going the Power Automate HTML route?

    • @RezaDorrani
      @RezaDorrani  17 днів тому

      Page breaks is not an option.

  • @JonEricE-n1k
    @JonEricE-n1k 23 дні тому

    This is great I implemented this awesome feature in an app that is live; but for some reason it's not creating the same results on the live app.
    The form is black and white and missing colors, containers/boxes for text. Do you know if the PDF feautre would function different on a live published app?

    • @RezaDorrani
      @RezaDorrani  23 дні тому

      I have not experienced any issues with published app hence not sure.
      Video description has link to download the App (members only - check description for details)

  • @ericzheng4838
    @ericzheng4838 2 місяці тому +3

    Great video and nice work-around techniques. But after trying with your case, mine Edge browser says "Coundn't download - No file" after clinking the Attachments control. Any idea?

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

      Thanks!
      No idea why that would be the case.
      Video description has link to download entire solution (members only - check description for details)
      I would suggest giving that a try.

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

      I had the same issue. I ended up putting the name and file data bits into the Named Formulas and it worked.

    • @ericzheng4838
      @ericzheng4838 Місяць тому +4

      @@RezaDorrani Hi again Reza, I think I have found the issue. It is the "Items" property of Attachment control. I changed it from {Name:,Value:} to lower case {name:,value:}, issue solve. Guess there is some unknow issue with Attachment control.

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

      @@ericzheng4838 Thank you. Lower case fix worked.

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

      @@ericzheng4838 Thank you! I had the same issue. This fixed it .

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

    Made one of these last year to export a form display; from a container to a downloadable pdf, now lets see how I should have made it :D

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

    Thank you. Can this be used for a gallery?

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

      Yes. My earlier pdf video did cover gallery.

  • @carranzaalvaro
    @carranzaalvaro 26 днів тому

    Thanks a lot, Reza! Now i send the PDFs from a gallery with a form within with fields that have hidden formulas but the size of the file is 18MB. Ive tried everything (from erasing images, etc) but the size doesnt change. Is there a way to compress the file in powerapp or autoamate without paying and send it?

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

      I have no idea about the size or how can it be compressed

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

    Hi, Reza ! it was a great explanation but I have some confusion in generating YAML code like yours (copied from the notepad). In my case, I want to generate pdf from a container, and copied and paste from the container results in error. Where do you get that YAML code? Thank you!

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

      I did a video on yaml code separately. I simply copy and pasted what I got in code video.
      Video description has link to download entire solution (members only)

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

    Thank you Reza for the ideas. I was playing with PowerApps PDF function for a lengthy form inside a container control. One thing I noticed about it was sometimes texts get stuck in between two pages. As in part of the text appears in the previous page while the other in the next. Any advice on how to overcome this issue?

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

      Currently, there is no option to overcome that limitation.

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

      @@RezaDorrani Hope Microsoft will find a solution for that. The alternative I thought out was using a word template through power automate, but that connector action is a premium feature.
      Keep sharing more of these Reza, your video gave me more ideas for me to play around with PDF functions within PowerApps 🙏

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

      @@Y0urN3m3sis Word doc is the answer for now.

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

    Hi Reza, thank you for this PDF creation tutorial without power automate flow. I wonder if it's possible to combine both actions : 'Generate PDF' & Auto download 'Login Page Bug.pdf' ? I tried but i don't see any OnSelect action on DTC Attachment. At the end of Generate PDF code, i would like to 'invoke' a click on 'Login Page Bug.pdf' :)

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

      OnSelect does not work for attachments control.
      Not a supported feature.

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

    Great video Reza... Does it work well with HTML control?

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

      I have not tested with that control. Check documentation of pdf function to see how it works, or even better - give it a try.

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

    Once more great video Reza!! One question can this generate a pdf beyong of whats visible on screen?Eg a vertical gallery as a report?

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

      It can generate pdf of all components in the screen but it cannot go across screens.

  • @kilaj1
    @kilaj1 10 днів тому

    For some reason, even though i follow everything here to the letter, once I click my button MS Edge shows an attempt to download the file, but errors out saying "Couldn't download - No File" I can see the binary data in the pdfContent variable so it does have data. just the PDF generation now working?

    • @RezaDorrani
      @RezaDorrani  10 днів тому

      The feature does work fine. I'm not sure what's the issue with your team.

  • @StephanieBrown-c5c
    @StephanieBrown-c5c 2 дні тому

    i can't seem to get the copy code option, could i get steps to complete download pdf without that?

    • @RezaDorrani
      @RezaDorrani  2 дні тому

      You can try downloading the solution shown in video (members only - check video description for details)

  • @jamiecairns9111
    @jamiecairns9111 12 днів тому

    Could you give some guidance on the settings to have this work with a gallery inside a container

    • @RezaDorrani
      @RezaDorrani  12 днів тому

      Check my other video on pdf function

    • @jamiecairns9111
      @jamiecairns9111 12 днів тому

      @RezaDorrani could you share a link please?

    • @RezaDorrani
      @RezaDorrani  12 днів тому

      @@jamiecairns9111 search “reza pdf” on youtube

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

    Hi @Reza, thanks for video. I have small doubt if we have multiple pages in the pdf is that generates in this function?

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

      If you are relating to multiple SCREENS in power app, then No.
      Pdf generated can be multiple pages, but it can only do so for controls on a single screen

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

    Hello. I created a vertical container. I turned it into a pdf. My container data is dynamic. For this reason, sometimes it can be 3 and sometimes 5 pages. However, I want to add fixed headers and footers to these pages. Is there a way to do this?

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

      I dont think fixed headers and footers is an option

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

    Hello Reza, Thank you for your very nice explanatory videos. Is it possible to export a PDF containing several screens from the Power Apps application?

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

      Pdf function only supports controls on single screen.

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

    I really like the use of the attachment controls to allow users to download a local document.
    I have an existing app that pulls base64 docs from an API. I let uses view the documents via the PDF viewer component. Keen to add the download function as well. Prevents me from having to store documents in SharePoint to allow download functionality.

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

      Great to hear!

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

      @@RezaDorrani I have tried to implement the download via attachment control but getting "Couldn't download - No file" when trying to download the file. I can view the PDF via the PdfViewer Component so I am sure the format of the file "value" is correct. Is there any browser setting that has to be change to allow for the download. Using Edge.

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

      @@kylecullenvdw Did you try downloading the app I shared for members?

    • @97handball
      @97handball 2 місяці тому

      @@kylecullenvdw Did you found a solution ? I have the same error!

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

    Great work, how do I replace dataverse for Share point list

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

      The pdf gen technique shown in video works with any form control experience. I have done many videos on SharePoint forms. You can try this out with any of them.

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

    What can I do with the PDF function to prevent cuts when there are 2 or more pages?

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

      You would need to explore premium 3rd party connectors for that.

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

    Do you have any videos on how to create and download an Excel file with data from a gallery/collection/table?

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

      I do but wait 2 weeks. I have a video coming on that exact topic.

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

      @@RezaDorrani I'm looking forward to this video.

  • @apoojain
    @apoojain 4 дні тому

    This is really useful, but it doesn't print the Chart used in the container, is it possible to print the chart as well 😅

    • @RezaDorrani
      @RezaDorrani  4 дні тому

      Pdf does not support certain controls. Check documentation for limitations.

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

    Hi Reza, on my form i added a custom data card with "HtmlText", when i generate the PDF i do not get all the context in the "htmltext", is there a limitation on the number of characters in this case?

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

      I have not checked with html text type control. Check pdf function documentation for limitations

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

    nice, does this work in custom pages ? as print function doesn't work in custom pages or embedded canvas

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

      I have not tried this technique in custom pages

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

      @@RezaDorrani it worked .🥰

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

    Hi Reza, can we use pdf function in production apps. I can see it is still an experimental feature.

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

      Its been experimental since years.

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

      So Raza have you been using this in production , Is this stable . I am asking this question because I have bad experience with things in preview mode in power automate. Though not sure about the experimental feature

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

      @@MrNavin1987 I have used this specific one for years now without issues. However, at the end of the day, it is an experimental feature.

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

      @@RezaDorrani do you recommend using it in prod ? Because actually this takes very less time to implement than the Power automate approach

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

      @@MrNavin1987 Do I recommend: May be
      But with the acceptance of risk that there is an outside chance that something can break.

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

    Hi Reza great tutorial as usual. When i am trying this function i am successfully getting the attachment but its corrupted. I tried with putting the form control and the formcontainer in the formula and made no changes. What might be the reason?

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

      I have not come across this issue, hence not sure.
      Video description has details on how to download the app (members only)
      I would suggest giving that a try

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

    @RezaDorrani
    Thank you So much for tutorial i have created pdf with flow for app previously which is taking lot of time.
    I have tried same way and my file has been downloaded in browser but download history shows File was not available for on site can you help

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

      Most welcome!
      Video description has link to download entire solution (members only - check description for details)
      I would suggest giving that a try.
      As for the issue mentioned, I have not experienced it and hence not sure what the cause for it could be.
      I will recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com

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

    Reza, why you use JSON function? since it can work without it?

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

      I don't remember why. Probably just to place safe.

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

    I keep getting the following error when trying to download the document; "Coudn't download - No file"

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

      Video description has link to download entire solution (members only - check description for details)
      I would suggest giving that a try.
      As for the issue mentioned, I have not experienced it and hence not sure what the cause for it could be.
      I will recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com

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

    I have generated a PDF from a powerapps form. After I hit the PDF icon and create PDF, All the text input entered fields are there in form but all the radio values are empty in the screen. I expect hit the PDF icon and create PDF then the form with values are still presented. Is there any work around on this?

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

      I'm not sure why the control values are coming empty in your case. This is not an issue I have experienced.

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

    I'm putting together a curriculum using your video as a reference, however I'm using a Canvas component, where I inserted a container and several other components inside the container. Sending the PDF file by email is correct, but when I try to download it, the Canvas component appears blank. I know it's difficult to answer, but where could I be going wrong, could you help me?

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

      I cannot guess where you could be going wrong. I have not experienced any issues with pdf function, hence not sure.

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

    Good day Sir Reza! How to send the form (apps) through email? That can be edited by an approver. For example, the form needs to be reviewed first before taking next steps.

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

      I do show how to send pdf copy in email. It does not output an editable pdf. Better option is to send notification to approver and make them edit item in form. I have done many videos on that.

  • @sissokom.prodev9979
    @sissokom.prodev9979 10 днів тому

    i get an error while click on the attachemnt to download saying : the file content not available on site !

    • @RezaDorrani
      @RezaDorrani  10 днів тому

      Video description has link to download entire solution (members only)
      As far as the mentioned issue, I have not experienced it, hence not sure

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

    Thank you so much Reza
    Very instructive video. But I have an error generating the PDF file using JSON.
    I get this error: The PDF file you are trying to open is damaged.

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

      Most welcome!
      Video description has link to download entire solution (members only - check description for details)
      I would suggest giving that a try.
      As for the issue mentioned, I have not experienced it and hence not sure what the cause for it could be.
      I will recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com

    • @Shravya-c8o
      @Shravya-c8o 2 місяці тому +1

      I did get the same issue, when I copied the attachment data card from a view form.
      When I did it from a edit form it worked! Not sure if it's the same case for you

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

    Wow that's very exciting, thank you
    unfortunately I don't have a dataverse, how can I replace this with a sharepoint list

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

      The pdf gen technique shown in video works with any form control experience. I have done many videos on SharePoint forms. You can try this out with any of them.

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

    Thank you, i am using the same method. My question is, there is a way to combine multiple containers to one pdf? In my application i have 5 form (in 5 containers), different steps... Can i convert this 5 container in one pdf?.

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

      You can target 1 screen or 1 container. If all your other 5 containers are within a main container then target the main one.

  • @2007pradipta
    @2007pradipta 18 днів тому

    We can't create PDF for other screen other than Active screen ?

    • @RezaDorrani
      @RezaDorrani  18 днів тому

      No one can create that as it is not a supported feature of pdf function

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

    Hey Reza great content ,
    However once I use a gallery and there is many content in it once the PDF is generated in 2 or more pages it cut through the words how can I fix this ?

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

      Defining Page breaks is not an option with the pdf function.

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

    Hey nice video :) Is it possible to add an OnSet action to the attachments control?

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

      There is no onset action.

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

    Is it possible to select more than one record and generate a PDF for each record at once?

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

      PDF function can only create pdf of controls on 1 screen.

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

    Using the PDF function, I'm not able to get the text in bold font using normal controls not modern and also I don't have premium licence, i have microsoft365 licence. Is that a limitation? Or can i fix that issue?
    Not only bold text even i have faced same issue for svg images (it shows blank when download)

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

      Pdf function is a standard action. There is no licensing needs here.
      Check documentation for limitations of pdf function. Not all controls are supported.

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

      @@RezaDorrani Got it. Thanks for your response

  • @nav-it-consulting
    @nav-it-consulting Місяць тому

    Hi Reza, do we need a premium license for using this functionality?

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

    Hey Reza, thank you for this content.
    From my experience the generated pdf from pdf function works different when using live app from just previewing the app.
    When pdf is generated from live app everything gets broken and content is not rendered as displayed.
    Do you have any solution to that?
    Thanks a lot

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

      I have not faced any such issues. The app shown in video has been run as live app and on mobile devices.

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

      @@RezaDorrani hmm, thats weird. May I ask you what version of power app you are currently running?

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

      Whatever is the current latest version.

  • @BhupenBatra
    @BhupenBatra 2 дні тому

    I followed your video instructions step by step, even copied the entire yaml code word for word into my app, when i click on the file to download it gives an error "file wasn't available on site" what could be the issue? Please Help !!!

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

      I have not experienced the mentioned issue, hence not sure whats the cause for your issue.
      You can try downloading the solution shown in video (members only - check video description for details)

  • @Dan-jk7pe
    @Dan-jk7pe 2 місяці тому

    Great timing, is it safe to assume that this feature will be coming out of preview in the not so distant future?

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

      Its been in preview since 3 years if not more. Im not sure what is the GA date for pdf function.

  • @yijinlin6885
    @yijinlin6885 4 дні тому

    can M365 business basic use PDF function?

    • @RezaDorrani
      @RezaDorrani  4 дні тому

      Pdf function is an standard action. As long as user has license to run power app, then yes

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

    How would we support galleries over multiple pages where the items are not cut off across pages?

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

      ExpandContainers feature shown in video does allow multiple pages for pdf but the items will cut off from page to page. Thats a current limitation.

  • @2007pradipta
    @2007pradipta 12 днів тому

    after clicking download getting error : file wasn't available on site

    • @RezaDorrani
      @RezaDorrani  12 днів тому

      I have not experienced the mentioned issue, hence not sure whats the cause for your issue.
      You can try downloading the solution shown in video (members only - check video description for details)

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

    Unfortunately, the PDFs generated with this method do not display checkboxes correctly - they always display as unchecked.

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

      Pdf function is an out of the box feature that is currently experimental. Probably there is a limitation with checkboxes

    • @MHassan-p7z
      @MHassan-p7z 17 днів тому

      modern checkboxes work with the pdf function. Classic checkboxes do not.

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

    Hi Reza, great tutorial. Please I have a question regarding this PDF function. I tried using it in a project I was working on sometime back and I was advised by a Microsoft Architect not to use it for production application since its still in Experimental. From my check, this function has been in experimental mode since early 2022. Is it safe to use it in Production?
    Also, do you have an Idea why the function is still in experimental mode for quite a long time? And are there plans to retire it?

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

      This feature has been experimental every since its announcement.
      I have no insights into why its still experimental or when will it go GA.

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

    Very interesting Raza, I tested it and it works, for one container. But I have more data in another screen, a Container with a DataTable. How can I add it to the same PDF attachment?

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

      You can target a single container only. Idea would be to target a parent container in which you have other child containers.

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

    do you need a premiun por create pdf?

  • @Anonym987-v9q
    @Anonym987-v9q 2 місяці тому

    Hi Reza, Can you make approval using Business Approval kit?

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

      That’s not something I have explored. My knowledge there is limited.

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

    does it support multiple pages (for long galleries?)

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

      Yes - ExpandContainers feature shown in video

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

      Hey @reza It does but it cut through the words how to fix this ?

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

      @@rainehardclarke7955 You mean cut through across pages? Page break concept is not an option.

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

      @@RezaDorrani thank you for your swift response how can I avoid this? It’s a major hurdle for me

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

      @@rainehardclarke7955 You would need to explore premium 3rd party pdf connector actions.

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

    Can anyone please help with this?
    In a Modern Table, how can we have a different onSelect action for every column? My task is to show a column with a ticket ID that appears as a link. When the user clicks on it, I want to navigate them to another screen.
    If this cannot be done in a Modern Table, how can we add a separator in a Classic Table?

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

      Modern table has an onselect function.
      There you can check to see the metadata of selected item and accordingly write your logic with if or switch statements.

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

    Need the PDF with page breaks , currently no way to do it :(

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

      That’s been a limitation ever since the function existed.

  • @XV-x5
    @XV-x5 Місяць тому

    In my worksheet, there are a lot of images where many of them do not appear when I generate the PDF. What is the solution?

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

      Worksheet?

    • @XV-x5
      @XV-x5 Місяць тому

      @@RezaDorrani sorry my container

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

      @XV-x5 I have not experienced any issue with it hence not sure. I suggest posting your issue on forums
      community.powerplatform.com/

    • @XV-x5
      @XV-x5 Місяць тому

      @@RezaDorrani Thanks

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

    I'm new to Power Apps and Developing Applications as well. So, Will this Power Apps course help me to become expert in this ?

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

      This is not a course but a video specific to pdf function.

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

      @@RezaDorrani I am asking about the 10 videos of "Power Apps Full Training Course" that you released for 'Members only'. I don't have the option to comment there so I'm checking here.

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

      @@saikiransannidhanam4121 Oh ok. The power apps course. I don’t think any creator will tell you that you wont become an expert or a pro.
      According to me, I have provided 10 quality sessions that add value. I’ll suggest you join for a month, check the value add and then decide to continue or not.

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

      @@RezaDorrani okay, Thank you. Yes I understand, however due to the course price I just wanted to have a check once before joining.

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

      @@saikiransannidhanam4121 Always good to ask questions. Thanks for checking.

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

    Is there a way to generate the PDF and then upload it to sharepoint?

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

      I tried using your flow for uploading with the pdf variable as name and content but guessing im missing something

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

      ua-cam.com/video/sK3WsjQiqcQ/v-deo.htmlsi=XM9L5Ot-Hzkt-GnF

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

      @@RezaDorrani thank you kindly

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

    PDF function is a mess. standard use case is e.g. you fill out a form and want to print a pdf-document. The page break, page counter, true type characters (formats, spaces..) - nothing you can use in a professional business.

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

      Try and use the word connector in that case and convert to pdf.
      Currently, pdf function is best for simple scenarios as the one showcased in video.

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

      @@RezaDorrani yes, you are right. Good advice

  • @ellgee9402
    @ellgee9402 18 днів тому

    when i click on the file it says coulndt download the file. why?

    • @RezaDorrani
      @RezaDorrani  18 днів тому

      Have not experienced the mentioned issue and not sure of the cause for your issue.
      You can try downloading the solution shown in video (members only - check video description for details)

    • @ellgee9402
      @ellgee9402 18 днів тому

      @RezaDorrani I found out. It was because it had to be on the same screen

    • @RezaDorrani
      @RezaDorrani  18 днів тому

      @@ellgee9402 which was as shown in video 😃

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

    I try it but it "Couldn't download: No file", any help with this

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

      Now it works when I copy from new modern form

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

      Looks like you got it to work based on your response comment

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

      @@youthjeitana2935 i have similar case. Did you mean copy attachment control from new modem form for fixing ?

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

    Nice would be to generate a PDF with attached pictures, as we now need to work that out with a power automate flow

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

      oh might be working if we have them all in one form, let me play with it :) Thanks for sharing

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

      Yes

  • @leomaredcampos4941
    @leomaredcampos4941 25 днів тому

    can I do this without premium account?

    • @RezaDorrani
      @RezaDorrani  25 днів тому

      Pdf function is not a premium feature

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

    Is there a way to create the pdf and automatically add it as an attachment to a form before it submits to a list?

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

      Probably possible. Not sure if I have covered this or not in one of my earlier pdf based videos.

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

      @@RezaDorrani yeah I’ve looked through and can’t see anything, all videos seem to have a manual selection of a file rather than it being automatically added

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

      I would suggest checking on the forums then in case someone has done something similar powerusers.microsoft.com/