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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

'Blob' is not a valid variable type in AL Report

(0) ShareShare
ReportReport
Posted on by 629

I need to create a Global Variable of type blob for a report but I'm getting this error --'Blob' is not a valid variable type--
After searching a bit I found people referenced the "Temp Blob" codeunit and I managed to import into the temp blob code unit using FromRecord().

My Question is. How do I reference the blob in temp blob as a field in the report?
Is there another way to create and use Blob variables in reports?

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    What’s the intention for the blob? If you look at the base app you have blob/media fields in tables. The contents of the blob/media is then drawn into the report. Like the company logo image

  • Hein Kruger Profile Picture
    629 on at

    I'm using the blob in my warehouse Lines to capture a signature. The problem is when there is no signature captured the report gives an error.

    The blob field is stored in the SetData on the report because the signature is used in the footer. My idea on AL side was to create a global blob field that will populate the company logo when the field is blank and it will hide the image by making use of a boolean on the report.

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

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 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans