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 :
Small and medium business | Business Central, N...
Unanswered

Table is inaccessible due to its protection level.

(1) ShareShare
ReportReport
Posted on by 47
Hi everyone,
 
I'm building a page extension on the "Email Attachments" ListPart. When I try to access the table to loop through the email attachments, I encounter the following error:
 
'Table System.Email."Email Message Attachment" is inaccessible due to its protection level.'
 

I've considered alternative methods to implement this module. However, all my approaches lead back to the initial problem: I can't access the table due to its protection level.
 
My online search hasn't provided the answer I was looking for.
 
Is there a way to utilize the data from this table? I need to be able to read all the data and also delete records in the table.
 
Hopefully, there is someone who has already resolved this issue. :D
 
Kind regards,
 
Ries
I have the same question (0)
  • Gerardo Rentería García Profile Picture
    25,394 Most Valuable Professional on at
  • YUN ZHU Profile Picture
    96,039 Super User 2025 Season 2 on at
    Hi, unfortunately, there is no way...
     
    Thanks.
    ZHU
  • Saurav.Dhyani Profile Picture
    14,384 Super User 2025 Season 2 on at
    Hi,
     
    You cannot extend table which are marked Access to Internal.
     
    You can work it other ways like - Creating a table and then subscribe to table events to add data into custom tables.
     
     
    Regards,
    Saurav Dhyani

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,651

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 808 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 718 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans