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

Send Images From Business Central to Dataverse

(0) ShareShare
ReportReport
Posted on by 47
Dear Experts, I have got assigned a task to make an API's that will send the Items with the picture field, Also I am taking the attached pictures and make them as a catalog for the item in a custom table 
 
table 50023 /XEE Item Picture Values/
{
    Caption = 'Item Picture Values';
    DataClassification = ToBeClassified;
 
    fields
    {
        field(1; /Entry No./; Integer)
        {
            Caption = 'Entry No.';
            DataClassification = CustomerContent;
        }
        field(2; Description; Text[100])
        {
            Caption = 'Description';
            DataClassification = CustomerContent;
        }
        field(3; /No./; Code[20])
        {
            Caption = 'No.';
            NotBlank = true;
        }
        field(4; /Document Reference ID/; Blob)
        {
            Caption = 'Document Reference ID';
        }
                field(50001; Base64; Text[2048])
        {
            DataClassification = ToBeClassified;
        }
    }
 
   
    keys
    {
        key(PK; /Entry No./)
        {
            Clustered = true;
        }
    }
   
    trigger OnInsert()
    var
        myInt: Integer;
    begin
       
    end;
}
 I am doing it this way because powerautomate(using Get an image, file or document (V3)) cant detect the Media it cant detect the BLOB
So is there a way to convert from Media to Blob? or is there a way to send the Media as base64(when sending Media, Dataverse receive it as GUID)
 
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    97,970 Super User 2026 Season 1 on at
    Hi, hope the following can give you some hints.
    How to convert Image (item picture) to encoded text (Base64 String) via AL
    https://yzhums.com/40077/
     
    Thanks.
    ZHU

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,161 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,046 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 932 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans