web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Printing Sharepoint fi...
Power Apps
Unanswered

Printing Sharepoint files via canvas app

(0) ShareShare
ReportReport
Posted on by

Hello,

 

Does anyone know if it is possible to print files saved in Sharepoint from a canvas app?

 

My current application has access to these files, but I can only open them or download them one at a time. And once opened/downloaded, click on print.

The solution I am looking for is to be able to select several of them and send them to print.

 

Thanks in advance. 

Categories:
I have the same question (0)
  • ANB Profile Picture
    7,223 Super User 2025 Season 2 on at

    Hi @aorro933, Can you check this if this can help you. I tried option to download all in one click: https://powerusers.microsoft.com/t5/Building-Power-Apps/Download-All-Attachments-Button/m-p/2379640#M594008

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


  • aorro933 Profile Picture
    on at

    Thanks a lot for your answer! It's what I need  but how can I adjust it to my solution?

    I have a colecction with the selected files, this colecction has a column with the Sharepoint path. 

    How can I modify the code below to reproduce the behaviour?

    ForAll(
     LookUp(
     'PHOTO LIBRARY - CHINA',
     Title = DataCardValue11.Text
     ).Attachments As var,
     Download("https://luxedec.sharepoint.com/sites/workshop/_layouts/download.aspx?SourceUrl=/sites/workshop/Lists/PHOTO%20LIBRARY%20%20CHINA/Attachments/" & galList.Selected.ID & "/" & var.DisplayName)
    )

     Thank you

  • ANB Profile Picture
    7,223 Super User 2025 Season 2 on at

    @aorro933 , You want to download file from SharePoint Library or SharePoint List?

     

    Share the code that you have with screenshot.

     

    Thanks,

    ANB

  • aorro933 Profile Picture
    on at

    It's a folder in sharepoint, where I'm savind attachments. The folders are sorted by year and month so, the selected files inside the app can be stored in different folders. 

     

    I didn´t create a code for that yet. What I have is a collection created with the files selected by check boxes in the app. This collection has the Sharepoint ID and Path of the selected files. 

     

    Another functionality already created in the app, is to download the file (one by one) using a Launch link to the Azure Blob Storage where the files are also saved.

     

    Thanks

  • ANB Profile Picture
    7,223 Super User 2025 Season 2 on at

    @aorro933 , Apologies! But I didnt get it. You want to download the file from Azure blob or from SharePoint? Can you share the screenshot of UI? How you have the checkbox used? Is it in gallery? For me it is difficult to assume and give you the solution, because I cannot see your screen. 

     

    Thanks,

    ANB

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard