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 🙏🏻🙂
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!
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.
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 😊😊
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🙏
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?
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.
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 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.
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
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.
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?
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?
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.
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.
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.
@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
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
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 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 🙏
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?
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 ?
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' :)
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?.
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.
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
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
@@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.
@@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.
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
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.
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)
Pdf function is a standard action. There is no licensing needs here. Check documentation for limitations of pdf function. Not all controls are supported.
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?
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.
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