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

Announcements

No record found.

News and Announcements icon
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
    26,790 Most Valuable Professional on at
  • YUN ZHU Profile Picture
    100,974 Super User 2026 Season 1 on at
    Hi, unfortunately, there is no way...
     
    Thanks.
    ZHU
  • Saurav.Dhyani Profile Picture
    14,419 User Group Leader 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

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,086 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,290 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,218

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans