Create and download PDFs Directly from Power Apps | Tutorial

  Рет қаралды 34,693

Reza Dorrani

Reza Dorrani

Күн бұрын

Пікірлер: 279
@ResponsibleXI
@ResponsibleXI 24 күн бұрын
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 24 күн бұрын
I'm not sure if it has changed. Have you downloaded the solution shared and tried it and had to make changes?
@ResponsibleXI
@ResponsibleXI 24 күн бұрын
@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 24 күн бұрын
@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 18 күн бұрын
Yeah all characters need to be lowercase letters (Name, Value not worked)(name,value worked for me)
@PubuduPerera
@PubuduPerera 3 ай бұрын
With all due respect to other power platform instructors, You are the best Power Platform instructor on this platform.🙏
@RezaDorrani
@RezaDorrani 3 ай бұрын
Thanks so much for your kind words. Everyone is awesome!
@rorsara3940
@rorsara3940 3 ай бұрын
You are truly a champion - every day I learn something new from your tutorials and your creative way of solving things.
@RezaDorrani
@RezaDorrani 3 ай бұрын
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.
@LindseyKyle
@LindseyKyle 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 3 ай бұрын
I already did that in the code that I used to copy and paste. So others dont have to do that.
@infoktkcreative
@infoktkcreative 10 күн бұрын
Amazing , thanks alots, recently stucked in this topic now Alhmdullilah solved
@RezaDorrani
@RezaDorrani 10 күн бұрын
Most welcome
@raj7sam
@raj7sam 3 ай бұрын
Superb idea. Solved so many doubts and got so many new ideas to play with it.
@RezaDorrani
@RezaDorrani 3 ай бұрын
Glad to hear that
@Mogwai-jn7cz
@Mogwai-jn7cz 3 ай бұрын
Your videos save me every time. So reliable. Thank you.
@RezaDorrani
@RezaDorrani 3 ай бұрын
Great to hear!
@youtube_Salim
@youtube_Salim 3 ай бұрын
Thanks Reza for this video and the tips for generating a PDF file.
@RezaDorrani
@RezaDorrani 3 ай бұрын
My pleasure!
@sbisca
@sbisca 3 ай бұрын
Thanks Reza ! Very useful for simple single-page PDFs
@RezaDorrani
@RezaDorrani 3 ай бұрын
Glad it was helpful! Note: The PDF generated can be multi page thanks to expandcontainers option shown in video.
@anilkumar-ml2sl
@anilkumar-ml2sl 3 ай бұрын
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 3 ай бұрын
Most welcome
@anilkumar-ml2sl
@anilkumar-ml2sl 3 ай бұрын
@@RezaDorrani Just facing an issue on how to generate PDF which contains charts as they are still not supported, any workaround please.
@RezaDorrani
@RezaDorrani 3 ай бұрын
@@anilkumar-ml2sl Not supported. I am not aware of any workarounds.
@jray1429
@jray1429 3 ай бұрын
Great job Reza. Thanks for sharing!!
@RezaDorrani
@RezaDorrani 3 ай бұрын
Thank you! Cheers!
@nabilsidrak4495
@nabilsidrak4495 3 ай бұрын
Great video, i was looking for this function for some time, Thanks!
@RezaDorrani
@RezaDorrani 3 ай бұрын
Most welcome
@akshaynm
@akshaynm 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 ай бұрын
Great to hear the feedback. This will be the pinned comment on video 😊
@akshaynm
@akshaynm 4 ай бұрын
@@RezaDorrani ☺️☺️🙏🏻
@Sarahshaikh786
@Sarahshaikh786 3 ай бұрын
Great video clearly explain each steps love the tutorial Reza
@RezaDorrani
@RezaDorrani 3 ай бұрын
Glad to hear!
@dougydoe
@dougydoe 4 ай бұрын
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.😁😁
@RezaDorrani
@RezaDorrani 4 ай бұрын
Thanks for watching!
@oluwatobiyusuf
@oluwatobiyusuf 3 ай бұрын
Thank you Reza. This is really helpful
@RezaDorrani
@RezaDorrani 3 ай бұрын
Glad it was helpful!
@mallelajyothi9819
@mallelajyothi9819 3 ай бұрын
Thanks for the informative video Reja..😊😊
@RezaDorrani
@RezaDorrani 3 ай бұрын
Most welcome
@mumialpi
@mumialpi 2 ай бұрын
You are great as always ❤
@RezaDorrani
@RezaDorrani 2 ай бұрын
Thank you so much
@elenagiraldo
@elenagiraldo 3 ай бұрын
I love you, Reza, you are the best.
@RezaDorrani
@RezaDorrani 3 ай бұрын
Thank You
@PonnaSamba
@PonnaSamba 3 ай бұрын
Thanks for created this type videos reza once again thank you
@RezaDorrani
@RezaDorrani 3 ай бұрын
More to come!
@spen2431
@spen2431 3 ай бұрын
Just brilliant 💥💥 Thanks for sharing 💥💥
@RezaDorrani
@RezaDorrani 3 ай бұрын
Thanks for watching
@minhvinhtube
@minhvinhtube 10 күн бұрын
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 10 күн бұрын
learn.microsoft.com/en-us/power-platform/admin/early-release
@HundreadMC
@HundreadMC 3 ай бұрын
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
@RezaDorrani
@RezaDorrani 3 ай бұрын
:)
@SantosChimal-r5m
@SantosChimal-r5m 3 ай бұрын
As always, great content.
@RezaDorrani
@RezaDorrani 3 ай бұрын
Much appreciated!
@kireetiyakkali
@kireetiyakkali 3 ай бұрын
Thank you so much Reza 😊
@RezaDorrani
@RezaDorrani 3 ай бұрын
My pleasure 😊
@DiveSafariNZ
@DiveSafariNZ 3 ай бұрын
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 3 ай бұрын
YAML is the new star in town!
@michaelhorjus2224
@michaelhorjus2224 3 ай бұрын
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 3 ай бұрын
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 3 ай бұрын
@@RezaDorrani That's great to know. Thank you so much!
@hi_vishy
@hi_vishy Ай бұрын
Awesome. Next level stuff.
@RezaDorrani
@RezaDorrani Ай бұрын
Glad you enjoyed it
@mtamitolanga
@mtamitolanga 3 ай бұрын
Thank you for sharing🙌🏾
@RezaDorrani
@RezaDorrani 3 ай бұрын
You are most welcome
@paolovr1970
@paolovr1970 3 ай бұрын
Love thanks Renza 🙏🙏🙏
@RezaDorrani
@RezaDorrani 3 ай бұрын
Most welcome!
@wallshider
@wallshider 26 күн бұрын
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 25 күн бұрын
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
@farhanmirza457
@farhanmirza457 4 ай бұрын
Thanks for the informative video
@RezaDorrani
@RezaDorrani 4 ай бұрын
My pleasure
@anthonytyler6850
@anthonytyler6850 Ай бұрын
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 Ай бұрын
Page breaks is not an option.
@kylecullenvdw
@kylecullenvdw 3 ай бұрын
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 3 ай бұрын
Great to hear!
@kylecullenvdw
@kylecullenvdw 3 ай бұрын
@@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 3 ай бұрын
@@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 26 күн бұрын
@@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.
@youngdataio
@youngdataio 4 ай бұрын
nice work as always
@RezaDorrani
@RezaDorrani 4 ай бұрын
Thank you! Cheers!
@9uile125
@9uile125 3 ай бұрын
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 3 ай бұрын
OnSelect does not work for attachments control. Not a supported feature.
@kanchankumbhar238
@kanchankumbhar238 26 күн бұрын
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 26 күн бұрын
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/
@ericzheng4838
@ericzheng4838 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 3 ай бұрын
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 ай бұрын
I had the same issue. I ended up putting the name and file data bits into the Named Formulas and it worked.
@ericzheng4838
@ericzheng4838 2 ай бұрын
@@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 2 ай бұрын
@@ericzheng4838 Thank you. Lower case fix worked.
@leslieshane9
@leslieshane9 2 ай бұрын
@@ericzheng4838 Thank you! I had the same issue. This fixed it .
@markmclean154
@markmclean154 3 ай бұрын
Great video Reza... Does it work well with HTML control?
@RezaDorrani
@RezaDorrani 3 ай бұрын
I have not tested with that control. Check documentation of pdf function to see how it works, or even better - give it a try.
@JonEricE-n1k
@JonEricE-n1k Ай бұрын
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 Ай бұрын
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)
@Rich-hm9ux
@Rich-hm9ux 26 күн бұрын
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 26 күн бұрын
Only 1 container is allowed. You can add containers within containers and point to the parent container.
@Y0urN3m3sis
@Y0urN3m3sis 3 ай бұрын
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 3 ай бұрын
Currently, there is no option to overcome that limitation.
@Y0urN3m3sis
@Y0urN3m3sis 3 ай бұрын
@@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 3 ай бұрын
@@Y0urN3m3sis Word doc is the answer for now.
@kolomagoulidis
@kolomagoulidis 3 ай бұрын
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 3 ай бұрын
It can generate pdf of all components in the screen but it cannot go across screens.
@pergurning
@pergurning 2 ай бұрын
Thank you. Can this be used for a gallery?
@RezaDorrani
@RezaDorrani 2 ай бұрын
Yes. My earlier pdf video did cover gallery.
@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 ай бұрын
I have no idea about the size or how can it be compressed
@hajaribr
@hajaribr Ай бұрын
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 Ай бұрын
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)
@wernermosimann7673
@wernermosimann7673 4 ай бұрын
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.
@willianrom
@willianrom 3 ай бұрын
Do you have any videos on how to create and download an Excel file with data from a gallery/collection/table?
@RezaDorrani
@RezaDorrani 3 ай бұрын
I do but wait 2 weeks. I have a video coming on that exact topic.
@willianrom
@willianrom 3 ай бұрын
@@RezaDorrani I'm looking forward to this video.
@neiltadatsin1575
@neiltadatsin1575 3 ай бұрын
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 3 ай бұрын
Pdf function only supports controls on single screen.
@jamiecairns9111
@jamiecairns9111 Ай бұрын
Could you give some guidance on the settings to have this work with a gallery inside a container
@RezaDorrani
@RezaDorrani Ай бұрын
Check my other video on pdf function
@jamiecairns9111
@jamiecairns9111 Ай бұрын
@RezaDorrani could you share a link please?
@RezaDorrani
@RezaDorrani Ай бұрын
@@jamiecairns9111 search “reza pdf” on youtube
@yomero1689
@yomero1689 4 ай бұрын
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.
@benjaminnzioki8815
@benjaminnzioki8815 3 ай бұрын
Thanks a million!
@RezaDorrani
@RezaDorrani 3 ай бұрын
Most welcome
@naveenkumarpenumalla7221
@naveenkumarpenumalla7221 3 ай бұрын
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 3 ай бұрын
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
@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.
@thankivinit766
@thankivinit766 3 ай бұрын
@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 3 ай бұрын
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 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.
@adarshmc8158
@adarshmc8158 3 ай бұрын
Hi Reza, can we use pdf function in production apps. I can see it is still an experimental feature.
@RezaDorrani
@RezaDorrani 3 ай бұрын
Its been experimental since years.
@MrNavin1987
@MrNavin1987 2 ай бұрын
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 2 ай бұрын
@@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 2 ай бұрын
@@RezaDorrani do you recommend using it in prod ? Because actually this takes very less time to implement than the Power automate approach
@RezaDorrani
@RezaDorrani 2 ай бұрын
@@MrNavin1987 Do I recommend: May be But with the acceptance of risk that there is an outside chance that something can break.
@kilaj1
@kilaj1 Ай бұрын
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 Ай бұрын
The feature does work fine. I'm not sure what's the issue with your team.
@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)
@MdArifulIslam-u8o9x
@MdArifulIslam-u8o9x 2 күн бұрын
instead of Form, is it possible to do with flexible height gallery? I have tried but it only print screen
@RezaDorrani
@RezaDorrani 2 күн бұрын
I have not tried with flexible height gallery. Might very well be a limitation if it's not working.
@sissokom.prodev9979
@sissokom.prodev9979 Ай бұрын
i get an error while click on the attachemnt to download saying : the file content not available on site !
@RezaDorrani
@RezaDorrani Ай бұрын
Video description has link to download entire solution (members only) As far as the mentioned issue, I have not experienced it, hence not sure
@powerplatforms
@powerplatforms 2 ай бұрын
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 2 ай бұрын
I dont think fixed headers and footers is an option
@drei263
@drei263 3 ай бұрын
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 3 ай бұрын
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.
@aladris5443
@aladris5443 2 ай бұрын
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 2 ай бұрын
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
@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
@elirdz
@elirdz 20 күн бұрын
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 20 күн бұрын
The code I showcased (copy pasted) has that info baked in.
@elirdz
@elirdz 20 күн бұрын
@@RezaDorrani I have forced the Name and Value into the items property for the attachment control as well. The error still happens.
@RezaDorrani
@RezaDorrani 20 күн бұрын
@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.
@johanU9989
@johanU9989 2 ай бұрын
do you need a premiun por create pdf?
@RezaDorrani
@RezaDorrani 2 ай бұрын
No
@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.
@erickiancohen4501
@erickiancohen4501 3 ай бұрын
Is it possible to select more than one record and generate a PDF for each record at once?
@RezaDorrani
@RezaDorrani 3 ай бұрын
PDF function can only create pdf of controls on 1 screen.
@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 ай бұрын
I have not tried this technique in custom pages
@Milyboy6412
@Milyboy6412 3 ай бұрын
@@RezaDorrani it worked .🥰
@gantyadaanusha7193
@gantyadaanusha7193 2 ай бұрын
What can I do with the PDF function to prevent cuts when there are 2 or more pages?
@RezaDorrani
@RezaDorrani 2 ай бұрын
You would need to explore premium 3rd party connectors for that.
@rainehardclarke7955
@rainehardclarke7955 3 ай бұрын
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 3 ай бұрын
Defining Page breaks is not an option with the pdf function.
@mrm8973
@mrm8973 3 ай бұрын
Hey nice video :) Is it possible to add an OnSet action to the attachments control?
@RezaDorrani
@RezaDorrani 3 ай бұрын
There is no onset action.
@jamesford7385
@jamesford7385 3 ай бұрын
How would we support galleries over multiple pages where the items are not cut off across pages?
@RezaDorrani
@RezaDorrani 3 ай бұрын
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.
@DaHooka
@DaHooka 3 ай бұрын
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 3 ай бұрын
oh might be working if we have them all in one form, let me play with it :) Thanks for sharing
@RezaDorrani
@RezaDorrani 3 ай бұрын
Yes
@fitosferenc
@fitosferenc 3 ай бұрын
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 3 ай бұрын
You can target 1 screen or 1 container. If all your other 5 containers are within a main container then target the main one.
@mohamedbamba5098
@mohamedbamba5098 3 ай бұрын
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 3 ай бұрын
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 3 ай бұрын
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
@susanteng3592
@susanteng3592 2 ай бұрын
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 2 ай бұрын
I'm not sure why the control values are coming empty in your case. This is not an issue I have experienced.
@frankschoenmaker9638
@frankschoenmaker9638 3 ай бұрын
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 3 ай бұрын
You can target a single container only. Idea would be to target a parent container in which you have other child containers.
@erickiancohen4501
@erickiancohen4501 3 ай бұрын
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 3 ай бұрын
I cannot guess where you could be going wrong. I have not experienced any issues with pdf function, hence not sure.
@jakubmaniak5865
@jakubmaniak5865 3 ай бұрын
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 3 ай бұрын
I have not faced any such issues. The app shown in video has been run as live app and on mobile devices.
@jakubmaniak5865
@jakubmaniak5865 3 ай бұрын
@@RezaDorrani hmm, thats weird. May I ask you what version of power app you are currently running?
@RezaDorrani
@RezaDorrani 3 ай бұрын
Whatever is the current latest version.
@uzoruchenna4863
@uzoruchenna4863 3 ай бұрын
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 3 ай бұрын
This feature has been experimental every since its announcement. I have no insights into why its still experimental or when will it go GA.
@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
@Anonym987-v9q
@Anonym987-v9q 3 ай бұрын
Hi Reza, Can you make approval using Business Approval kit?
@RezaDorrani
@RezaDorrani 3 ай бұрын
That’s not something I have explored. My knowledge there is limited.
@2007pradipta
@2007pradipta Ай бұрын
We can't create PDF for other screen other than Active screen ?
@RezaDorrani
@RezaDorrani Ай бұрын
No one can create that as it is not a supported feature of pdf function
@FarooqPathan-tm8ho
@FarooqPathan-tm8ho 17 сағат бұрын
if the data is more than 100 rows then pdf function taking time upto 5 mins to received or download the pdf
@RezaDorrani
@RezaDorrani 13 сағат бұрын
Check learn.microsoft.com/en-us/power-platform/power-fx/reference/function-pdf
@nav-it-consulting
@nav-it-consulting 2 ай бұрын
Hi Reza, do we need a premium license for using this functionality?
@RezaDorrani
@RezaDorrani 2 ай бұрын
No
@iplt20cricket
@iplt20cricket 3 ай бұрын
Need the PDF with page breaks , currently no way to do it :(
@RezaDorrani
@RezaDorrani 3 ай бұрын
That’s been a limitation ever since the function existed.
@sharepointdeveloper4386
@sharepointdeveloper4386 14 күн бұрын
Reza, When i tried to download the file its showing as couldnt download - No file
@RezaDorrani
@RezaDorrani 13 күн бұрын
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)
@koenjanssens4434
@koenjanssens4434 3 ай бұрын
does it support multiple pages (for long galleries?)
@RezaDorrani
@RezaDorrani 3 ай бұрын
Yes - ExpandContainers feature shown in video
@rainehardclarke7955
@rainehardclarke7955 3 ай бұрын
Hey @reza It does but it cut through the words how to fix this ?
@RezaDorrani
@RezaDorrani 3 ай бұрын
@@rainehardclarke7955 You mean cut through across pages? Page break concept is not an option.
@rainehardclarke7955
@rainehardclarke7955 3 ай бұрын
@@RezaDorrani thank you for your swift response how can I avoid this? It’s a major hurdle for me
@RezaDorrani
@RezaDorrani 3 ай бұрын
@@rainehardclarke7955 You would need to explore premium 3rd party pdf connector actions.
@monavarthibalakrishna3915
@monavarthibalakrishna3915 3 ай бұрын
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 3 ай бұрын
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 3 ай бұрын
@@RezaDorrani Got it. Thanks for your response
@umeshjyani7183
@umeshjyani7183 3 ай бұрын
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 3 ай бұрын
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.
@thomasboden4053
@thomasboden4053 3 ай бұрын
Is there a way to generate the PDF and then upload it to sharepoint?
@thomasboden4053
@thomasboden4053 3 ай бұрын
I tried using your flow for uploading with the pdf variable as name and content but guessing im missing something
@RezaDorrani
@RezaDorrani 3 ай бұрын
kzbin.info/www/bejne/qXyWiKaghs6kmbMsi=XM9L5Ot-Hzkt-GnF
@thomasboden4053
@thomasboden4053 3 ай бұрын
@@RezaDorrani thank you kindly
@infoktkcreative
@infoktkcreative 9 күн бұрын
Charts not being displayed when i PDF a page in powerapp, kindly tell me the solution why in pdf chart not displayed
@RezaDorrani
@RezaDorrani 9 күн бұрын
Check documentation on pdf function to see what elements are supported.
@infoktkcreative
@infoktkcreative 9 күн бұрын
@ it is powerapps chart builten chart
@RezaDorrani
@RezaDorrani 9 күн бұрын
@@infoktkcreative did you check the documentation?
@infoktkcreative
@infoktkcreative 9 күн бұрын
@@RezaDorrani please give your email address
@RezaDorrani
@RezaDorrani 8 күн бұрын
​@infoktkcreative why do you need it?
@liamfinlay2163
@liamfinlay2163 3 ай бұрын
I keep getting the following error when trying to download the document; "Coudn't download - No file"
@RezaDorrani
@RezaDorrani 3 ай бұрын
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
@saikiransannidhanam4121
@saikiransannidhanam4121 3 ай бұрын
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 3 ай бұрын
This is not a course but a video specific to pdf function.
@saikiransannidhanam4121
@saikiransannidhanam4121 3 ай бұрын
@@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 3 ай бұрын
@@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 3 ай бұрын
@@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 3 ай бұрын
@@saikiransannidhanam4121 Always good to ask questions. Thanks for checking.
@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 Ай бұрын
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 Ай бұрын
after clicking download getting error : file wasn't available on site
@RezaDorrani
@RezaDorrani Ай бұрын
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)
@XV-x5
@XV-x5 2 ай бұрын
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 2 ай бұрын
Worksheet?
@XV-x5
@XV-x5 2 ай бұрын
@@RezaDorrani sorry my container
@RezaDorrani
@RezaDorrani 2 ай бұрын
@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 2 ай бұрын
@@RezaDorrani Thanks
@xiansiang1240
@xiansiang1240 Ай бұрын
How to get the yaml code?
@RezaDorrani
@RezaDorrani Ай бұрын
I have shared that with members only. Video description has details.
Custom Validations in Power Apps Modern Forms | Tutorial
19:58
Reza Dorrani
Рет қаралды 20 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Create and Download Reports from Word Documents Directly in Power Apps!
23:09
Power Apps With Function - Explained
9:06
Power Apps Land
Рет қаралды 2,1 М.
Create Dynamic PDFs with Tabular Data using Power Automate
16:41
Reza Dorrani
Рет қаралды 56 М.
Named Formulas & User Defined Functions in Power Apps
13:41
Reza Dorrani
Рет қаралды 45 М.
DELEGATION in Power Apps | Must Know to build efficient Apps
13:00
Reza Dorrani
Рет қаралды 64 М.
[New in PowerApps] The new PDF() function is a gamechanger
28:50
R2Power - Lern PowerApps
Рет қаралды 37 М.
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1,2 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19