Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

Cannot access Blob field from system table

Posted on by 25

Hello everyone,

I am working on a personal project where I want to see the code behind the objects from my database.

In order to do that, I created a page (source table "Application Object Metadata") with the following code for the OnOpenPage trigger:

pastedimage1639346485241v1.png

And everything works good.

But if I try to do the exact same thing with a Record Variable for table  "Application Object Metadata" instead of using Rec, I get an empty String...

pastedimage1639346771671v2.png

It's the exact same code but the first time I get the expected output and the second time I get an empty String.

Does anyone know why ?

Categories:
  • Andy Sather Profile Picture
    Andy Sather on at
    RE: Cannot access Blob field from system table

    Thank you for replying the answer for the community

  • Verified answer
    Bogdan Blaga Profile Picture
    Bogdan Blaga 25 on at
    RE: Cannot access Blob field from system table

    I just found the answer, it is written in the documentation: "It is not supported for a page to access a BLOB field from a table other than the SourceTable of the page."

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans