Hi,
I'd like to be able to display the file contents in any Team. I'd like to be able to select the Team from a dropdown and have its contents displayed in a gallery. Is it doable? Solution must not use any premium connectors, and solution should be low code/ no code as much as possible. Thanks!!
Solved! Go to Solution.
@braydenlarson . Thank you for your reply and my apologies for the inaccurate wording. I only want to display list of files in a document library and NOT the contents of the file.
Hello Karimabdelrazek,
Currently there is no direct way to view the content of a File inside of a PowerApp application. The closest we have the PDF view Control which is designed explicitly for PDFs
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-pdf-viewer
There have been posts in the Ideas forum asking about this and while I have found one from last year marked as Planned it has not been implemented at this time.
If this is data for something like an Excel Spreadsheet, you can use a Gallery to grab a table of items as long as you make sure the spreadsheet has a table to pull from. The nice thing about this is you can technically have it show only identifiers and clicking on the gallery will then take you to a more details page where there is a display form that can show the full details of what is in each field(This works for any database source as well such as SQL or SharePoint).
However, if this is a Word document right now there is currently no method to pull the content of the word document into PowerApps(There is a get File content action for SharePoint to grab the file, but this does return information that would be readable to select).
You can always upvote/post your suggestion to the Idea's forum
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas
Here is a link to a similar ask:
Have a good day,
@braydenlarson . Thank you for your reply and my apologies for the inaccurate wording. I only want to display list of files in a document library and NOT the contents of the file.
Hello karimabdelrazek,
apologies, it clicked accept solution on accident.
if that is the case then all you need to do is select the document library as a datasource
You will just need to make sure you add the SharePoint Library into the app under your choices of datasource on the lefthand side when making the app
by doing this with a gallery you will see a list of items for the library in the Gallery
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
198 | |
176 | |
62 | |
34 | |
32 |
User | Count |
---|---|
344 | |
273 | |
111 | |
75 | |
59 |