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 🙏🏻🙂
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.
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🙏
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 😊😊
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?
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)
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.
@@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.
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?
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!
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)
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, 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' :)
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?
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
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?
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?
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.
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.
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?
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
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?
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
@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
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 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?
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?
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.
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
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.
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?.
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 ?
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.
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
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 !!!
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)
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)
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?
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?
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.
@@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.
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.
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)
@@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
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 🙏🏻🙂
Great to hear the feedback. This will be the pinned comment on video 😊
@@RezaDorrani ☺️☺️🙏🏻
With all due respect to other power platform instructors, You are the best Power Platform instructor on this platform.🙏
Thanks so much for your kind words. Everyone is awesome!
You are truly a champion - every day I learn something new from your tutorials and your creative way of solving things.
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.
Your videos save me every time. So reliable. Thank you.
Great to hear!
Superb idea.
Solved so many doubts and got so many new ideas to play with it.
Glad to hear that
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.
I already did that in the code that I used to copy and paste. So others dont have to do that.
Great job Reza. Thanks for sharing!!
Thank you! Cheers!
Great video, i was looking for this function for some time, Thanks!
Most welcome
Thanks Reza ! Very useful for simple single-page PDFs
Glad it was helpful!
Note: The PDF generated can be multi page thanks to expandcontainers option shown in video.
Great video clearly explain each steps love the tutorial Reza
Glad to hear!
Thank you Reza. This is really helpful
Glad it was helpful!
You are great as always ❤
Thank you so much
Thanks Reza for this video and the tips for generating a PDF file.
My pleasure!
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.😁😁
Thanks for watching!
Thanks for the informative video Reja..😊😊
Most welcome
Thanks for created this type videos reza once again thank you
More to come!
As always, great content.
Much appreciated!
I love you, Reza, you are the best.
Thank You
Just brilliant 💥💥 Thanks for sharing 💥💥
Thanks for watching
Thank you so much Reza 😊
My pleasure 😊
Love thanks Renza 🙏🙏🙏
Most welcome!
Thank you for sharing🙌🏾
You are most welcome
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🙏
Most welcome
@@RezaDorrani Just facing an issue on how to generate PDF which contains charts as they are still not supported, any workaround please.
@@anilkumar-ml2sl Not supported. I am not aware of any workarounds.
Thanks for the informative video
My pleasure
nice work as always
Thank you! Cheers!
Thanks a million!
Most welcome
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.
@@RezaDorrani That's great to know. Thank you so much!
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 😊😊
YAML is the new star in town!
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?
Page breaks is not an option.
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?
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)
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 had the same issue. I ended up putting the name and file data bits into the Named Formulas and it worked.
@@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.
@@ericzheng4838 Thank you. Lower case fix worked.
@@ericzheng4838 Thank you! I had the same issue. This fixed it .
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
:)
Thank you. Can this be used for a gallery?
Yes. My earlier pdf video did cover gallery.
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?
I have no idea about the size or how can it be compressed
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!
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)
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?
Currently, there is no option to overcome that limitation.
@@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 🙏
@@Y0urN3m3sis Word doc is the answer for now.
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' :)
OnSelect does not work for attachments control.
Not a supported feature.
Great video Reza... Does it work well with HTML control?
I have not tested with that control. Check documentation of pdf function to see how it works, or even better - give it a try.
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?
It can generate pdf of all components in the screen but it cannot go across screens.
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?
The feature does work fine. I'm not sure what's the issue with your team.
i can't seem to get the copy code option, could i get steps to complete download pdf without that?
You can try downloading the solution shown in video (members only - check video description for details)
Could you give some guidance on the settings to have this work with a gallery inside a container
Check my other video on pdf function
@RezaDorrani could you share a link please?
@@jamiecairns9111 search “reza pdf” on youtube
Hi @Reza, thanks for video. I have small doubt if we have multiple pages in the pdf is that generates in this function?
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
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?
I dont think fixed headers and footers is an option
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?
Pdf function only supports controls on single screen.
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.
Great to hear!
@@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.
@@kylecullenvdw Did you try downloading the app I shared for members?
@@kylecullenvdw Did you found a solution ? I have the same error!
Great work, how do I replace dataverse for Share point list
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.
What can I do with the PDF function to prevent cuts when there are 2 or more pages?
You would need to explore premium 3rd party connectors for that.
Do you have any videos on how to create and download an Excel file with data from a gallery/collection/table?
I do but wait 2 weeks. I have a video coming on that exact topic.
@@RezaDorrani I'm looking forward to this video.
This is really useful, but it doesn't print the Chart used in the container, is it possible to print the chart as well 😅
Pdf does not support certain controls. Check documentation for limitations.
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?
I have not checked with html text type control. Check pdf function documentation for limitations
nice, does this work in custom pages ? as print function doesn't work in custom pages or embedded canvas
I have not tried this technique in custom pages
@@RezaDorrani it worked .🥰
Hi Reza, can we use pdf function in production apps. I can see it is still an experimental feature.
Its been experimental since years.
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
@@MrNavin1987 I have used this specific one for years now without issues. However, at the end of the day, it is an experimental feature.
@@RezaDorrani do you recommend using it in prod ? Because actually this takes very less time to implement than the Power automate approach
@@MrNavin1987 Do I recommend: May be
But with the acceptance of risk that there is an outside chance that something can break.
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?
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
@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
Reza, why you use JSON function? since it can work without it?
I don't remember why. Probably just to place safe.
I keep getting the following error when trying to download the document; "Coudn't download - No file"
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 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?
I'm not sure why the control values are coming empty in your case. This is not an issue I have experienced.
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?
I cannot guess where you could be going wrong. I have not experienced any issues with pdf function, hence not sure.
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.
i get an error while click on the attachemnt to download saying : the file content not available on site !
Video description has link to download entire solution (members only)
As far as the mentioned issue, I have not experienced it, hence not sure
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
Wow that's very exciting, thank you
unfortunately I don't have a dataverse, how can I replace this with a sharepoint list
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.
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?.
You can target 1 screen or 1 container. If all your other 5 containers are within a main container then target the main one.
We can't create PDF for other screen other than Active screen ?
No one can create that as it is not a supported feature of pdf function
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 ?
Defining Page breaks is not an option with the pdf function.
Hey nice video :) Is it possible to add an OnSet action to the attachments control?
There is no onset action.
Is it possible to select more than one record and generate a PDF for each record at once?
PDF function can only create pdf of controls on 1 screen.
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.
@@RezaDorrani Got it. Thanks for your response
Hi Reza, do we need a premium license for using this functionality?
No
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
I have not faced any such issues. The app shown in video has been run as live app and on mobile devices.
@@RezaDorrani hmm, thats weird. May I ask you what version of power app you are currently running?
Whatever is the current latest version.
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 !!!
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)
Great timing, is it safe to assume that this feature will be coming out of preview in the not so distant future?
Its been in preview since 3 years if not more. Im not sure what is the GA date for pdf function.
can M365 business basic use PDF function?
Pdf function is an standard action. As long as user has license to run power app, then yes
How would we support galleries over multiple pages where the items are not cut off across pages?
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.
after clicking download getting error : file wasn't available on site
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)
Unfortunately, the PDFs generated with this method do not display checkboxes correctly - they always display as unchecked.
Pdf function is an out of the box feature that is currently experimental. Probably there is a limitation with checkboxes
modern checkboxes work with the pdf function. Classic checkboxes do not.
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?
This feature has been experimental every since its announcement.
I have no insights into why its still experimental or when will it go GA.
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?
You can target a single container only. Idea would be to target a parent container in which you have other child containers.
do you need a premiun por create pdf?
No
Hi Reza, Can you make approval using Business Approval kit?
That’s not something I have explored. My knowledge there is limited.
does it support multiple pages (for long galleries?)
Yes - ExpandContainers feature shown in video
Hey @reza It does but it cut through the words how to fix this ?
@@rainehardclarke7955 You mean cut through across pages? Page break concept is not an option.
@@RezaDorrani thank you for your swift response how can I avoid this? It’s a major hurdle for me
@@rainehardclarke7955 You would need to explore premium 3rd party pdf connector actions.
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.
Need the PDF with page breaks , currently no way to do it :(
That’s been a limitation ever since the function existed.
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?
Worksheet?
@@RezaDorrani sorry my container
@XV-x5 I have not experienced any issue with it hence not sure. I suggest posting your issue on forums
community.powerplatform.com/
@@RezaDorrani Thanks
I'm new to Power Apps and Developing Applications as well. So, Will this Power Apps course help me to become expert in this ?
This is not a course but a video specific to pdf function.
@@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.
@@RezaDorrani okay, Thank you. Yes I understand, however due to the course price I just wanted to have a check once before joining.
@@saikiransannidhanam4121 Always good to ask questions. Thanks for checking.
Is there a way to generate the PDF and then upload it to sharepoint?
I tried using your flow for uploading with the pdf variable as name and content but guessing im missing something
ua-cam.com/video/sK3WsjQiqcQ/v-deo.htmlsi=XM9L5Ot-Hzkt-GnF
@@RezaDorrani thank you kindly
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.
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.
@@RezaDorrani yes, you are right. Good advice
when i click on the file it says coulndt download the file. why?
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)
@RezaDorrani I found out. It was because it had to be on the same screen
@@ellgee9402 which was as shown in video 😃
I try it but it "Couldn't download: No file", any help with this
Now it works when I copy from new modern form
Looks like you got it to work based on your response comment
@@youthjeitana2935 i have similar case. Did you mean copy attachment control from new modem form for fixing ?
Nice would be to generate a PDF with attached pictures, as we now need to work that out with a power automate flow
oh might be working if we have them all in one form, let me play with it :) Thanks for sharing
Yes
can I do this without premium account?
Pdf function is not a premium feature
Is there a way to create the pdf and automatically add it as an attachment to a form before it submits to a list?
Probably possible. Not sure if I have covered this or not in one of my earlier pdf based videos.
@@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
I would suggest checking on the forums then in case someone has done something similar powerusers.microsoft.com/