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 / Show only items withou...
Power Apps
Answered

Show only items without folders in a delegable way

(0) ShareShare
ReportReport
Posted on by 1,811 Super User 2024 Season 1
I have a SharePoint custom list which has one folder and many items, then i am showing the items inside a gallery:-
 
SortByColumns(Filter(ClientForms,
 
 StartsWith('Client Full Name',TextInputCanvas1.Value)
 ||
 StartsWith('Email Address',TextInputCanvas1.Value)
 ||
 StartsWith('Contact Number',TextInputCanvas1.Value)),"Created",SortOrder.Descending)
 
 
but i will always get the folder as empty item inside the gallery, so how I can remove it in a delegable way?
Thanks
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,049 Most Valuable Professional on at
    Your posted picture is blank, so I cannot see the issue, however I believe you are referring to a SharePoint Library (not a List). Assuming that 'Client Full Name', 'Email Address' and 'Contact Number' are Single Line of Text fields, that filter should be Delegable if 'Client Forms' is the Library name. However it is not Delegable if 'Client Forms' is only a folder inside the Library as the FolderPath (of which it is part) is not Delegable.
     
    Please ✅ 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 answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  
     
     
  • johnjohnPter Profile Picture
    1,811 Super User 2024 Season 1 on at
       the 'Client Forms' is a custom list which contain folder.. so how i can exclude folders from the Filter formula i have@WarrenBelz
  • Verified answer
    WarrenBelz Profile Picture
    153,049 Most Valuable Professional on at
    If you are asking whether you can exclude folders from the records returned in a Delegable way, the answer is no as IsFolder (or !IsFolder) is not Delegable.
    What you can do however, which is useful for other things is store the folder path, file name and in your case a item type in Text fields in the metadata - the Flow looks like this
     
    and then you can filter using
    SortByColumns(
       Filter(
          ClientForms,
          FolderOrFile = "File" &&
          (
             StartsWith(
                'Client Full Name',
                TextInputCanvas1.Value
             ) ||
             StartsWith(
                'Email Address',
                TextInputCanvas1.Value
             ) ||
             StartsWith(
                'Contact Number',
                TextInputCanvas1.Value
             )
          )
       ),
       "Created",
       SortOrder.Descending
    )
    You can then also filter with some Delegation on files or folder names.
     
    It also should be easy enough to "back populate" with Edit in Grid View
     
    Please ✅ 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 answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  
     
  • WarrenBelz Profile Picture
    153,049 Most Valuable Professional on at
    A quick follow-up to see if you received the answer you were looking for. Happy to assist further if not.
     
    Please ✅ 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 answering Yes to Was this reply helpful? or give it a Like â™¥
    Visit my blog
    Practical Power Apps    LinkedIn   

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard