cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
amacaulay
Microsoft
Microsoft

Print not working for customized forms in sharepoint online lists

I was testing a print button that onselect will use the Print() function to print the screen. It will not work because "allow modal" is not turned on. The actual error is: Ignored call to 'print()'. The document is sandboxed, and the 'allow-modals' keyword is not set. How would I get around this?

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @amacaulay ,

 

Here is the official doc:

https://docs.microsoft.com/en-us/power-apps/maker/canvas-apps/functions/function-print#known-limitat...

 

Known limitations:
The Print function currently doesn't work on mobile devices and on SharePoint forms.
The Print function currently doesn't work on custom pages or embedded scenarios.
The default browser printers are the ones that will be available to print to.
In some browser print dialogs, a setting called Background graphics should be enabled to see all the images and colors in the print.

 

Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
v-jefferni
Community Support
Community Support

Hi @amacaulay ,

 

Here is the official doc:

https://docs.microsoft.com/en-us/power-apps/maker/canvas-apps/functions/function-print#known-limitat...

 

Known limitations:
The Print function currently doesn't work on mobile devices and on SharePoint forms.
The Print function currently doesn't work on custom pages or embedded scenarios.
The default browser printers are the ones that will be available to print to.
In some browser print dialogs, a setting called Background graphics should be enabled to see all the images and colors in the print.

 

Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,245)