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 / Access SharePoint's It...
Power Apps
Unanswered

Access SharePoint's Item Child Count from within PowerApps

(0) ShareShare
ReportReport
Posted on by 235

How can I access the "Item Child Count" column from a Sharepoint list from within PowerApps.

I am writing an app that provides a link in a gallery to another directory that is related to the gallery record.  The problem is there is nothing in the gallery that indicates whether the user has uploaded files to that directory, so rather than provide a link to an empty directory, I'd prefer to just display a message of "No Attachments" otherwise, if there is data, provide a link.

 

I can't think of a way to do this without examining the Item Child Count for the directory, something like

If (gallery.'Item Child Count' < 1, "No Attachments", Link)  except I can't access Item Child Count when creating the collection that is the datasource for the gallery.

Using a sharepoint connector to access the directory.

I've seen some examples out there using power automate but I really don't want to go there if possible.  Also, could a component be used to do something like this?  Some kind of stand-alone component that could accept a URL to a sharepoint directory and return Item Child Count (or other such columns)?

 

Any and all help and suggestions are appreciated... so brainstorming is encouraged!!

Thanks

 

Categories:
I have the same question (0)

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