Create and download PDFs Directly from Power Apps | Tutorial

Поделиться
HTML-код
  • Опубликовано: 23 янв 2025

Комментарии • 297

  • @ResponsibleXI
    @ResponsibleXI Месяц назад +1

    Has the schema for Attachments items property change from Name, Value to name,value? I have noticed it and found some comments on it. If so, Reza can you pin this comment if possible?

    • @RezaDorrani
      @RezaDorrani  Месяц назад

      I'm not sure if it has changed. Have you downloaded the solution shared and tried it and had to make changes?

    • @ResponsibleXI
      @ResponsibleXI Месяц назад

      @RezaDorrani No, I have not downloaded and manually replicated the steps. Only lowercase works. There are few more comments under this video with the same issue and few of the users already tried with lowercase and it worked for them too.

    • @RezaDorrani
      @RezaDorrani  Месяц назад

      @ResponsibleXI I don't remember if it was lowercase or not. If I get 100% confirmation then I can add it as pinned comment.

    • @shaikmohammadameen8831
      @shaikmohammadameen8831 Месяц назад

      Yeah all characters need to be lowercase letters (Name, Value not worked)(name,value worked for me)

  • @PubuduPerera
    @PubuduPerera 4 месяца назад +11

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад +1

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

  • @rorsara3940
    @rorsara3940 4 месяца назад +1

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

      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.

  • @raj7sam
    @raj7sam 4 месяца назад +1

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

  • @Mogwai-jn7cz
    @Mogwai-jn7cz 4 месяца назад +1

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

  • @youtube_Salim
    @youtube_Salim 4 месяца назад +1

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

  • @sbisca
    @sbisca 4 месяца назад +1

    Thanks Reza ! Very useful for simple single-page PDFs

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

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

  • @dougydoe
    @dougydoe 4 месяца назад +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.😁😁

  • @nabilsidrak4495
    @nabilsidrak4495 4 месяца назад +1

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

  • @LindseyKyle
    @LindseyKyle 4 месяца назад +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  4 месяца назад +1

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

  • @akshaynm
    @akshaynm 4 месяца назад +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  4 месяца назад +1

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

    • @akshaynm
      @akshaynm 4 месяца назад +1

      @@RezaDorrani ☺️☺️🙏🏻

  • @Sarahshaikh786
    @Sarahshaikh786 4 месяца назад +1

    Great video clearly explain each steps love the tutorial Reza

  • @jray1429
    @jray1429 4 месяца назад +1

    Great job Reza. Thanks for sharing!!

  • @PonnaSamba
    @PonnaSamba 4 месяца назад +1

    Thanks for created this type videos reza once again thank you

  • @oluwatobiyusuf
    @oluwatobiyusuf 4 месяца назад +1

    Thank you Reza. This is really helpful

  • @mallelajyothi9819
    @mallelajyothi9819 4 месяца назад +1

    Thanks for the informative video Reja..😊😊

  • @mumialpi
    @mumialpi 3 месяца назад +1

    You are great as always ❤

  • @elenagiraldo
    @elenagiraldo 4 месяца назад +1

    I love you, Reza, you are the best.

  • @minhvinhtube
    @minhvinhtube 28 дней назад

    Great email PDF option. Thanks. I couldn't find the copy code (Preview) option @ 15:33 How can we request MS a "preview" environment? Thanks!

    • @RezaDorrani
      @RezaDorrani  28 дней назад

      learn.microsoft.com/en-us/power-platform/admin/early-release

  • @infoktkcreative
    @infoktkcreative 28 дней назад +1

    Amazing , thanks alots, recently stucked in this topic now Alhmdullilah solved

  • @DiveSafariNZ
    @DiveSafariNZ 4 месяца назад +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  4 месяца назад

      YAML is the new star in town!

  • @sissokom.prodev9979
    @sissokom.prodev9979 2 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  2 месяца назад

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

  • @anilkumar-ml2sl
    @anilkumar-ml2sl 4 месяца назад +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  4 месяца назад

      Most welcome

    • @anilkumar-ml2sl
      @anilkumar-ml2sl 4 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

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

  • @sharepointdeveloper4386
    @sharepointdeveloper4386 Месяц назад +1

    Reza,
    When i tried to download the file its showing as couldnt download - No file

    • @RezaDorrani
      @RezaDorrani  Месяц назад

      I have not experienced the mentioned issue, hence not sure whats the cause for your issue.
      See pinned comment on video and see if that helps.
      You can also try downloading the solution shown in video (members only - check video description for details)

  • @spen2431
    @spen2431 4 месяца назад +1

    Just brilliant 💥💥 Thanks for sharing 💥💥

  • @SantosChimal-r5m
    @SantosChimal-r5m 4 месяца назад +1

    As always, great content.

  • @hi_vishy
    @hi_vishy Месяц назад +1

    Awesome. Next level stuff.

  • @StephanieBrown-c5c
    @StephanieBrown-c5c Месяц назад

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

    • @RezaDorrani
      @RezaDorrani  Месяц назад

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

  • @kireetiyakkali
    @kireetiyakkali 4 месяца назад +1

    Thank you so much Reza 😊

  • @DrSeethe
    @DrSeethe 8 дней назад

    Is it possible to add content to the PDF AFTER the gallery's expanded container? I'd like to be able to add content, like another container that shows total amounts on the bottom of the gallery.

    • @RezaDorrani
      @RezaDorrani  8 дней назад

      You can only target a single container but you can nest containers. A container can contain multiple containers.

  • @MdArifulIslam-u8o9x
    @MdArifulIslam-u8o9x 20 дней назад

    instead of Form, is it possible to do with flexible height gallery? I have tried but it only print screen

    • @RezaDorrani
      @RezaDorrani  20 дней назад

      I have not tried with flexible height gallery. Might very well be a limitation if it's not working.

  • @NosfeSoto
    @NosfeSoto 10 дней назад

    Thanks for sharing your knowledge Reza: I am working on an application and I need to export to PDF all the content of a container that has as its only object an HTML text, but even using {ExpandContainers:true} the PDF is being exported with only the content that appears on the screen, regardless of the rest of the HTML content that I can see on the screen when using the scroll. Do you have any idea?

    • @NosfeSoto
      @NosfeSoto 10 дней назад

      To add: I used the pdf viewer and I get the same result regarding content, but I can see the text of the pdf.
      In the case of email or download of the pdf, the content does not appear or appears blank

    • @RezaDorrani
      @RezaDorrani  10 дней назад

      I believe html control is not supported with expand containers as per the documentation

    • @NosfeSoto
      @NosfeSoto 10 дней назад

      Oh no!

    • @NosfeSoto
      @NosfeSoto 9 дней назад

      @@RezaDorrani Do you have any idea why the download link may have an error but the email delivery works?

    • @RezaDorrani
      @RezaDorrani  9 дней назад

      @NosfeSoto 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)

  • @kanchankumbhar238
    @kanchankumbhar238 Месяц назад

    Thank you for your solution, Reza. I have implemented it in my application, where an image control is dynamically set from the PenInput image. However, while all other data appears correctly in the PDF, the image does not render when viewed in a PDF viewer or sent via email. Your assistance in resolving this issue would be greatly appreciated.

    • @RezaDorrani
      @RezaDorrani  Месяц назад

      I have not experienced the mentioned issue and hence not sure of the cause or fix for it.
      I will recommend checking or posting your issue on forums in case someone has experienced something similar
      community.powerplatform.com/

  • @paolovr1970
    @paolovr1970 4 месяца назад +1

    Love thanks Renza 🙏🙏🙏

  • @HundreadMC
    @HundreadMC 3 месяца назад +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

  • @sifaxis
    @sifaxis 4 месяца назад +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  4 месяца назад +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.

    • @sifaxis
      @sifaxis 4 месяца назад +1

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

  • @mtamitolanga
    @mtamitolanga 4 месяца назад +1

    Thank you for sharing🙌🏾

  • @kilaj1
    @kilaj1 2 месяца назад

    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  2 месяца назад

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

  • @frog19970118
    @frog19970118 15 дней назад

    Hi Reza, hope you see this. I can't download the PDF in my app. In Edge, while editing, I get a corrupted PDF with 'Couldn't download - No file.' When playing the app, clicking download opens a new tab with an error 'The specified blob does not exist.'
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    BlobNotFound
    The specified blob does not exist. RequestId:314182b3-701e-000e-12a6-615d70000000 Time:2025-01-08T08:21:58.1497410Z

    • @RezaDorrani
      @RezaDorrani  15 дней назад

      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)

  • @jamiecairns9111
    @jamiecairns9111 2 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  2 месяца назад

      Check my other video on pdf function

    • @jamiecairns9111
      @jamiecairns9111 2 месяца назад

      @RezaDorrani could you share a link please?

    • @RezaDorrani
      @RezaDorrani  2 месяца назад

      @@jamiecairns9111 search “reza pdf” on youtube

  • @Rich-hm9ux
    @Rich-hm9ux Месяц назад

    Hey Reza, in the Email PDF option, do you know if it is possible to select more than one container to be added to the PDF? I have tried adding like container1;container2 to the function but the email will only generate the last container out of the two. Thanks.

    • @RezaDorrani
      @RezaDorrani  Месяц назад

      Only 1 container is allowed. You can add containers within containers and point to the parent container.

  • @anthonytyler6850
    @anthonytyler6850 2 месяца назад +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  2 месяца назад

      Page breaks is not an option.

  • @powerplatforms
    @powerplatforms 3 месяца назад

    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  3 месяца назад +1

      I dont think fixed headers and footers is an option

  • @JonEricE-n1k
    @JonEricE-n1k 2 месяца назад

    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  2 месяца назад

      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)

  • @Y0urN3m3sis
    @Y0urN3m3sis 4 месяца назад +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  4 месяца назад +1

      Currently, there is no option to overcome that limitation.

    • @Y0urN3m3sis
      @Y0urN3m3sis 4 месяца назад +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  4 месяца назад +1

      @@Y0urN3m3sis Word doc is the answer for now.

  • @farhanmirza457
    @farhanmirza457 4 месяца назад +1

    Thanks for the informative video

  • @ericzheng4838
    @ericzheng4838 4 месяца назад +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  4 месяца назад +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 3 месяца назад +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 3 месяца назад +7

      @@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 3 месяца назад +1

      @@ericzheng4838 Thank you. Lower case fix worked.

    • @leslieshane9
      @leslieshane9 2 месяца назад

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

  • @wallshider
    @wallshider Месяц назад

    Hi Reza! this has never been the perfect timing! I really really need this and there you are solving our problems.. Thank you!
    Everything is working well on Power Apps Studio, however in the live/published version of the app, I always get an error "Couldn't download the file". The email trick works fine though. It's just the direct downloading of PDF is where I face the issue. I was wondering perhaps there is some tweak I need to do to make it work in the live mode.
    Thanks a lot! You are a blessing to us!

    • @RezaDorrani
      @RezaDorrani  Месяц назад

      You're most welcome!
      I have not experienced the mentioned issue.
      You can try downloading the solution shown in video (members only - check video description for details

  • @9uile125
    @9uile125 4 месяца назад +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  4 месяца назад +1

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

  • @lisaterrazas3196
    @lisaterrazas3196 7 дней назад

    Im trying to follow along but what Im not see is being able to paste the code in the container. When i right click only paste appears. Also I dont see the step of how you added datacard 5 in . Your help is truly appreciated.

    • @RezaDorrani
      @RezaDorrani  7 дней назад

      Feature is currently in preview for early release environments.
      You can try downloading the solution shown in video (members only - check video description for details)

  • @johanU9989
    @johanU9989 3 месяца назад

    do you need a premiun por create pdf?

  • @willianrom
    @willianrom 4 месяца назад +1

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад +1

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

    • @willianrom
      @willianrom 4 месяца назад +1

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

  • @youngdataio
    @youngdataio 4 месяца назад +1

    nice work as always

  • @hajaribr
    @hajaribr 2 месяца назад

    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  2 месяца назад

      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)

  • @carranzaalvaro
    @carranzaalvaro 2 месяца назад

    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  2 месяца назад +1

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

  • @pergurning
    @pergurning 2 месяца назад +1

    Thank you. Can this be used for a gallery?

    • @RezaDorrani
      @RezaDorrani  2 месяца назад

      Yes. My earlier pdf video did cover gallery.

  • @gantyadaanusha7193
    @gantyadaanusha7193 3 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  3 месяца назад

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

  • @apoojain
    @apoojain Месяц назад

    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  Месяц назад

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

  • @susanteng3592
    @susanteng3592 3 месяца назад

    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  3 месяца назад

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

  • @twismfamily
    @twismfamily 10 дней назад

    I'm unable to copy the YAML code, probably because that option is turned off from my gov tenant. Is there another way I can achieve the same result, perhaps the long way?

    • @RezaDorrani
      @RezaDorrani  10 дней назад

      I'm not aware of alternative ways

  • @kolomagoulidis
    @kolomagoulidis 4 месяца назад +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  4 месяца назад

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

  • @benjaminnzioki8815
    @benjaminnzioki8815 4 месяца назад

    Thanks a million!

  • @2007pradipta
    @2007pradipta 2 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  2 месяца назад

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

  • @FarooqPathan-tm8ho
    @FarooqPathan-tm8ho 18 дней назад

    if the data is more than 100 rows then pdf function taking time upto 5 mins to received or download the pdf

    • @RezaDorrani
      @RezaDorrani  18 дней назад +1

      Check learn.microsoft.com/en-us/power-platform/power-fx/reference/function-pdf

  • @neiltadatsin1575
    @neiltadatsin1575 4 месяца назад +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  4 месяца назад +1

      Pdf function only supports controls on single screen.

  • @kylecullenvdw
    @kylecullenvdw 4 месяца назад +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  4 месяца назад

      Great to hear!

    • @kylecullenvdw
      @kylecullenvdw 4 месяца назад

      @@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  4 месяца назад

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

    • @97handball
      @97handball 3 месяца назад

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

    • @kylecullenvdw
      @kylecullenvdw Месяц назад

      @@97handball no unfortunately not. I downloaded Reza's App to see if I was missing anything but can't seem to get the download to work off a raw base64 pdf string. Says "Couldn't download - No file" when ever I tried.

  • @nabilsidrak4495
    @nabilsidrak4495 3 месяца назад

    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  3 месяца назад

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

  • @jamesford7385
    @jamesford7385 4 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад +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.

  • @adarshmc8158
    @adarshmc8158 4 месяца назад +1

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

      Its been experimental since years.

    • @MrNavin1987
      @MrNavin1987 3 месяца назад

      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  3 месяца назад +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 3 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  3 месяца назад

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

  • @yomero1689
    @yomero1689 4 месяца назад +1

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

      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.

  • @erickiancohen4501
    @erickiancohen4501 4 месяца назад

    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  4 месяца назад +1

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

  • @erickiancohen4501
    @erickiancohen4501 4 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад +1

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

  • @naveenkumarpenumalla7221
    @naveenkumarpenumalla7221 4 месяца назад

    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  4 месяца назад

      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

  • @thankivinit766
    @thankivinit766 4 месяца назад

    @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  4 месяца назад

      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

  • @monavarthibalakrishna3915
    @monavarthibalakrishna3915 4 месяца назад

    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  4 месяца назад

      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 4 месяца назад

      @@RezaDorrani Got it. Thanks for your response

  • @yijinlin6885
    @yijinlin6885 Месяц назад

    can M365 business basic use PDF function?

    • @RezaDorrani
      @RezaDorrani  Месяц назад

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

  • @Milyboy6412
    @Milyboy6412 3 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  3 месяца назад +1

      I have not tried this technique in custom pages

    • @Milyboy6412
      @Milyboy6412 3 месяца назад +1

      @@RezaDorrani it worked .🥰

  • @markmclean154
    @markmclean154 4 месяца назад +1

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад +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.

  • @infoktkcreative
    @infoktkcreative 27 дней назад

    Charts not being displayed when i PDF a page in powerapp, kindly tell me the solution why in pdf chart not displayed

    • @RezaDorrani
      @RezaDorrani  27 дней назад

      Check documentation on pdf function to see what elements are supported.

    • @infoktkcreative
      @infoktkcreative 27 дней назад

      @ it is powerapps chart builten chart

    • @RezaDorrani
      @RezaDorrani  27 дней назад

      @@infoktkcreative did you check the documentation?

    • @infoktkcreative
      @infoktkcreative 27 дней назад

      @@RezaDorrani please give your email address

    • @RezaDorrani
      @RezaDorrani  26 дней назад

      ​@infoktkcreative why do you need it?

  • @drei263
    @drei263 4 месяца назад

    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  4 месяца назад

      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.

  • @umeshjyani7183
    @umeshjyani7183 4 месяца назад

    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  4 месяца назад

      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.

  • @Dan-jk7pe
    @Dan-jk7pe 4 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

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

  • @wernermosimann7673
    @wernermosimann7673 4 месяца назад +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  4 месяца назад

      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.

  • @jakubmaniak5865
    @jakubmaniak5865 4 месяца назад

    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  4 месяца назад +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 4 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад +1

      Whatever is the current latest version.

  • @playmakermc8362
    @playmakermc8362 3 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  3 месяца назад

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

  • @koenjanssens4434
    @koenjanssens4434 4 месяца назад

    does it support multiple pages (for long galleries?)

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

      Yes - ExpandContainers feature shown in video

    • @rainehardclarke7955
      @rainehardclarke7955 4 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

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

    • @rainehardclarke7955
      @rainehardclarke7955 4 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

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

  • @elirdz
    @elirdz Месяц назад

    Inserting the attachment control requires you to enable legacy formula bar. Which is not recommended to do. If the legacy formula bar is not enabled, your attachment control will fail to provide the attachment. You might get the "File wasn't available on site" error.

    • @RezaDorrani
      @RezaDorrani  Месяц назад +1

      The code I showcased (copy pasted) has that info baked in.

    • @elirdz
      @elirdz Месяц назад

      @@RezaDorrani I have forced the Name and Value into the items property for the attachment control as well. The error still happens.

    • @RezaDorrani
      @RezaDorrani  Месяц назад +1

      @elirdz weird. Did not run into that when building this video.
      I did share the video solution with channel members who have not reported any issues until now.

  • @mrm8973
    @mrm8973 4 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад +1

      There is no onset action.

  • @aladris5443
    @aladris5443 3 месяца назад

    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  3 месяца назад +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

  • @BhupenBatra
    @BhupenBatra Месяц назад

    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  Месяц назад +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)

  • @2007pradipta
    @2007pradipta 2 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  2 месяца назад

      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)

  • @iplt20cricket
    @iplt20cricket 4 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

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

  • @rainehardclarke7955
    @rainehardclarke7955 4 месяца назад

    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  4 месяца назад

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

  • @mohamedbamba5098
    @mohamedbamba5098 4 месяца назад

    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  4 месяца назад

      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 4 месяца назад +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

  • @XV-x5
    @XV-x5 3 месяца назад

    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  3 месяца назад

      Worksheet?

    • @XV-x5
      @XV-x5 3 месяца назад

      @@RezaDorrani sorry my container

    • @RezaDorrani
      @RezaDorrani  3 месяца назад

      @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 3 месяца назад

      @@RezaDorrani Thanks

  • @fitosferenc
    @fitosferenc 4 месяца назад

    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  4 месяца назад

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

  • @liamfinlay2163
    @liamfinlay2163 4 месяца назад +1

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

      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

  • @ellgee9402
    @ellgee9402 2 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  2 месяца назад

      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 2 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  2 месяца назад

      @@ellgee9402 which was as shown in video 😃

  • @frankschoenmaker9638
    @frankschoenmaker9638 4 месяца назад

    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  4 месяца назад

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

  • @Anonym987-v9q
    @Anonym987-v9q 4 месяца назад

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

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

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