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 / 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

 

ItemChildCount_2023-03-17.png
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

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 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard