web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Specifics of accessing...
Power Apps
Unanswered

Specifics of accessing the SharePoint Attachments Column

(0) ShareShare
ReportReport
Posted on by 19

I have been having trouble accessing the Attachments of a SharePoint Data source.

 

I have been receiving the error, "This Specified Column is not accessible in this context." I have one Gallery connected to a collection where it works, and another connected to a SharePoint List where it doesn't work. Both of these have the Exact Same Function in their On Select methods.

 

I've done a lot of looking and cant find the rule that govern if the Attachments are accessible or not. If anyone knows the rules and would be willing to share them, That would be very appreciated.

 

Thank you in advance.

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    152,843 Most Valuable Professional on at
    Re: Specifics of accessing the SharePoint Attachments Column

    Hi @AlekE ,

    Assuming you have attachments enabled in SharePoint (which is the default setting unless you have changed it), where are you getting this message ?

  • WarrenBelz Profile Picture
    152,843 Most Valuable Professional on at
    Re: Specifics of accessing the SharePoint Attachments Column

    Hi @AlekE ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution 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 Thumbs Up.

    Visit my blog Practical Power Apps

  • AlekE Profile Picture
    19 on at
    Re: Specifics of accessing the SharePoint Attachments Column

    Yes I have attachments enabled in SharePoint,

     

    The location of this error is in a Gallery with the SharePoint as it Data Source in the OnSelect method,

    I can seem to access every column except he Attachments Column

     

    I can seem to access it in another Gallery that has a Collection as a Data Source.

     

    That seems to be the only difference that I can find between the two.

  • WarrenBelz Profile Picture
    152,843 Most Valuable Professional on at
    Re: Specifics of accessing the SharePoint Attachments Column

    @AlekE ,

    The strange thing is that a collection does not contain attachments - are you sure it is not the other way around? How are you trying to show the attachments in the gallery ?

  • AlekE Profile Picture
    19 on at
    Re: Specifics of accessing the SharePoint Attachments Column

    I'm not showing the attachments directly  in the gallery, I'm Collecting it into a collection and assigning it an additional value so it can be displayed on a different screen. 

  • Verified answer
    WarrenBelz Profile Picture
    152,843 Most Valuable Professional on at
    Re: Specifics of accessing the SharePoint Attachments Column

    @AlekE ,

    As I mentioned, a Collection does not contain the attachment file content. You need to access it by looking up the data source (example it an item in a Gallery formed by this collection is selected, to view the first attachment with this in the Image of an Image control

    First(
       LookUp(
          SPList,
          ID = GalleryName.Selected.ID
        ).Attachments
    ).Value

     

    Please click Accept as solution 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 Thumbs Up.

    Visit my blog Practical Power Apps

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard