Open Image using Temp Blob codeunit

jimmyfjimmyf Member Posts: 104
Hi
I have code on a page in NAV that uses the TempBlob record to open an image.

CALCFIELDS(Image);
IF Image.HASVALUE THEN BEGIN
FileName := AppSetup."Temp Image Path" + "Document No." + "Image Extension";
TempBlob.Blob := Image;
FileName := FileManagement.BLOBExport(TempBlob,FileName,FALSE);
HYPERLINK(FileName);
END;


I need to refactor this to work in Business central. How can I do this using the tempBlob codeunit?

Thanks
Sign In or Register to comment.