Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Unanswered

Table is inaccessible due to its protection level.

Posted on by
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
Categories:
  • gdrenteria Profile Picture
    gdrenteria 4,883 Super User on at
    Table is inaccessible due to its protection level.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans