Power Apps PDF Function Introduction | Create PDF Documents from Screens, Galleries & Containers
Вставка
- Опубліковано 8 лип 2024
- Power Apps Tutorial video introducing the new PDF function.
Power Fx PDF function allows us to create PDF documents directly from PowerApps screens, galleries and containers.
The generated PDF Blob can be leveraged to showcase the PDF in a PDF Viewer control in Power Apps, or send an email with PDF File attachments from Power Apps or save the generated PDF File to a data source like SharePoint Document Library with the help of Power Automate flow.
PDF function video in Power Apps covers the following:
✅ PDF Function introduction
✅ PDF function options (Orientation - Landscape or Portrait, Size - Paper Size A1,A2, etc., Margin, DPI and ExpandContainers)
✅ PDF function Expand Containers (Shows all gallery items, can be used for Scrollable screen, form control, DataTable, etc.)
✅ Generate PDF from Power Apps Gallery or Collection or Data Table
✅ Generate PDF from Power Apps Screen
✅ Generate PDF from Power Apps Container
✅ Generate PDF from Power Apps Form Control
✅ Send PDF as email attachment from PowerApps
✅ Save PDF generated in Power Apps to SharePoint
✅ Generate PDF in PowerApps from SharePoint List Item Attachments (Camera, Pen Input, Upload Picture).
#PowerApps #PDF #powerfx #sharepoint
Keeping up to date with the latest on the Power Platform is a challenge & I hope this video series has you covered on the recent updates.
📝 Make sure to set App Authoring Version to latest available and check for settings to enable PDF Function feature.
Helpful Links 🔗:
New Power Fx Function - Create a PDF from Power Apps with PDF functions
mofumofupower.hatenablog.com/...
Power Apps SharePoint List Attachments | Save Camera Pictures, Pen Input & Images
• Power Apps SharePoint ...
Table of Contents:
00:00 - Introduction to PDF Function in Power Apps
00:41 - Power Fx New PDF Function definition
01:32 - Generate PDF from Screen
and Display in PDF Viewer
02:33 - Generate PDF from Gallery
02:56 - PDF Function Options
04:12 - Expand Containers in Power Apps
05:15 - Send PDF as Email Attachment from Power Apps
07:24 - Generate PDF From Container
08:28 - Generate PDF from SharePoint List Item Attachments
11:05 - Generate PDF From Multiple Controls
(Container)
12:03 - PDF Function in Action
12:24 - Generate PDF from Power Apps
& Save PDF File in SharePoint Document Library
16:01 - Subscribe to Reza Dorrani channel
🤝 Let’s connect on social:
🔗 Reza Dorrani LinkedIn: / rezadorrani
🐦 Reza Dorrani Twitter: / rezadorrani - Наука та технологія
The quality of the videos, the speed of the delivery and the content has, in my opinion, jumped to a whole other level. These videos are very professionally put together. The animated marker that you're using looks great. Keep it up and a huge thanks for taking the time to inform and educate us.
Wow, Thank You so much! Your feedback has made me so happy.
A lot of effort goes into creating and editing the content.
@@RezaDorrani it shows! Thank you for your hard work and for sharing your knowledge!!!
Honestly: I didn't think you could get any better. But this video is so incredibly full of new things to learn beyond the actual PDf function. Thanks for taking the time to create and share this video!!
Wow! Thanks for the awesome feedback Reiner.
Just want to thank you as always for helping me learn so many new features that are hard to keep up with. You are a rockstar!
Thank You
Hi Reza. I just finished developing my first Power App and used many of the functions you describe in many of your videos. I spent almost a month learning Forms, Galleries, relational sharepoint lists, Patch, and finally PDF(). It is an app that will serve my wife's nutritionists clinical practice. I also developed a few basic apps for my construction management company and people really liked them and adopted them quickly as a standard business practice. I want to thank you for your videos as they have truly been an inspiration to learn and put into practice the concepts you explain so clearly. I feel that I am standing on the shoulders of giants.
I'm thrilled to hear about your successful Power App development journey. It's amazing to see how you've applied the concepts from my videos to create practical solutions. Keep up the fantastic work, and remember, the learning journey is ongoing. Best of luck with your future endeavors.
Another Great Video Reza! As others have said, you are consistently creating very valuable and easy to understand content. In addition to improved user experience this improved my app performance and reduced number of steps in power automate from around 25 down to just 3. I really appreciate all that you do. Thank you!
Thank You for the feedback and glad to hear about the performance improvements.
Reza, here in Brazil we're always talking about the meme "there's always a indian guy on youtube to teach you something you need".
But your more than that, your a professional, educator and a live saver. A lot of your work here on this platform, helped me to improve a good part of my business process.
Thank you so much!
Thank You for all the 💗 & support
Como siempre, muy bueno. Gracias Reza!!!
Thank You
Hi Reza, Thank you for a detail and clear explanation . Always enjoy your videos and learn new things. Really appreciated!
My pleasure!
Everything Reza does is fantastic. I've been too busy this past summer to even look at Office365 stuff. This winter I'll be able to finally finish some Power Apps and Flow projects
Thank You Carl
@@RezaDorrani Telling facts.
Thank you Reza, your videos are always great!
Thanks so much for watching
Thanks a lot Reza, keep up the good work and share of all these functionalities that, as I'm seeing, many of us don't know if it wasn't for a video like yours. Thanks!
Most welcome and thanks so much for watching the videos
The best PowerApps channel.
I agree :)
Dear Mr. Reza, you are always my barrier breaker in my Power Apps journey, thank you so much for this video.
My pleasure
Power Apps just keeps getting better and better. Love this feature, thanks for sharing Reza 👍
Glad you liked it! Thanks for watching Gerard.
Reza, your job is amazing! I'm glad you share your knowledge with us!!
My pleasure! I enjoy the process of creating content.
That was simply great! Thanks Reza!!
Most welcome
Thank you, Reza. Saved my day !!!
Most welcome
Mr Reza, thanks again! You're the power apps goat! ⭐
Thank You
Thank you!
I hope they keep adding more pdf functions in the future. Like putting a text or image to an existing pdf file.
Let’s wait and watch 😊
You have always been awsome with the content you cover. Thank you Reza for your efforts
My pleasure!
👏👏👏 Thanks for this. I just added a major enhancement to one of my projects.
Glad to know that! Thanks so much for watching
Really great style of explanation and implementation , thank you man!
You’re most welcome!
The way you explain makes the topic more understandable and interesting. I always follow your channel to update my self related to powerapps and power automate. Keep going. You always rocks buddy 🙂
Thank You so much
Super love this video. Much easier than I did through Power Automate. Thanks for your sharing Reza. ❤
Most welcome
great video Reza. TYVM! cheers!
Most welcome
These videos are amazing, the presentation and how it's explain. These app seem great. do you have any video that shows them in detail. I've watching a lot of your video and also learning a lot from you. I think you're probably one of the best out there when it comes to the power platform. Thank you and keep putting great stuff out there
Thank You so much for your kind words.
I do have a detailed video on responsive design with help desk app - ua-cam.com/video/1o2L0DADzKQ/v-deo.html and gallery designs - ua-cam.com/video/bnC8u3gdWss/v-deo.html
Most awaited
👍
Saving my day as always! thanks a lot my dear friend!
Happy to help!
This is awesome!!!
This feature is awesome!!!
Simply impeccable! what an excellent video!
Thank you! Cheers!
Thank you for this great video. This works with Customized Sharepoint forms as well. I added the SharePoint form inside the container and used this formula PDF(yourContainerName,{ExpandContainers:true})). Make sure PDF button is outside the container and Reorder = Bring to front.
Thanks Ranjit for sharing the SharePoint customized list forms scenario.
Thank you, I was going mad to find a solution.
@@im02bad this PDF function doesn't work well for Rich text or mutiline text controls. Since it is an experimental function, hopefully it will improve in the future.
Thank you... you save me, man... very thanks!!!
Most welcome
Huge help with this, was looking for a solution to a problem and this was great information to understand how to use this feature to accomplish what I was after.
Glad to hear that! Thanks for watching
This was a really great video, thanks Reza! I hope the product team can eliminate the need for flow to save or download the converted PDF file!
I agree on the flow part
Amazing Function to use! Hopefully in a future update they will be able to auto shift gallery items so they do not get split in half across different pages.
Great feedback! I will let the team know.
@@RezaDorrani any solution for this? I need professional invoices that can be many pages long, I cant have values being cut in half
Thanks Reza. A great video once again. Well explained👍👍🤗.This will make my life much much easier. 😄Thank you so much.👍👍🤗🤗👍
You're welcome 😊
Reza, Thank You for a very detail and clear explanation of this new feature. Always enjoy your videos. Hopefully we will see in the very near future UI/UX videos featuring Figma to PowerApps option.
In my backlog which is growing by the day.
@@RezaDorrani its nice to be wanted.
As Usual you nailed this feature with perfect explanation and easy to understand language my dear friend Reza even a common man like me can understand in a cleaner way. Keep doing videos like these.
So happy to hear the feedback! Thank You so much for watching.
Great content like always. Thanks Reza :)
Most welcome
Great tutorial. I spent 24 hours trying to get the PDF stored in sharepoint document library. Thanks for detailed tutorial.
You're welcome!
Thanks. You've helped me a lot learning power apps keep up the good work.
Glad to hear that! Thanks for watching the videos.
Thank you for the fantastic video.
Most welcome
Thanks for another great video
Most welcome
Hi Reza, once again amazing video and with simple and details explanation.
Thanks
Thank you very much @Reza for all the explanations, demonstrations and tricks, you are great🙂
My pleasure!
@@RezaDorrani please I have a question: what is the solution for hiding an icon during printing in PDF (example icon on sceen we set Visible --> "Not(screen.printing") but for an icon on the container does not work "Not(container.printing), thank you in advance
@@youtube_Salim Printing in PDF? Print and PDF are 2 separate functions.
Screen.Priniting is specific to print.
For PDF, idea would be to set a variable before calling pdf function, use value of variable to hide things on screen, then call pdf function and then reset the variable.
@@RezaDorrani Thank you for this clarification and thank you again for this great idea to hide the icons before the PDF function. 😇
Thanks Reza!!. very useful content.
Thanks
Very nice content! Tks for sharing!
Glad you enjoyed it
You are a Hero my good sir.
Thank You Sir
Thanks. Really helpful
You're welcome!
I do have PDF in experimental section at this time. Can't wait to have it !
It will rollout to all regions
You are my teacher thank you sir .
You are most welcome
Thank you so much for your valuable sharing knowledge.
Most welcome
Thanks Reza very well explained , Thank you
You are welcome!
This is a masterpiece content.
Thanks
This is fantastic.
Thanks
Triple Thank You.
Most most most welcome
Great explanation. Thanks Reza
Most welcome and thanks for watching
I can only imagine how many of us waited for this feature. I designed a Time Off calendar that looks beautiful on screen, but there has never been a way to PDF that calendar and email to a user. I settled on a flow to "recreate" the calendar screen with a ton of "Append to variables" to build up an HTML page. Works okay, but is a bit complicated and takes 1 minute to run. I'm hoping this will help me kill that flow and speed things up.
In early playing, I see you can't PDF another screen. It has to be the current screen you're on. So, will see if I can navigate screens, PDF, then navigate back.
Navigate pdf and back would be the option
Excellent . Very helpful feature. Now power apps truly becoming low code app by adding new functions more often.
Glad to hear that!
wah... what a timing😁 from last one week i was looking for😁😁 thank you Reza
It’s all about the timing :)
but I cannot see this feature to enable in settings..why so? is it not rolled out for all the tenants?
@@HareKrsn213 app authoring version needs to be latest + feature may not yet be available in your region.
@@RezaDorrani ohk Reza I will wait...Thank you☺️
Wow thank you so much Reza
Your most welcome
Thanks Reza for sharing this
Most welcome
Awesome video that I'm just having one requirement on printing multi-page gallery that I was having headache on. Now not any more. Thanks again Reza! 😁🤩
Most welcome
@@RezaDorrani Thank you for the video, it is a life saver. One quick question how do you capture the full lists form with the PDF function. I have captured the lists form in a container and have linked the container to the PDF function. However the PDF extract only shows what's on the screen that is the visible part of the form. Please help how should I use the expand function in the formula below for the Form.
Office365Outlook.SendEmailV2(User().Email,"CAA TASK SUMMARY","PDF CAA TASK SUMMARY",{Attachments:Table({Name:"TASKSUMMARY.PDF",ContentBytes:PDF(DashboardContainer)})})
@@im02bad Use ExpandContainers - It is shown in video
@@RezaDorrani Thank you for responding to my query. Expand container function is not recognised for some reason and returning an error
@@im02bad Might be a bug. Post it on the forums powerusers.microsoft.com/
Thanks, very handy
Happy to hear that
Apart from PDF function, one more important thing i learned is, inserting data table in containers. Its a huge relief. And Can you also tell me, how to insert pdf viewer in containers?
Thanks in Advance!!
Thanks for the Awsome video. Thank you so much Reza!!
I have not tired inserting pdf in containers.
Awesome video, Reza! Really excited about this feature. I haven't had a chance to try it myself yet, but do you know if this function supports nested Galleries?
Thanks!
I have not tried with nested galleries. I avoid nested galleries :)
When you try it, do let me know.
@Reza, thanks for the video. Not sure if it is a bug, but I've noticed it removes the selected radio button value once PDF function is invoked, the rest or next record will also be affected as well.
Might be. Its a preview feature.
Nice. Do you have insight on how this will work with multi line text boxes? I’m wondering about a text based report scenarios where we may have implemented page screens in the past for printing to PDF. Please report sizes are limited by the page screen real estate so I’m wondering if this PDF functionality can get around that and still provide a structured format.
ExpandContainers option works with data tables, galleries, scrollable screens etc.
I have not tested with multi line text boxes.
Hey love your tutorials they're really well thought out and easy to understand!
12:05 - Have a question about the PDF Function in Action section. Noticed the icon/images next to the names dissapeared. I'm having the same issue with not all images being able to PDF correctly, some coming through and others just blank. Do you have a solution for this issue?
Thanks.
Pdf is experimental/preview feature. It has limitations in terms of certain controls. I don’t have a workaround for it.
damn if this new PDF function was already available back then, I don't even need to create an html then convert to pdf via automate grr. Nice function though and nice vid!
Time to update some old apps.
Hi Reza, I appreciate your videos so much! They are always extremely informative and detailed, you are a GREAT teacher!!! Do you have tips on how to create page breaks in the PDF? I'm using HTML and pen input controls for a signed agreement and I'm having issues with the page breaks. At times a line of text is split in such a way that the top of the text is on the bottom of one page and the bottom of the text (for the same line of text) shows on the next one.
Thanks Mona!
Page break is currently not a feature of the PDF Function.
You would need to look into 3rd party premium actions that offer advanced pdf generation capabilities.
@@RezaDorrani thanks for the QUICK reply!
@@MonaVelazquez Actually for anyone looking for this, found the solution, you have to set a certain height to your page something like this in your HTML before inputting your data:
Problem is now if your content is dynamic, it will break after the 1866 px, in that case you can set this if you want to avoid it to break in between your table or something like that:
but that's as far as I managed to make it.
Thanks Reza 🙏🙏🙏
Welcome
Thank you so much for your videos !!! I tried to send a mail including the form control, and it seems the pdf generated only shows the first "row" of data cards in the Form control, if the data cards in the form control are organized in more than one row (in you example it is one row), only the first row is shown in the pdf. Am I doing something wrong?
I did not run into this issue so not sure.
I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
Reza, thank you soooooo much for this video. I echo others in saying your videos are simply wonderful! For my situation (as for many others), the final step for a PDF is either email (which you cover), or printing. At present, it looks like I can view the PDF Blob in the PDF Viewer, but I cannot push it from there to either print, download, or go to a browser (any of these 3 would help my end user). It looks like all printing requires a file/url at present, but that requires time and bandwidth to process, when all the information is already at hand in the PDF Blob. Am I missing anything in this analysis?
Thanks so much!
Print function in Power Apps (have done a separate video on it) is limited to single page printing.
Pdf only generates blob. You can email it or store it in a data source and then allow user to download from that location.
Im sure there would be some way to download from that generated blob as well but is not something I have investigated on.
Thank you for the response. Sending the blob directly to a print dialog or download (without having to save to a datasource) is my ultimate goal as that would eliminate a step and should theoretically be faster.
@@brucethiessen5972 I understand. Not sure if there is a way though. If I get a lot more folks requesting this, Il plan to investigate on this.
Thank you for this Reza, it really helped me out, as your videos always do. I wonder if you have heard or found that the Expand parameter has no effect on flexible height galleries, as has been my experience. Switching gallery from flexible height to any other format fixes the issue where gallery content off the page didn't appear in PDF. Hope it saves someone a bunch of troubleshooting time.
Flexible height are not supported. Documentation must have the limitations called out.
Thank you very much for the information, any question? If I wanted to download that PDF document from the same application screen, it would be possible, I don't know if I'm explaining myself, I don't want to use the pdf viewer, if not download the document, similar to the Print() option.
Thank you very much
Currently, it is a limitation.
Very helpful
Thanks
Thanks for sharing Reza!
Quick question over here. On a button’s OnSelect property, I navigate to another screen with a container, PDF the container, and send it via email using the Outlook connection, and eventually navigate back to the initial screen receiving notifications after each stage.
What I’ve mentioned works well in Edit mode, but when app is in Run mode, I just receive all the notifications at once without any actions taking place. Any idea why?
I have not come across this issue and hence not sure what is the cause for your issue. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
Thanks Reza, your videos are great.
If I have multiple containers, or screens that I would like to add to one PDF is that possible?
something like Screen1, Screen2 and Screen3 would all get separate pages in one PDF?
Most welcome!
Pdf function only works for single screens.
Hello Reza,
I greatly appreciate the dynamic content you consistently provide. I've learned a great deal from it. However, I have a curiosity regarding an aspect of your presentations. Could you possibly guide me on how to display multiple galleries in the same PDF viewer? Your insight on this matter would be truly beneficial and highly valued. Thanks in advance.
Most welcome!
Pdf only works on single screen.
This is the only video reference I have.
Hi Reza, Thank you for your videos, they have been extremely useful on my journey to building some business apps for our company. I am struggling with one thing though. Following your tutorial has allowed to produce a really nice looking PDF but, I have a pie chart on the screen and when that comes out on the PDF, it is just a black box. Can you suggest where I might be going wrong?
Pie charts are not supported in pdf. Check documentation for limitations in pdf function.
Thanks a lot Reza! Top notch explanation as always.
Since PDF() function is experimental, would you recommend to use it in production applications?
When in preview, then you can use it in production.
When experimental, No.
@@RezaDorrani Thanks for the reply! I couldn't see this feature in my app settings. Is it being available in specific regions only?
@@kireetiyakkali Make sure app authoring version is latest.
Hi Reza, thanks for your tutorial. It help me a lot!
Most welcome
Another great video, Reza. Unfortunately I couldn't follow along as I normally do as it appears the PDF function is now showing in the Settings, under Experimental as yet (I guess it's just been released so not in most Tenants as yet). Will come back to it and try it out as soon as it appears. Thanks for sharing. Really handy feature it promises to be. 😀
You would need app authoring version to be 3.22094 or up in order for the feature to show up.
@@RezaDorrani Thanks Reza. Will take another look to see which version I currently have. 👍
Thank you for a great and helpful video! But i want to ask, can I set the PDF name with variables (for example : Help Desk Stephanie --> connected with inputted name)? Because if we set a static text, the file will be replaced everytime I create the PDF. Thank you ^^
I believe I was calling flow to create the file. You can always pass another param as the name which can be a variable.
Hi, thanks for your great video. My generated PDF encountered weird spacing error with Bold and Semibold Appearance when I use PDF function. Do you know what font we should use or how to to avoid such error? The fonts I have used are Open Sans, Segoe UI, Arial for text and htmltext control. The HTML Text Control use data from SP List with enhanced rich text option turned on (rich text is enable in this multiple lines of text with different font weights like bold, semi-bold, etc).
Thanks!
I am not aware of what limitations pdf function has. I would recommend checking the documentation.
I have not tried with different fonts so not sure.
Thank you for the great video . What if we have multiple tabs with data inside ? Also one of the table two page worth of data and the print function only capture a small portal and i cannot scroll down either .
Print only works for single screen.
You would need to flatten out tabs in a single screen.
Hidden sections wont show up.
Thanks for sharing all your excellent content. How would I go about printing several documents as a batch into a single PDF file? In my scenario, I have varied file types such as docx, pdf, png, jpg and xlsx. These are stored in a document library and listed in a gallery control.
Pdf supports single screen only. No batch processing actions available.
Thanks Reza 🙏🙏🙏🙏
Most welcome!
in one word perfect. I have a question. I noticed that the data displayed in the horizontal position in Power Apps is displayed in the vertical position when I transfer the PDF. is it possible to set this as it is displayed in the PDF environment as well?
I did not come across that.
You can define orientation for your pdf.
Hello Reza, Thank you for this wonderful walkthrough session.
A quick question: I am unable to use a DataTable inside Containers in order to create a PDF of that Table.
Any guidance on that would be very helpful. Thanks in advance! :)
I don’t exactly remember but I think I put a label control inside container and then copy and paste a datatable inside the container.
This is awesome, as I recently was using the Print function and having people save it themselves instead of automating it (didn’t want to go through the OneDrive method). Can you include multiple containers or screens into a PDF? Or would I just have to make an additional screen/container with everything I would want from multiple screens and push that one screen/container through the PDF function?
You can only target 1 control.
The control must be on the screen from where pdf function is being executed.
So even if I had a container with everything I wanted in the PDF, it needs to be visible or just listed active screen? In other words, is it possible to push a hidden container to a PDF as long as it is a part of the active screen?
@@jonathanwalker2543 Cannot be hidden. Must be actively visible.
You can always set a variable on button click which makes it visible, then take pdf and then set visible to false.
Reza is the GOAT...
Wow! Thanks
Hi Reza, You helped me a lot and I am still new in powerapps , I just have a question regarding the multiple attachment controls I do all the steps and it works well but in my case, I need to remove the attachment from each control and it works well but in the share point list the attachments still there I must remove them from the main attachment and I don't want to do that any advice? Thanks
I have done many videos on list item attachments. Check those
Hi Reza. I have a case where they want to receive an email with the generated PDF as well as any uploaded attachments.
I was able to follow your steps to save the PDF to sharepoint library. And I was able to use Get files and Get attachments to save the attachments in an Array Variable.
I thought I would then be able to append to the same array the file name and contentBytes from the trigger body and then use the variable in the attachments section of the SendEmail.
This seemed to work - but the PDFblob created attachment will not open.
The error is "Adobe Acrobat Reader could not open 'PDFblob.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was snt as an email attachment and wasn't correctly decoded)." The other files created for the Get Attachments open just fine.
Any ideas on why this might be?
No idea. I will have to look at your flow in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com
This is a great video, as always. Do you know if generating a pdf from multiple controls will work with flexible height galleries? I just asked the Power App community the same question, so hopefully, I'll get an answer back there. Since you already had a great video on the expandable control, I thought I would ask you also in case you might know. I've got a similar report, but works like an excel report with varying height for the comments so the verticle gallery doesn't work. I just can't get the flexible height gallery to go to the second page or it cuts off rows mid-sentence (when the flexible height gallery wasn't set to fill the page). Maybe you are aware of a different approach to saving an Excel-like report to pdf?
I dont think there are any workarounds for cut off rows in PDF function and there are limitations with flexible height galleries.
@@RezaDorrani Thanks for the info. I'm finding the same in my research. If I find otherwise, I'll let you know. My workaround is to build a report in Microsoft Access for now.
You always nailed it and your videos demonstration are so easy to understand and implement. I tried to find the function to enable it but couldn't find in my environment. Is there any reason for it? and does this new function work on Forms?
app authoring version needs to be latest + feature may not yet be available in your region.
I love your videos. They are so clear and easy to use. I have tried some other videos but they are not as good as yours.
Is there a way I can send the email to a different email address other then the users email?
Thank You!
You can add a text box where user can enter email and use that value to send the email to.
Hi Reza, great video. Question please, I took advantage of the encodeuri option in the past, with pdf viewing sharepoint document libraries, 2 see office and pdfs. Does this option at all take advantage of sharepoint document libraries instead of using, if .pdf consider encodeuri?
This is a native function. It can generate pdfs from power apps controls only.
@@RezaDorrani Cools thanks for the insight.
Thanks for this tutorial video of PDF function. I have one question 1. Is it possible to print tabular data with header repeating in every page with this PDF function?
Can you guide us why this feature is not showing in my power apps settings.
1 - feature is in preview. You need to be on latest app authoring version.
2 - header repeating in every page is a limitation since we need control on pave breaks which we do not have (as far as I know)