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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Image Control

(0) ShareShare
ReportReport
Posted on by 5

Hi All , 

I am trying to implement the signature capture options in D365 finance and operations . 

I have Third party application which will send an string to an Extension table i need to convert it into image and show the image to the respective customer .

I have create one extension table and added in the CustTable form and on the event handler of the datasource that is selction control i want to read the string and covert into memory stream and  using image class and creating the image .

But i am geeting issue who to do i get the image control using from the form control .

Can please any one guide me on that 

Thanks !!

I have the same question (0)
  • Suggested answer
    huijij Profile Picture
    19,811 on at

    Hi Pushpsingh,

    Please try:

     System.IO.MemoryStream myStream = new System.IO.MemoryStream();
     Binary binaryImage;
     
     // stream goes to raw binary
        binaryImage = Binary::constructFromMemoryStream(myStream);
            
        // create a blank image and copy our binary data to the image format
        image = new Image();
        image.setData(binaryImage.getContainer());
            
        // copy the image data to the image control
        MyImage.image(image);

    docs.microsoft.com/.../images-form-grid

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans