Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

The column you specified is not accessible in this context

Posted on 28 Nov 2024 17:59:32 by 16
Hi All 
 
I'm facing a problem. 
I'm trying to get attachments of multiple records in a SharePoint list
 
My SharePoint list is named "DocList"
I have a Gallery named DocListGallery that contains 10 records of "DocList" 
 
I want to get Attachments of each of 10 records and store it on a collection named AttachmentsFilesCol 
 
Here's what i've made :
 
 
Clear(AttachmentsFilesCol);;
ForAll(
    DocListGallery.AllItems As Item;
    Collect(
        AttachmentsFilesCol;
        First(Item.Attachments)
    )
)
 
This is not working as i'm receiving an error "The specified column attachments is not accessible on this context"
The First() property is because i autorize only 1 attachment per record  so in my case i can use First. 
 
Thanks for your help because it's annoying :(

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,151

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,845

Leaderboard