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...
Suggested Answer

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

(0) ShareShare
ReportReport
Posted on by 666

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?

  • Suggested answer
    JAngle Profile Picture
    159 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
    666 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 728 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 545 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 328 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans