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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Need to get selected f...
Power Apps
Unanswered

Need to get selected folder from sharePoint displayed on Gallery in power Apps and navigate it from there to see the items inside

(0) ShareShare
ReportReport
Posted on by 62

I am having trouble navigating to the next the folders and items once I filtered the folder I want from SharePoint, but it was working fine when that folder wasn't filtered , any help would be greatly appreciated,

 

SP1.pngSP2.pngSP23.png

Categories:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @milan6412 

    According to your screenshot , you could not put the &"Test/"   in your Gallery -items.

    If you need to show the Test folder when you enter the app , you need to put this in your App-OnStart:

    Set(variablepath , "Shared Documents/Test/");
     
    In your Gallery -items:
    Filter( Documents ,'Folder path' = variablepath )
     
    In your OnSelect :
    If(ThisItem.IsFolder,Set(variablepath , ThisItem.'Full Path' & "/" ) ,xxxxxxxx....  )
     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

  • uchiha1234 Profile Picture
    62 on at

    Set(variablepath , "Shared Documents/Test/");

    Filter( Documents ,'Folder path' = variablepath )

    yes I have set it like that earlier but still when am trying to go to the next folder it won't allow me to.

     

    Set(variablepath , "Shared Documents/"); 

    when it was set like this I can navigate through folders and files, once it's set to specific folder , I won't be able to go from there 

  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @milan6412 

    Thanks for your response! I test it in my side, it works well. 

    Before I select the icon:

    vyueyunmsft_1-1715741579481.png

    When i select the icon:

    vyueyunmsft_2-1715741597673.png

    You can move your mouse to the variable to check if the variable get the correct data in your side.

    vyueyunmsft_3-1715741636832.png

     

    And this do not support delegation, so you need to ensure the document have less then 2000 files.And you can also first check if you have set to 2000:

    vyueyunmsft_5-1715741766007.png

     

     

     

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 936

#2
Valantis Profile Picture

Valantis 604

#3
11manish Profile Picture

11manish 518

Last 30 days Overall leaderboard