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 / Delegation sharepoint ...
Power Apps
Suggested Answer

Delegation sharepoint document library

(1) ShareShare
ReportReport
Posted on by 122
Hi 
 
I am using the following filter on a powerapps gallery to view attachments from a folders in a sharepoint document library.
 
Filter('Requisition Folders', 'Folder path' = "Requisition Folders/" & DCReqNumberMainView.Text &"/")
 
There are now over 7000 folders in the library so i am struggling with delegation. 
 
Can anyone advise or point me in the direction of a reliable way to overcome this issue. 
 
Chris 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,369 Super User 2025 Season 2 on at
    Hi,
     
    Please, provide screen shots of your actual issue, as I see nothing up there that gaurantees delegation issues.
     
    However, as a total guess of your issue do this.
     
    With(
         {FolderPathValue:  "Requisition Folders/" & DCReqNumberMainView.Text &"/" },
           
         Filter('Requisition Folders', 'Folder Path' = FolderPathValue)
    );
     
     
    Now that being said, if you still have an issue, then we have to make it so that instead of using strings, we would need to create a Numeric representation of the path to search on
     
     
     
  • WarrenBelz Profile Picture
    153,073 Most Valuable Professional on at
    You will continue to struggle with Delegation if you are trying to filter on the Folder Path or File Name, which are simply not Delegable. You need to add some Text fields to the Library and populare them with the relevant data (you can do this with a Flow when the file is created) and then your queries will be Delegable using either equals (as in your example) or StartsWith()
     
    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee
  • Suggested answer
    Ravindra Jadhav Profile Picture
    342 Moderator on at
    Hii,

    Delegation sharepoint document library

    As @WarrenBelz Mention 
    You need to create text type column in your document library and then search the name of that folder in that text type column and also you can take help of power automate flow to create the text column in your document library 
     
     
    Please Closed the Question, Mark it Solved 
     
    If my answer helped resolve your issue, please consider marking it as solved to assist others facing the same problem. Additionally, giving it a like would be greatly appreciated and motivates us to keep helping
     
    Thank You
    Ravindra Jadhav

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard