Hi all,
Wondering if anybody has been able to pack an image or other binary
file into an AxaptaBuffer and then into an AxaptaContainer?
I can do:
AxaptaRecord record = Axapta.CreateAxaptaRecord("SrmMediaFile");
AxaptaContainer byteContainer = Axapta.CreateAxaptaContainer();
AxaptaBuffer buffer = Axapta.CreateAxaptaBuffer();
byte[] data = MediaFileValueConverter.GetFileData(MediaFile);
buffer.SetData(data);
byteContainer.AddRange(buffer.GetData());
and insert it into the database but then i can't seem to get the
stored image to display back in the client.
any help is much appreciated.
regards,
roland